OSD Battery Monitoring for Helder's AIO Boards

Various user-contributed guides for hardware-related things
User avatar
144TECH
Posts: 325
Joined: Fri Jan 06, 2017 7:30 am
Location: Amsterdam
Has thanked: 256 times
Been thanked: 71 times

Re: OSD Battery Monitoring for Helder's AIO Boards

Post by 144TECH » Sun Aug 20, 2017 9:01 pm

@HoolyHoo,

IT WORKS !

Glad you figured out that blank file was missing, it's all ok now, been stumbling with it for 10days or so lol.. :lol:
Last question or suggestion is, are we able to turn the battery icon off if we want to? just like the mintypi?, because that would be the cherry on the pie.

Thanks alot, glad we found the issue !

144Tech :mrgreen:
* Very Rare * GBZ 640x480 v3 Stock Looks 6000MAH
http://www.sudomod.com/forum/viewtopic.php?f=43&t=4863

User avatar
HoolyHoo
Posts: 766
Joined: Sat Jul 09, 2016 9:34 pm
Has thanked: 206 times
Been thanked: 741 times

Re: OSD Battery Monitoring for Helder's AIO Boards

Post by HoolyHoo » Mon Aug 21, 2017 8:58 am

144TECH wrote:
Sun Aug 20, 2017 9:01 pm
@HoolyHoo,

IT WORKS !

Glad you figured out that blank file was missing, it's all ok now, been stumbling with it for 10days or so lol.. :lol:
Last question or suggestion is, are we able to turn the battery icon off if we want to? just like the mintypi?, because that would be the cherry on the pie.

Thanks alot, glad we found the issue !

144Tech :mrgreen:
Not in this script but I did include it in the MintyPi script which I am currently working on to improve. :)

User avatar
144TECH
Posts: 325
Joined: Fri Jan 06, 2017 7:30 am
Location: Amsterdam
Has thanked: 256 times
Been thanked: 71 times

Re: OSD Battery Monitoring for Helder's AIO Boards

Post by 144TECH » Mon Aug 21, 2017 9:02 am

Would be nice, if you can upgrade the GBZ script to that function aswell :mrgreen:
* Very Rare * GBZ 640x480 v3 Stock Looks 6000MAH
http://www.sudomod.com/forum/viewtopic.php?f=43&t=4863

User avatar
erik_gee
Posts: 356
Joined: Thu Jun 16, 2016 12:57 am
Location: United States
Has thanked: 137 times
Been thanked: 193 times

Re: OSD Battery Monitoring for Helder's AIO Boards

Post by erik_gee » Sat Aug 26, 2017 1:51 am

Hi !
Is there a way to have this feature on a Arduino pro micro? I do not have helder's board, just a plain board. But I do have a pro micro that I am using and I am assuming is capable of the same features, as it uses the 32u4 chip. Is there a guide somewhere on how to use this battery monitor feature for just a pro micro? Thank you in advance :)
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

User avatar
144TECH
Posts: 325
Joined: Fri Jan 06, 2017 7:30 am
Location: Amsterdam
Has thanked: 256 times
Been thanked: 71 times

Re: OSD Battery Monitoring for Helder's AIO Boards

Post by 144TECH » Sun Aug 27, 2017 7:09 am

erik_gee wrote:
Sat Aug 26, 2017 1:51 am
Is there a guide somewhere on how to use this battery monitor feature for just a pro micro? Thank you in advance :)
http://www.sudomod.com/forum/viewtopic. ... rdo#p39524
* Very Rare * GBZ 640x480 v3 Stock Looks 6000MAH
http://www.sudomod.com/forum/viewtopic.php?f=43&t=4863

User avatar
HoolyHoo
Posts: 766
Joined: Sat Jul 09, 2016 9:34 pm
Has thanked: 206 times
Been thanked: 741 times

Re: OSD Battery Monitoring for Helder's AIO Boards

Post by HoolyHoo » Sun Aug 27, 2017 7:17 am

erik_gee wrote:
Sat Aug 26, 2017 1:51 am
Hi !
Is there a way to have this feature on a Arduino pro micro? I do not have helder's board, just a plain board. But I do have a pro micro that I am using and I am assuming is capable of the same features, as it uses the 32u4 chip. Is there a guide somewhere on how to use this battery monitor feature for just a pro micro? Thank you in advance :)
I have not taken the time to make a formal guide for this but it is definitely most possible as it uses the same chip. It was touched on earlier in this thread and also in the link below your post. Some of the pinouts will need to be changed but not too much different. ;)

User avatar
erik_gee
Posts: 356
Joined: Thu Jun 16, 2016 12:57 am
Location: United States
Has thanked: 137 times
Been thanked: 193 times

Re: OSD Battery Monitoring for Helder's AIO Boards

Post by erik_gee » Sun Aug 27, 2017 8:46 am

Thanks!
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

uke
Posts: 41
Joined: Mon May 09, 2016 9:05 am
Has thanked: 2 times
Been thanked: 6 times

Re: OSD Battery Monitoring for Helder's AIO Boards

Post by uke » Wed Aug 30, 2017 12:53 pm

144TECH wrote:
Mon Aug 21, 2017 9:02 am
Would be nice, if you can upgrade the GBZ script to that function aswell :mrgreen:
That'd be awesome!

One more question, @HoolyHoo , is any of the wiring different if I am using the original switch?

Thanks a lot for your work!

User avatar
HoolyHoo
Posts: 766
Joined: Sat Jul 09, 2016 9:34 pm
Has thanked: 206 times
Been thanked: 741 times

Re: OSD Battery Monitoring for Helder's AIO Boards

Post by HoolyHoo » Wed Aug 30, 2017 1:05 pm

uke wrote:
Wed Aug 30, 2017 12:53 pm
144TECH wrote:
Mon Aug 21, 2017 9:02 am
Would be nice, if you can upgrade the GBZ script to that function aswell :mrgreen:
That'd be awesome!

One more question, @HoolyHoo , is any of the wiring different if I am using the original switch?

Thanks a lot for your work!
Yeah, sorry about that. I just haven't had time to work and test on adding the toggle to the battery monitoring script. So it might be a while but if someone wants to do the work, just let me know and I can add it to the github.
As far as using the original GB switch, it will work as long as your using the Powerboost charger. It should be wired as in the first diagram in my github for it.

Doktor.Dulli
Posts: 2
Joined: Tue Oct 10, 2017 1:21 am

Re: OSD Battery Monitoring for Helder's AIO Boards

Post by Doktor.Dulli » Tue Oct 10, 2017 1:44 am

Hello,

Thanks for your great work. Unfortunately I am not able to setup your script to work as it should. I tried debug = 1 to get a hint and to see output of you script.

I'am using it together with the Arduino Leonardo Pro Micro (like lotusalex2000). This works, the Micro is sending the right values. I keep the Analog Pin connected to 5v first of all.
As long as the Micro is not connected to the RaspberryPi, the (Serial Port ACM0 / 1 / 2 not found) loop shows up on screen.
When i connect it, I see your battery symbol on top of my screen, I see values for the voltage (ret) but, now starts the trouble, only six times and nothing else, only cursor.

Like this

Code: Select all

Serial Port ACM0 not found
Serial Port ACM1 not found
Serial Port ACM2 not found
5,1
5,1
5,1
5,1
5,1
5,1
_
when i try "screen /dev/ttyACM2 115200" I see the serial values from the Micro for my Voltage (1023 for 5V). When I change the voltage, i see the right values, too, eg. 0Vs shows 0 and so on. So this works.

Only the loop stops, it wont change to Volts<25 when i try 0Vs on the Analog Input, it wont shutdown, only blinking cursor.
When I reboot the same. It will do the shutdown-script, when I reboot with 0V connected

thanking you in anticipation for helping

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest