Hi everyone,
i am currently having issues with my pro trinket 5v and the backpack i mounted.
So whenever i run the system with only the battery the red light starts to double-blink 4 times, stops and doesn't run the code. Only the green lights stays. As soon as i attach the usb to the pro trinket it works like a charm. Even the battery charge light comes on when both are attached. Code also runs fine only with usb.
System runs like this:
My LED Lights are attached to 5V, GND, and 6. I am using a 5000mAh 3,6V - 3,7V Li-Ion battery.
I attached a photo of my wiring.
Can't really figure out why it isn't working.
Help is appreciated :)
btw. unfortunately i dont have any way to check the voltage
Cheers
Pro Trinket Code not running when on battery
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- ArnoldW
- Posts: 4
- Joined: Thu Apr 20, 2023 3:25 am
Pro Trinket Code not running when on battery
- Attachments
-
- Screenshot 2023-04-20 134714.png (96.99 KiB) Viewed 161 times
-
- Screenshot 2023-04-20 134347.png (816.38 KiB) Viewed 161 times
- adafruit_support_bill
- Posts: 88086
- Joined: Sat Feb 07, 2009 10:11 am
Re: Pro Trinket Code not running when on battery
The 5v pro Trinket is designed to run on 5v. The LiPo Backpack only supplies 3.7v. to the BAT pin. There is no voltage boost circuitry on board, so you will not get 5v from the 5v pin unless you are plugged into USB.i am currently having issues with my pro trinket 5v and the backpack i mounted.
- ArnoldW
- Posts: 4
- Joined: Thu Apr 20, 2023 3:25 am
Re: Pro Trinket Code not running when on battery
I got a 3v pro Trinket and just tried the same setup.adafruit_support_bill wrote: ↑Thu Apr 20, 2023 8:20 amThe 5v pro Trinket is designed to run on 5v. The LiPo Backpack only supplies 3.7v. to the BAT pin. There is no voltage boost circuitry on board, so you will not get 5v from the 5v pin unless you are plugged into USB.i am currently having issues with my pro trinket 5v and the backpack i mounted.
Still doesnt Work...
It does the same thing as before, double-blink a few times and then only the green light stays on.
Edit: So I've tried a few things now but with no success.
- Connected the battery directly to the Trinket without backback. Same problem as mentioned above.
- Tried 3 different batteries now. Same problem as mentioned above.
Do i have to integrate something in the code so he uses the battery as power supply?
Last edited by ArnoldW on Fri Apr 21, 2023 7:11 am, edited 1 time in total.
- adafruit_support_bill
- Posts: 88086
- Joined: Sat Feb 07, 2009 10:11 am
Re: Pro Trinket Code not running when on battery
Please post some photos of the front & back of the boards showing all of your soldering and connections.
- ArnoldW
- Posts: 4
- Joined: Thu Apr 20, 2023 3:25 am
Re: Pro Trinket Code not running when on battery
Here you go.
Have mercy with me. I'm a bloody amateur.
Have mercy with me. I'm a bloody amateur.
- Attachments
-
- 33.jpg (288.62 KiB) Viewed 141 times
-
- 22.jpg (158.41 KiB) Viewed 141 times
-
- 11.jpg (204.67 KiB) Viewed 141 times
- adafruit_support_bill
- Posts: 88086
- Joined: Sat Feb 07, 2009 10:11 am
Re: Pro Trinket Code not running when on battery
One very major problem is that the battery you are using is wired with the wrong polarity. All the boards and batteries with JST PH connectors in our store have compatible polarity. Some batteries from 3rd parties are wired in reverse.
It is possible to swap the wires going into the JST connector so that the polarity matches the markings on the board. But the charge controller chip is most likely damaged.
Another issue is that you are trying to power the Neopixels from the 5v pin. As explained in my previous post, there is no voltage boost circuit, so there is no 5v available when you are powering the system with a 3.7v battery.
It is possible to swap the wires going into the JST connector so that the polarity matches the markings on the board. But the charge controller chip is most likely damaged.
Another issue is that you are trying to power the Neopixels from the 5v pin. As explained in my previous post, there is no voltage boost circuit, so there is no 5v available when you are powering the system with a 3.7v battery.
- ArnoldW
- Posts: 4
- Joined: Thu Apr 20, 2023 3:25 am
Re: Pro Trinket Code not running when on battery
oh my god, bill i love you.
i switched from the 5v pin to the 3v pin and it works like a charm.
thought the 5v just stands for power supply. guess i was wrong :)
i switched from the 5v pin to the 3v pin and it works like a charm.
thought the 5v just stands for power supply. guess i was wrong :)
- adafruit_support_bill
- Posts: 88086
- Joined: Sat Feb 07, 2009 10:11 am
Re: Pro Trinket Code not running when on battery
Good to hear that is working for you now. Thanks for the follow up.
Please be positive and constructive with your questions and comments.