Battery Monitoring with Tinkerboy V3
Battery Monitoring with Tinkerboy V3
Anyone know how to do this? "You can create a python script on the Pi side and just send a serial command ‘9’ and the v3 board will reply with a raw analog reading of the battery provided you connected the BATT+ to the battery’s positive pin.". Running a V3 with a DPI adapter board. I'm good with the building part, not the coding part.
- Helder
- Trailblazer
- Posts: 2985
- Joined: Thu May 05, 2016 8:33 am
- Location: Rogers, AR
- Has thanked: 1459 times
- Been thanked: 3114 times
Re: Battery Monitoring with Tinkerboy V3
I think tinkerboy was working on the code to be implemented into the board because he's using the atmega32u4 which has about 6-8 ADC pins which can be used for battery monitoring like I had at the end of the life of my AIO.
Would be a good idea to ask him about it and if he has the code but has not broken out the pins for the ADC you can solder a resistor and wire to the pin yourself then connect to the battery.
Since this is not my product and have no idea how he has the button controls setup I can't offer you more help than this.
Would be a good idea to ask him about it and if he has the code but has not broken out the pins for the ADC you can solder a resistor and wire to the pin yourself then connect to the battery.
Since this is not my product and have no idea how he has the button controls setup I can't offer you more help than this.
Chat with me and other members On Discord
Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.
Helder's Game Tech Website
We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.
Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.
Helder's Game Tech Website
We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.
- infinitLoop
- Posts: 536
- Joined: Mon Dec 24, 2018 11:46 am
- Location: Portland, OR
- Has thanked: 222 times
- Been thanked: 199 times
- Contact:
Re: Battery Monitoring with Tinkerboy V3
check out this other post too, since i think you're trying to do the same thing (get around the fact that the dpi adapter uses the sda/scl inputs so you can't use the ads on the psu)...
viewtopic.php?f=42&t=7742&p=72542#p72542
viewtopic.php?f=42&t=7742&p=72542#p72542
Some of my builds...
BMO GBZ
Star Wars Millenium Falcon Challenge
Game Boy Color Zero
... and another Gameboy Color Zero with custom 3D-printed parts
"Ultimate" 3A+ Build
GlowBoy Zero
Some 3d designs I've done...
Soft Tactile Shoulder Buttons, for screw-hole, well mounting
Snap-in, Soft Tactile Shoulder Button insert, for screw-hole, well mounting
Pac-Man and Space Invaders Themed Rear Fan Holder
BMO GBZ
Star Wars Millenium Falcon Challenge
Game Boy Color Zero
... and another Gameboy Color Zero with custom 3D-printed parts
"Ultimate" 3A+ Build
GlowBoy Zero
Some 3d designs I've done...
Soft Tactile Shoulder Buttons, for screw-hole, well mounting
Snap-in, Soft Tactile Shoulder Button insert, for screw-hole, well mounting
Pac-Man and Space Invaders Themed Rear Fan Holder
Re: Battery Monitoring with Tinkerboy V3
I actually have been working with Rodocop to modify HoolyHoos battery monitoring script. It "works" so far but the Tinkerboy V3 board has weird power fluctuations at the 5V in. Once that happens, the monitor shuts down the unit even when plugged in.
- infinitLoop
- Posts: 536
- Joined: Mon Dec 24, 2018 11:46 am
- Location: Portland, OR
- Has thanked: 222 times
- Been thanked: 199 times
- Contact:
Re: Battery Monitoring with Tinkerboy V3
ah "weird" v3 power fluctuations strike again. seems like something on there periodically pulls a lot of current, which drops the voltage really low. you might be able to adjust the script so that it has to maintain that low voltage longer, but ideally the board shouldn't do that.
Some of my builds...
BMO GBZ
Star Wars Millenium Falcon Challenge
Game Boy Color Zero
... and another Gameboy Color Zero with custom 3D-printed parts
"Ultimate" 3A+ Build
GlowBoy Zero
Some 3d designs I've done...
Soft Tactile Shoulder Buttons, for screw-hole, well mounting
Snap-in, Soft Tactile Shoulder Button insert, for screw-hole, well mounting
Pac-Man and Space Invaders Themed Rear Fan Holder
BMO GBZ
Star Wars Millenium Falcon Challenge
Game Boy Color Zero
... and another Gameboy Color Zero with custom 3D-printed parts
"Ultimate" 3A+ Build
GlowBoy Zero
Some 3d designs I've done...
Soft Tactile Shoulder Buttons, for screw-hole, well mounting
Snap-in, Soft Tactile Shoulder Button insert, for screw-hole, well mounting
Pac-Man and Space Invaders Themed Rear Fan Holder
- Helder
- Trailblazer
- Posts: 2985
- Joined: Thu May 05, 2016 8:33 am
- Location: Rogers, AR
- Has thanked: 1459 times
- Been thanked: 3114 times
Re: Battery Monitoring with Tinkerboy V3
Not sure what he has on there but from what I last glanced at it I believe USB Audio and an Atmega32u4 along with some amplifier chip or it's part of the usb audio. Can't really see what would cause such draining but is he providing some premade image? if so it might be something in it.
Chat with me and other members On Discord
Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.
Helder's Game Tech Website
We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.
Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.
Helder's Game Tech Website
We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.
Re: Battery Monitoring with Tinkerboy V3
Good point. Maybe I'll try a fresh install. I am using his premade image.
Re: Battery Monitoring with Tinkerboy V3
Nope. Gave up on it. I'm pretty convinced it will never work.
Who is online
Users browsing this forum: No registered users and 1 guest