QUESTION-Help appreciated - ESP32 with ADXL345 with a LIPO charging breakout.
Posted: Thu May 20, 2021 6:27 am
Hello all. I hope someone can point me in the right direction or better yet give me some advice that gets me over this hurdle.
I am creating a project that uses a ESP-WROOM-32U microcontroller, a ADXL345, and a Adafruit LIPO charging break out board.
So, what I know. I managed to get everything working at least it appeared as if it was on my breadboard. Went to put it in place on a prototype board and I have been racking my brain for over 15 hours.
I want to use a single USB cable to charge the LIPO through this charging board, and I want to communicate with the Microcontroller. I loaded test code on module then attached the ADXL and it worked fine. Then I added that LIPO charging module and instead of coordinates as I expected I am getting garbage. When I look at the 115200 baud rate communication it shows a button press reset happening very very fast. Disconnect the charging board and it works fine.
My wiring is rather simple. I have the micro usb in the controller and the communication wires linked to my standard USB plug then the power on that standard USB plug goes to the 5V and ground on the charger board and then jumps over to the controller from the +Bat and GND pins...then the ADXL is hooked to pins 21, 22 and 33, 33 is for interrupt. Power for it comes from 3.3 and GND as normal.
So my question. What am I missing. I know it is hard without pictures or schematics. I am working on the later but it is late. Thought I would ask before sleep.
I will mention that on the breadboard I was using a step down module. BUT this particular MC looks as if it would be fine without it...
Thoughts and advice would be greatly appreciated.
Thanks.
I am creating a project that uses a ESP-WROOM-32U microcontroller, a ADXL345, and a Adafruit LIPO charging break out board.
So, what I know. I managed to get everything working at least it appeared as if it was on my breadboard. Went to put it in place on a prototype board and I have been racking my brain for over 15 hours.
I want to use a single USB cable to charge the LIPO through this charging board, and I want to communicate with the Microcontroller. I loaded test code on module then attached the ADXL and it worked fine. Then I added that LIPO charging module and instead of coordinates as I expected I am getting garbage. When I look at the 115200 baud rate communication it shows a button press reset happening very very fast. Disconnect the charging board and it works fine.
My wiring is rather simple. I have the micro usb in the controller and the communication wires linked to my standard USB plug then the power on that standard USB plug goes to the 5V and ground on the charger board and then jumps over to the controller from the +Bat and GND pins...then the ADXL is hooked to pins 21, 22 and 33, 33 is for interrupt. Power for it comes from 3.3 and GND as normal.
So my question. What am I missing. I know it is hard without pictures or schematics. I am working on the later but it is late. Thought I would ask before sleep.
I will mention that on the breadboard I was using a step down module. BUT this particular MC looks as if it would be fine without it...
Thoughts and advice would be greatly appreciated.
Thanks.