On-Screen Battery Monitor Options
-
- Posts: 34
- Joined: Tue Jan 16, 2018 4:26 pm
- Has thanked: 9 times
- Been thanked: 6 times
Re: On-Screen Battery Monitor Options
not sure if this was addressed or not but what gpio pins would you connect to on the raspberry pi 3?
Here is my little RP3 build still working on a name
https://sudomod.com/forum/viewtopic.php?f=13&t=5042
https://sudomod.com/forum/viewtopic.php?f=13&t=5042
- 144TECH
- Posts: 325
- Joined: Fri Jan 06, 2017 7:30 am
- Location: Amsterdam
- Has thanked: 256 times
- Been thanked: 71 times
Re: On-Screen Battery Monitor Options
https://www.sudomod.com/forum/viewtopic.php?f=44&t=3537 fast , easy & cheap for all GBZ's
* Very Rare * GBZ 640x480 v3 Stock Looks 6000MAH
http://www.sudomod.com/forum/viewtopic.php?f=43&t=4863
http://www.sudomod.com/forum/viewtopic.php?f=43&t=4863
- VeteranGamer
- Posts: 1738
- Joined: Thu Jan 26, 2017 11:12 am
- Location: London, UK
- Has thanked: 528 times
- Been thanked: 909 times
Re: On-Screen Battery Monitor Options
the GPIO pinouts for the Pi Zero and Pi3 are the same (as far as i'm aware)cainkirisgai wrote: ↑Tue Jan 16, 2018 7:46 pmnot sure if this was addressed or not but what gpio pins would you connect to on the raspberry pi 3?
but for reference for the Pi3....
(following this, it will be Pin 3 (SDA1) & Pin 5 (SCL1)
NB: SDA & SCL points should be marked on the ADS1015/1115 you use
.
-
- Posts: 34
- Joined: Tue Jan 16, 2018 4:26 pm
- Has thanked: 9 times
- Been thanked: 6 times
Re: On-Screen Battery Monitor Options
Thanks for the fast reply veteran I thought it was those as well I just wanted to confirm it, and should be wired to vcc and ground on the pb1000 as well correct? Waiting for my ads1115 to arrive tomorrow and this should complete my build for my little 7inch portable ^_^
Here is my little RP3 build still working on a name
https://sudomod.com/forum/viewtopic.php?f=13&t=5042
https://sudomod.com/forum/viewtopic.php?f=13&t=5042
- VeteranGamer
- Posts: 1738
- Joined: Thu Jan 26, 2017 11:12 am
- Location: London, UK
- Has thanked: 528 times
- Been thanked: 909 times
Re: On-Screen Battery Monitor Options
cainkirisgai wrote: ↑Wed Jan 17, 2018 5:37 pmThanks for the fast reply veteran I thought it was those as well I just wanted to confirm it, and should be wired to vcc and ground on the pb1000 as well correct? Waiting for my ads1115 to arrive tomorrow and this should complete my build for my little 7inch portable ^_^
the wiring should look something like this.....
(it cant be that much different than a Powerboost, its a matter of using the same points)
an example of a switch that should be used (any similar looking DPDT switch should be fine)
not to confuse things....
but i asked HoolyHoo if the A0 couldnt be wired via a switch, how can it be connected....
(in my case i already have Cambles Safe Shutdown installed)
he suggested to add a 10k ohm resistor to the connection......
Safe shutdown
(i've been a bit busy so have still to install mine and test this out)
.
- erik_gee
- Posts: 356
- Joined: Thu Jun 16, 2016 12:57 am
- Location: United States
- Has thanked: 137 times
- Been thanked: 193 times
Re: On-Screen Battery Monitor Options
Is the 10k resistor to help prevent the battery from discharging when the switch is off? I was under the assumption that an unpowered ic wouldn't have current drawVeteranGamer wrote: ↑Thu Jan 18, 2018 12:00 amcainkirisgai wrote: ↑Wed Jan 17, 2018 5:37 pmThanks for the fast reply veteran I thought it was those as well I just wanted to confirm it, and should be wired to vcc and ground on the pb1000 as well correct? Waiting for my ads1115 to arrive tomorrow and this should complete my build for my little 7inch portable ^_^
the wiring should look something like this.....
(it cant be that much different than a Powerboost, its a matter of using the same points)
an example of a switch that should be used (any similar looking DPDT switch should be fine)
not to confuse things....
but i asked HoolyHoo if the A0 couldnt be wired via a switch, how can it be connected....
(in my case i already have Cambles Safe Shutdown installed)
he suggested to add a 10k ohm resistor to the connection......
Safe shutdown
(i've been a bit busy so have still to install mine and test this out)
.
GBC AIO kit Sales Thread:https://www.sudomod.com/forum/viewtopic.php?f=38&t=9928
Bunch of different shoulder button kits Sales Thread:viewtopic.php?f=38&t=6233&p=63192#p63192
AIO board for DMG Sales Thread:
viewtopic.php?f=38&t=6431
6 Button Common Ground Board Sales Thread: viewtopic.php?f=38&t=4811
Bunch of different shoulder button kits Sales Thread:viewtopic.php?f=38&t=6233&p=63192#p63192
AIO board for DMG Sales Thread:
viewtopic.php?f=38&t=6431
6 Button Common Ground Board Sales Thread: viewtopic.php?f=38&t=4811
- VeteranGamer
- Posts: 1738
- Joined: Thu Jan 26, 2017 11:12 am
- Location: London, UK
- Has thanked: 528 times
- Been thanked: 909 times
Re: On-Screen Battery Monitor Options
thats what i would have thought....
especially as A0 isnt the power point/connection for the board (and power will be cut off completely by the switch).....
but this is what was suggested by HoolyHoo,
and as my knowledge on these things is very limited, i've gone with the better judgement of someone with more knowledge.....
i'm still to install this (with or without a resistor) and test.....
.
- erik_gee
- Posts: 356
- Joined: Thu Jun 16, 2016 12:57 am
- Location: United States
- Has thanked: 137 times
- Been thanked: 193 times
Re: On-Screen Battery Monitor Options
Ah I see. Yeah I'm not 100% on a lot of these things so I'll take his word haha thank you for that info, I will try it with a resistor as stated. Appreciate the tipVeteranGamer wrote: ↑Thu Jan 18, 2018 1:46 amthats what i would have thought....
especially as A0 isnt the power point/connection for the board (and power will be cut off completely by the switch).....
but this is what was suggested by HoolyHoo,
and as my knowledge on these things is very limited, i've gone with the better judgement of someone with more knowledge.....
i'm still to install this (with or without a resistor) and test.....
.
GBC AIO kit Sales Thread:https://www.sudomod.com/forum/viewtopic.php?f=38&t=9928
Bunch of different shoulder button kits Sales Thread:viewtopic.php?f=38&t=6233&p=63192#p63192
AIO board for DMG Sales Thread:
viewtopic.php?f=38&t=6431
6 Button Common Ground Board Sales Thread: viewtopic.php?f=38&t=4811
Bunch of different shoulder button kits Sales Thread:viewtopic.php?f=38&t=6233&p=63192#p63192
AIO board for DMG Sales Thread:
viewtopic.php?f=38&t=6431
6 Button Common Ground Board Sales Thread: viewtopic.php?f=38&t=4811
- Lphillimore
- Posts: 993
- Joined: Sat Jan 07, 2017 7:03 pm
- Location: Perth, WA
- Has thanked: 796 times
- Been thanked: 527 times
Re: On-Screen Battery Monitor Options
I shouldn't skim read. Nice work, Veteran.
Received some 12bit ADS1015 today so will wire them up on this current build
Using the mintyPi image again with a few tweaks as per my last build.
Received some 12bit ADS1015 today so will wire them up on this current build
Using the mintyPi image again with a few tweaks as per my last build.
mintyPi Giveaway [CLOSED]:
http://www.sudomod.com/forum/viewtopic.php?f=38&t=3456
Builds:
GBZ
http://www.sudomod.com/forum/viewtopic.php?f=9&t=2838
mintyPi
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3468
Kite SAIO
http://www.sudomod.com/forum/viewtopic.php?f=9&t=3075
Dreamcast VMU
https://sudomod.com/forum/viewtopic.php ... 133#p62133
http://www.sudomod.com/forum/viewtopic.php?f=38&t=3456
Builds:
GBZ
http://www.sudomod.com/forum/viewtopic.php?f=9&t=2838
mintyPi
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3468
Kite SAIO
http://www.sudomod.com/forum/viewtopic.php?f=9&t=3075
Dreamcast VMU
https://sudomod.com/forum/viewtopic.php ... 133#p62133
Re: On-Screen Battery Monitor Options
The purpose of the resistor is to limit the current. As you guys may know, it is not recommended to apply voltage to an analog input to an arduino chip that is not powered. The result could lead to it being back fed through the analog pin and destroying the ic. At least this is true for arduinos. That being said, the way it’s in that diagram, that is exactly what happens, the power is cut off but the analog pin is still being fed. Now it may be OK but it doesn’t hurt to have the resistor and may protect the ic by limiting current, thus preventing the backfeed.
Who is online
Users browsing this forum: No registered users and 1 guest