-
Notifications
You must be signed in to change notification settings - Fork 104
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
HELP - ESP32 and PiJuice Zero #1079
Comments
If you only need the charge level, it can certainly be done with an esp32 using i2c. |
I can share the C code based on Arduino Wire Library on esp32 for collecting almost all the metrics from the pijuice board. I am currently using a combination of esp32c3 and pijuice for one of my projects. So, I have already coded the status functions using the wire library. @SerinoA9 you can let me know what information you need to retrieve from the pijuice board through I2C, and I can possibly share the code and explain it a bit. |
Guys thanks so much for your answers and time. @uGiFarukh Thank you in advance for your patience. I am trying to retrieve the battery charing level from the Pijuice through the I2C protocol. |
Sorry for the late reply @SerinoA9. First make sure you have the SDA and SCL line on the XIAO esp32s3 pulled up with around 10k resistor to 3.3V. Pin D4 and D5.
NOTE: These implementations are no way meant for production usage. |
Thank you so much @uGiFarukh. |
Hello,
I have a question I would like to understand..
Would it be possible for me to communicate to the Pijuice using an esp32 maybe through the i2c protocol? Is there a documentation anywhere or it is impossible to do?
I know for use I need a Raspberry to communicate with the Pijuice, but I would like just to get the battery level using Pijuice without the need of implementing a Raspberry. I just wanna do it with an esp32.
is that even possible?
Thank you in advance for your time.
The text was updated successfully, but these errors were encountered: