-
Notifications
You must be signed in to change notification settings - Fork 9
Improve ADC input handling for TTGO LoRa32 V1 #40
Comments
In https://github.com/LilyGO/TTGO-LORA32/blob/master/schematic1in6.pdf on sheet 4, there are two input dividers - R42/R43 and R44/R45 for VBAT connecting to IO35. Chances are that one of them has wrong labels and is actually connected to VBUS and a different ADC input (IO34 would be a good candidate). Opened issue LilyGO/TTGO-LORA32#35 |
@mczakk Is it possible to connect a power supply to the battery connector and check if you can get a plausible voltage reading from IO34? |
If IO34 is not connected:
|
@franki29 Maybe you can help to figure this out? |
I'll be honest, I have no idea! Don't even know where the battery connector is. Or how I would get a power supply to it 😱 |
Hi, took me some time to get the right parts to test. To test it I took a normal ESP 32 for testing and a voltage regulator bord. |
@franki29 Thanks for the quick answer, but my question was targeted to the TTGO LoRa32 specific power supply and ADC input circuit design. In general, I know how to use the ADCs and how to get calibrated conversions. |
Oh sorry, I did not read the full issue, sorry. I have a board like this one https://polluxlabs.net/arduino-tutorials/daten-per-lora-senden-und-empfangen-mit-dem-ttgo-lora32-board/ and I think it is a clone. There are no resistors between the Battery connector and the ADC, none of them. (Measured by a Ohm Meter) So basically to add two 100K like you proposed in this issue should work. |
Actually VBAT is provided to the ADC and should be used as uplink data and for checking the supply voltage.
There is no separate supply voltage measurement by default.
The text was updated successfully, but these errors were encountered: