ESP32: unable to set up RTC usermode

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!

Usermods needs to configured

I have included the RTC usermod in my build options, but after installation/upload the RTC usermod does not show up in any menu. If you have successfully uploaded in the ESP32 where do you configur it?

Depends on the usermod. It may not have any configuration.

ok, thanks :slight_smile:
it’s probable that the source of the problem is that I am underpowering the RTC module with 3.3v instead of 5V. I will check it out.
By the way, it would be really useful having a list of all usermods installed. In the GUI I noticed that there are usermods listed from a previous upload and even if the in the current binary some usermods are not included, they are still listed as if they are active. This can be confusing sometimes, especially when trying different usermods until you know which one fits.

Usermod content is in the domain of users/authors that created them. Please contact respective authors to add such info.