-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal voltage level controll #193
Comments
pin35 is the internal battery monitoring pin. you should validate that the battery is read correctly on the board before you put the monitoring process. if it works Fine, the monitoring process should validate that the voltage is higher than the SleepVoltage and if lower it will sleep so first: check that the board reads the battery voltage |
How to properly connect voltage to contact 35? |
You don't need to do anything. The internal voltage is internally connected on the board, the voltage divider is already on the board and the measurement should work without any modifications. As @richonguzman says, disable voltage monitoring for now for easier troubleshooting until you get a valid voltage reading. Enable "Send internal voltage" and observe if the screen shows 3.6V or similar. If it shows 0V, you have two options: a) you didn't flash the correct firmware for this board and the power management chip is not detected The external voltage divider is only for external voltage measurements via pin 34. |
Try to monitor USB during boot (using VS Code) and see if the power management chip is detected correctly. (my point a) above)., |
@S57PNX What is your firmware date? |
For this example I used the latest firmware, 2024.11.6. But any other firmware from earlier this year should work, the voltage measurement code is old and hasn't changed in a long time. |
@S57PNX and still this function does not work correctly ... |
This is not the best solution. |
we have to stop and make this post a little more clear: @RA3TOX , can you please confirm:
if (1) is YES, then..
|
@richonguzman |
it seems your board is bad.. as it should read battery voltage on pin35 with battery connected. |
Possibly. |
this is reading the pin directly (and you have to multiply by two and add a minor correction for the board to get the real value) the lora32v2.1 board has internal 1/2 voltage divider with two 100K resistors. So @S57PNX is having a correct reading of the voltage it enters pin35 |
Tell me, how is the internal voltage level controlled?
I enabled the monitoring option, but it goes into sleep mode. The internal voltage shows 0.
My board is LILYGO®TTGO LoRa32 V2.1_1,6 433 МГц and is powered by a 3.6 V battery through a standard connector.
Now I have no access to the device and cannot reprogram it.
What should I do?
The text was updated successfully, but these errors were encountered: