Forum Replies Created
-
AuthorPosts
-
cherokeecruiser2ParticipantThe RTC module SDA and SCL pins connect to the same I2C pins as the Display, along with power and ground.
You are correct that the address is different for the RTC module. The firmware identifies which type of RTC is present.
I used a DS3231 module, and have also tried a DS1307 as well. Both worked perfectly
cherokeecruiser2ParticipantHi,
When I first loaded the firmware onto an ESP32, I didn’t have a RTC module connected. It functioned fine, got the time from the NTP server, but after a while it behaved in a similar manner as described. I can’t remember if it was the same date as you were getting, but it didn’t happen anymore after I connected a working RTC module. Not sure if that helps….
cherokeecruiser2ParticipantHi,
Thanks for all the effort of porting to the ESp32.
I have an ESp32 WROOM with external OLED on pins SDA 21 and SCL 22. Everything compiled without errors, but after it uploaded, it would only continually reboot and never start.
I have modified a small piece of code in mainArduino
The Original Code:
#if defined(ESP32) int i; unsigned int pin_list[] = ON_BOARD_GPIN_LIST; for( i=0; i<7; i++ ){ if(pin_list[i] !=255){ pinMode(i, OUTPUT); digitalWrite(i, ~STATION_LOGIC); } }
Changed to this:
#if defined(ESP32) int i; unsigned int pin_list[] = ON_BOARD_GPIN_LIST; for( i=0; i<8; i++ ){ if(pin_list[i] !=255){ pinMode(pin_list[i], OUTPUT); digitalWrite(pin_list[i], ~STATION_LOGIC); } } #endif
I believe the original code was potentially setting pins 6 and 7 which on this version of ESP32 are connected to the integrated SPI flash, and causing the crash reboot cycle.
It now works perfectly for me – hope it helps for someone else
-
AuthorPosts