On-Screen Battery Monitor Options
- sixteenbit
- Posts: 54
- Joined: Mon Aug 21, 2017 8:42 pm
- Has thanked: 18 times
- Been thanked: 13 times
- Contact:
Re: On-Screen Battery Monitor Options
Has anyone had any issues with this stopping from working after a while? I'm using ADS1115 and it works fine for a week or so then stops. If i do a fresh install of retropie and the script it works again.
-
- Posts: 14
- Joined: Fri May 11, 2018 12:49 am
- Location: Rome, Italy
- Has thanked: 2 times
Re: On-Screen Battery Monitor Options
Hi,
Reading all of the thread was very informative.
I can't understand if the hooly script and the 1015 can be used in conjunction with button controls running through a teensy without any change to the script. Anyone has an idea?
Thanks
Reading all of the thread was very informative.
I can't understand if the hooly script and the 1015 can be used in conjunction with button controls running through a teensy without any change to the script. Anyone has an idea?
Thanks
Re: On-Screen Battery Monitor Options
A Teensy already has analog inputs so no need for a 1015. Take a look at the code I use on Helder’s AIO board which uses the 32u4.JackReacher wrote: ↑Fri May 11, 2018 1:23 amHi,
Reading all of the thread was very informative.
I can't understand if the hooly script and the 1015 can be used in conjunction with button controls running through a teensy without any change to the script. Anyone has an idea?
Thanks
-
- Posts: 14
- Joined: Fri May 11, 2018 12:49 am
- Location: Rome, Italy
- Has thanked: 2 times
Re: On-Screen Battery Monitor Options
Thanks a lot hooly for your reply.
I found your repo, I will study it and give it a try before i bother you again. It is not clear to me if the teensy (2.0) needs additional programming (it is already running wermy's joystick script) or if I can just solder the wires to gnd vcc and adc0 and run the script on the raspy.
Also, if eventually i want to go for the 1015 option, would it work anyway?
Thanks again for your help
I found your repo, I will study it and give it a try before i bother you again. It is not clear to me if the teensy (2.0) needs additional programming (it is already running wermy's joystick script) or if I can just solder the wires to gnd vcc and adc0 and run the script on the raspy.
Also, if eventually i want to go for the 1015 option, would it work anyway?
Thanks again for your help
- 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
For those still unsure, see my updated post for how an ADS1015 can be incorporated into your build.
https://sudomod.com/forum/viewtopic.php ... 738#p60738
https://sudomod.com/forum/viewtopic.php ... 738#p60738
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
- goosewerks
- Posts: 93
- Joined: Mon May 22, 2017 8:27 am
- Has thanked: 18 times
- Been thanked: 39 times
Re: On-Screen Battery Monitor Options
I've been seeing a couple of people having issues where the battery icon disappears randomly, and it's happened to me a few times as well. Not sure if it's a specific change that I've made to something in the OS or what, but I just reflashed the base image that I made and it was back no issues.
I just built a Pi3, which is really hard to have external SD access on, so I'd like to find a solution to why the battery icon disappeared on it yesterday shortly after finishing the build. Playing on it today, the low power overlay works! It came up and gave me the warning, then the yellow battery indicator appeared following that overlay / screen / movie and stayed on screen. I plugged it into power, and the icon stayed. I rebooted, and no icon. I tried to manually run the Python script via Terminal, but nothing.
I disabled overlays in RetroArch (after the icon went away) to get the weird side bars off of my N64 games, but the yellow indicator still works after that step. Any ideas here? I glanced at the code, but I realized I don't know much about code or how the script displays the icon consistently. I'm sure it's an easy fix, but I haven't been able to suss it out yet.
Any ideas here?
I just built a Pi3, which is really hard to have external SD access on, so I'd like to find a solution to why the battery icon disappeared on it yesterday shortly after finishing the build. Playing on it today, the low power overlay works! It came up and gave me the warning, then the yellow battery indicator appeared following that overlay / screen / movie and stayed on screen. I plugged it into power, and the icon stayed. I rebooted, and no icon. I tried to manually run the Python script via Terminal, but nothing.
I disabled overlays in RetroArch (after the icon went away) to get the weird side bars off of my N64 games, but the yellow indicator still works after that step. Any ideas here? I glanced at the code, but I realized I don't know much about code or how the script displays the icon consistently. I'm sure it's an easy fix, but I haven't been able to suss it out yet.
Any ideas here?
- 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
If you're installing the Battery monitor script only and not the combo script be careful what GPIO7 is wired to as this is the trigger for manual shutdown. You could inadvertently shutdown the Pi by pressing whatever your build utilises for GPIO 7.
Additionally, in reference to the icon disappearing, take a look at the script to ensure that your retrogame file corresponds (it may need tweaking) as there is a command that enables and disables the battery icon on demand. If these do not align then you may be inadvertently disabling the icon by pressing a specific button.
Additionally, in reference to the icon disappearing, take a look at the script to ensure that your retrogame file corresponds (it may need tweaking) as there is a command that enables and disables the battery icon on demand. If these do not align then you may be inadvertently disabling the icon by pressing a specific button.
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
- goosewerks
- Posts: 93
- Joined: Mon May 22, 2017 8:27 am
- Has thanked: 18 times
- Been thanked: 39 times
Re: On-Screen Battery Monitor Options
Just the battery icon yes; no shutting down, though I have tested the shutdown button for fun, but that's not my issue.Lphillimore wrote: ↑Wed Jul 18, 2018 10:47 pmIf you're installing the Battery monitor script only and not the combo script be careful what GPIO7 is wired to as this is the trigger for manual shutdown. You could inadvertently shutdown the Pi by pressing whatever your build utilises for GPIO 7.
Additionally, in reference to the icon disappearing, take a look at the script to ensure that your retrogame file corresponds (it may need tweaking) as there is a command that enables and disables the battery icon on demand. If these do not align then you may be inadvertently disabling the icon by pressing a specific button.
I'll check my RetroGame script.
- 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
Yes
providing that the SDA & SCL GPIO points are not being used for anything else....
but are/or going to be being used with/for the ADS1015/1115 (with this method)
you can use it with any screen
(you may have issues with a DPI setup, as this setup may not have those GPIO available)
(this method used on a HDMI build)

.
Who is online
Users browsing this forum: No registered users and 1 guest