I have bought this Gravity: I2C DS1307 RTC Module:
I cannot make it work. I set the pins with the default values:
ESP32: GPIO 21 (SDA)/GPIO 22 (SCL)
My build options are:
-D USERMOD_RTC
-D USERMOD_AUDIOREACTIVE -D AUDIOPIN=36 -D SR_DMTYPE=0 -D SR_SQUELCH=9 -D SR_GAIN=40
-D USERMOD_FOUR_LINE_DISPLAY -D FLD_PIN_SCL=22 -D FLD_PIN_SDA=21
-D USERMOD_ROTARY_ENCODER_UI -D ENCODER_DT_PIN=12 -D ENCODER_CLK_PIN=14 -D ENCODER_SW_PIN=13
-D USE_ALT_DISPlAY
-D USERMOD_AUTO_SAVE
-D USERMOD_BATTERY -D USERMOD_BATTERY_USE_LIPO -D USERMOD_BATTERY_TOTAL_CAPACITY=1200 -D USERMOD_BATTERY_LOW_POWER_INDICATOR_ENABLED -D USERMOD_BATTERY_LOW_POWER_INDICATOR_THRESHOLD=10 -D USERMOD_BATTERY_MEASUREMENT_PIN=35
; PIN defines for 2 wire LEDs
;-D CLKPIN=0
;-D DATAPIN=2
-DWLED_USE_MY_CONFIG
lib_deps = ${esp32.lib_deps}
https://github.com/blazoncek/arduinoFFT.git
olikraus/U8g2 @ ^2.34.22
${esp32.AR_lib_deps}
Wire
I don’t know if it matters, I have also connected the display to these pins.
Another suspicion is that it says it needs 5v, but via the board I have connected it to the 3.3v
Is there a way to see in the GUI:
a) if the usermod is successfully installed (some menu configuration?)
b) if the RTC module is indeed connected with the ESP32?
thanks!