Page 8 of 12

Re: OSD Battery Monitoring for Helder's AIO Boards

Posted: Sun Aug 20, 2017 9:01 pm
by 144TECH
@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:

Re: OSD Battery Monitoring for Helder's AIO Boards

Posted: Mon Aug 21, 2017 8:58 am
by HoolyHoo
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. :)

Re: OSD Battery Monitoring for Helder's AIO Boards

Posted: Mon Aug 21, 2017 9:02 am
by 144TECH
Would be nice, if you can upgrade the GBZ script to that function aswell :mrgreen:

Re: OSD Battery Monitoring for Helder's AIO Boards

Posted: Sat Aug 26, 2017 1:51 am
by erik_gee
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 :)

Re: OSD Battery Monitoring for Helder's AIO Boards

Posted: Sun Aug 27, 2017 7:09 am
by 144TECH
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

Re: OSD Battery Monitoring for Helder's AIO Boards

Posted: Sun Aug 27, 2017 7:17 am
by HoolyHoo
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. ;)

Re: OSD Battery Monitoring for Helder's AIO Boards

Posted: Sun Aug 27, 2017 8:46 am
by erik_gee
Thanks!

Re: OSD Battery Monitoring for Helder's AIO Boards

Posted: Wed Aug 30, 2017 12:53 pm
by uke
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!

Re: OSD Battery Monitoring for Helder's AIO Boards

Posted: Wed Aug 30, 2017 1:05 pm
by HoolyHoo
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.

Re: OSD Battery Monitoring for Helder's AIO Boards

Posted: Tue Oct 10, 2017 1:44 am
by Doktor.Dulli
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