Page 3 of 24
Re: WIFI SCAN AND ACQUIRE OLED
Posted:
Fri May 29, 2015 11:55 am
by danbicks
I will keep you posted on developments, I already have the serial interface fired up and working, ESP receives some data and responds to a given serial command
. Not the method I wanted to use but works for my purposes.
Dans
Re: WIFI SCAN AND ACQUIRE OLED
Posted:
Fri May 29, 2015 6:25 pm
by rarbolay
First of all Dans, thanks for your brilliant work. Sadly, it does not work for me. I connected as shown (ESP-01) and loaded the code using the Arduino IDE (1.6.4). It loads with the error " warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]" repeated multiple times and nothing happens when I return the ESP to regular mode (GPIO0 connected to SCL instead of GND).
I can run an LCD test program on the LCD with an Arduino UNO and it runs fine, yet it does nothing with the ESP. I open the serial before booting up the ESP and get a string of garbage for a second or so, then nothing. Any clues?
Re: WIFI SCAN AND ACQUIRE OLED
Posted:
Sat May 30, 2015 5:07 am
by danbicks
Hi Rarbolay,
The warnings in the IDE are normal so don't worry about these.
Swap your I2c pins around the other way SDA of the display connects to GPIO-0
//Wire.pins(int sda, int scl), etc
Wire.pins(0, 2); //on ESP-01.
The garbage on boot is normal old ESP8266 boot up message, RS232 should be set to 115200 baud rate.
Hope this helps, keep me posted.
Dans
Re: WIFI SCAN AND ACQUIRE OLED
Posted:
Sat May 30, 2015 1:38 pm
by rarbolay
Thanks Dans. It took so long to approve my post that I got it to work, sort of. I have random pixels now. I swapped the ESP-01 and it started working ( serial messages all good, connects to my network) just get random pixels in the screen.