the oled screen
worked great right out of the box.
i just changed the code to change font format.
it displayed great over a two day period.
i even had it outside on a sunny day for a few hours.
it was displaying results just fine.
when i went back out to get everything the screen stopped displaying anything.
i had the whole setup powered with a 6 volt solar panel.
to ensure i was getting enough power to the screen
i even hooked it up to a variable voltage dc power supply and still no luck.
i didn't have to use any i2c scanner to get it started.
i used the link above to troubleshoot it.
it said no i2c device found...
i didn't use any pull up resistors based on what i read on other posts.
i've confirmed that the
step down converter
3.3 volt arduino pro micro are in working order.
also 3.3 volts are being sent to the screen itself.
i've confirmed all this by measuring voltage via my multimeter.
i've confirmed that it's plugged into the correct wiring as shown in pictures.
ironically enough maybe i was seeing things
but i had the sda and scl wires switched backwards and it was working before.
the screen went out during this time.
i had bought two screens just in case and the 2nd one isn't working either.
i've tried both configurations:
i had the sda and sdl wires backwards
the sda and scl wires are in correction orientation.
can anyone assist as to what the issue may be? thanks.
if anyone wants the cad models for using on their projects
the
3.3 volt step down converter
enclosure
bts7960 h-bridge motor driver
are here:
The current supplied by the Vcc pin should be enough to power the OLED screen.
I used the code below and powered the screen with the Vcc and ground pin of the Arduino MKR1000.
Have the MKR1000 hooked up to pc via USB port.
The code is working and the led screen is displaying properly.
#include <Arduino.h>
#include <U8g2lib.h>
#include <SPI.h>
#include <Wire.h>
U8G2_SSD1306_128X32_UNIVISION_F_HW_I2C u8g2(U8G2_R0);
void setup(void) {
u8g2.begin();
}
void loop(void) {
u8g2.clearBuffer(); // clear the internal memory
u8g2.setFont(u8g2_font_logisoso28_tr); // choose a suitable font at https://github.com/olikraus/u8g2/wiki/fntlistall
u8g2.drawStr(8,29,"MYBOTIC"); // write something to the internal memory
u8g2.sendBuffer(); // transfer internal memory to the display
delay(3000);
u8g2.clearBuffer(); // clear the internal memory
u8g2.setFont(u8g2_font_logisoso28_tr); // choose a suitable font at https://github.com/olikraus/u8g2/wiki/fntlistall
u8g2.drawStr(31,24,"your"); // write something to the internal memory
u8g2.sendBuffer(); // transfer internal memory to the display
delay(800);
u8g2.clearBuffer(); // clear the internal memory
u8g2.setFont(u8g2_font_logisoso28_tr); // choose a suitable font at https://github.com/olikraus/u8g2/wiki/fntlistall
u8g2.drawStr(10,29,"robotic"); // write something to the internal memory
u8g2.sendBuffer(); // transfer internal memory to the display
delay(800);
u8g2.clearBuffer(); // clear the internal memory
u8g2.setFont(u8g2_font_logisoso28_tr); // choose a suitable font at https://github.com/olikraus/u8g2/wiki/fntlistall
u8g2.drawStr(4,29,"solution"); // write something to the internal memory
u8g2.sendBuffer(); // transfer internal memory to the display
delay(2000);
}
Also I'm not trying to bother anyone intentionally by typing in caps.
Don't want to get banned if it seems to be against forum rules.
It really is nicer for me to read.
Can't zoom text on my laptop inside of Arduino 1.8.3 program on Windows 10 while I code.
Maybe someone knows how other than magnifying glass Windows accessibility option on Windows 10.
Can't zoom text on my laptop inside of Arduino 1.8.3 program on Windows 10 while I code
In your Arduino IDE go to menu File->Setup (or configuration, my IDE is in Italian so I don't know the right English term used) and choose a bigger font size. If you like you can even choose your favorite text editor, just mark the "use external editor".