Voltages on MEAS, Bat reads 0, RTC ERR

On Fri, Mar 20, 2026 at 8:48 AM, Chuck Merja <chuckm@3rivers.net> wrote:

First name:: Chuck

Last name:: Merja

Email:: chuckm@3rivers.net

Support Subject:: redboard iot esp32 WRL-19177

Support Topic:: Other Support Inquiry

Product SKU Number: : WRL-19177

How can we help you?: on recent order, i attempted RTC and CO2 and OLED, SD card CO2 datalogger - with 3.7 v bat and battery level measurment enabled I was having trouble - could never see the RTC, but could read the CO2 - on the Qwiic. So removed ALL the sensors and did some measurements…with all sensors unattached, 3v3 reads 3.3, 5v reads 4.95, both sides MEAS reads 4.95, "BAT+ reads 4.3, BAT- reads 0 all to ground.
it looks like the MEAS is attached to the 5v rail??? how is that possible??

What RTC are you using?

1 Like

RTC = SparkFun Real Time Clock Module - RV-1805 (Qwiic) - SparkFun Electronics

Interesting, Gemini said connect 2 pads @ MEAS to measure bat voltage. Pretty sure i uploaded wiring info… ill check.

That RTC should work, there may be issues with your code or the library for the RTC.

Check the sparkfun documentation for MEAS. AI frequently gives incorrect or misleading answers to technical questions. Your best bet is to RTFM.

The MEAS jumper is connected by default, to make use of it you’ll sever the trace between the pads and solder 2 leads from whatever is performing the measurement to each side/pad

There’s also a lipo fuel gauge on the board at i2c address 0x36 if that helps

Does the RTC sketch work if you hook it up by itself?

Well, Gemini and I may have killed a couple RedBoards :o( more on that later, when i check them out more thoroughly - i cut the MEAS, and now an orange LED lights up briefly.
BUT on to the ā€œnewā€ problem - i unwrapped a NEW RedBoard ESP32 IoT, hooked up RTC and RAN Sparkfun Example, 1 - TimeSet. It does NOT see RTC. So, I ran a simple I2C scanner, and it will see the CO2, OLED, pawerMax addresses and it sees the RTC as 0x69, not 32. There is no power light on the RTC. but there is one the CO2.

So I removed the RTC and i can read CO2, bat voltage and run off a 3.7v bat and/or USB. The code to do that pulls GPIO 5 HIGH to read I2C. Now I want to write to the onboard SD and it requires GPIO 5 pulled LOW to write to the SD. I previously found that the CS for SD card is NOT 10. I get this solution from Gemini AI…You are absolutely right to pause. We have arrived at the GPIO 5 Paradox, and if we aren’t careful, adding the SD card will kill the stability we just achieved.

:warning: The GPIO 5 Conflict (Refreshed)

As per the schematic, GPIO 5 on your RedBoard IoT is tied to two things:

  1. SD_CS (Chip Select): The signal that tells the SD card ā€œI am talking to you.ā€

  2. Peripheral Power Enable: The FET that turns on the 3.3V rail for your CO2 and OLED.

The Problem: The SD library usually pulls the CS pin LOW to start communication. On your board, pulling Pin 5 LOW cuts the power to your sensors.

:hammer_and_wrench: The ā€œSafeā€ Integration Strategy

To make this work without the bus crashing, we have to treat the SD card like a ā€œguestā€ that briefly borrows the power line.

  1. Hold HIGH by Default: We must keep Pin 5 HIGH at all times to keep the CO2 sensor and OLED alive.

  2. The ā€œPre-Flightā€ Check: We read the sensors first, then briefly open the SD card, write the data, and immediately close it so Pin 5 can return to HIGH.

RTC hooked up by itself should be lit up and detected @ 0x69, is it?

I’d just use a different GPIO to avoid the double-use conflict…there are many others (but also, I though you were using qwiic/i2c?)

When I bought these boards, I assumed that i could use the QWiic sensors and the BUILTIN SD card slot, but Im at a loss for how to use them together, without fancy ā€œpin gymnasticsā€ā€¦

Please advise me how to do this (use builtin SD card AND QWiic sensors), because… GPIO_5 is hardwired ….the physical traces on your SparkFun IoT RedBoard are permanently soldered from the ESP32 chip to the built-in SD slot using GPIO 5.

  1. If you use the Built-in Slot: You are physically forced to use GPIO 5. No matter what you tell the code, the electricity still flows through that trace, which is also connected to the Power FET. Reassigning the pin in code won’t ā€œun-wireā€ the board…

Re RTC, if i use an i3c scanner, RTC shows up as 0x69, but when i use the Sparkfun example in RV8803 library, it says RTC not found…. so is th e library looking for the RTC on another address??

Upon checking… the *.h in library…

ā€œ/The 7-bit I2C address of the RV8803
#define RV8803_ADDR 0x32ā€

So, yes, the scanner finds it as 0x69, but the library is looking for 0x32… im not impressed.

EDIT::: I changed 0x32 to 0x69 in .h file and bam! RTC now working.

thank you @YellowDog , the library had the wrong address, so i got that fixed. ty

1 Like

@YellowDog , ty re RTC, but GPIO 5 is still an issue, could you look below… GPIO 5 is hardwired to CS on SD and controls power on 3v3, so how can i use QWiic sensors AND the onboard SD card at the same time?

I’m not seeing in the schematic where GPIO5 controls power to anything. I2C power comes directly from the 3.3 volt supply and that should always be on.

I have seen some SD cards require a lot more current than the board expexts, those can cause a dip in voltage on the 3.3 volt bus and that could cause some I2C devices to reset or hang.

You might try a variety of SD cards and see if one works better than another.

A sketch that scans the I2C bus while performing read/writes to the SD card would be a good test for different cards to weed out problematic ones.

Hi @chuckmerja ,

In your post above, you said you were using a RV-1805 RTC. Yet, in your later posts, you refer to the library for the RV-8803. Those are two similar but different devices:

RV-1805 has a shifted I2C address of 0xD2 / 0xD3 Hexadecimal. The actual unshifted address is 0x69 Hexadecimal = 105 decimal. (The unshifted address gets shifted left by one bit, to ā€˜make room’ for the Read/!Write bit.)

RV-8803 has a shifted address of 0x64 / 0x65. The unshifted address is 0x32 Hexadecimal = 50 decimal.

The address you changed in the RV-8803 library was correct - for the RV-8803. For the RV-1805, you should be using the RV-1805 library. It uses the correct address 0x69 - for the RV-1805.

I suggest you correct your posts, so you don’t mislead more readers.

Also, to echo @YellowDog 's comment, the IoT RedBoard ESP32 GPIO5 is connected to microSD CS and a breakout pad only. It does not control any part of the power circuit. AI has completely misled you there.

I hope this helps,
Paul

1 Like