Low battery indicator without AIO

Having trouble with your GBZ build? Ask your questions here!
Post Reply
User avatar
Marty33
Posts: 145
Joined: Wed Feb 22, 2017 4:55 pm
Has thanked: 19 times
Been thanked: 13 times

Low battery indicator without AIO

Post by Marty33 » Thu Aug 09, 2018 1:03 pm

Hello all.

I search compact idea for use Hoolyhoo script

I have Banggood Powerboost for my project.

Or an other powerboost with low batt led integrated.

Big thanks all ;)

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: Low battery indicator without AIO

Post by rodocop » Thu Aug 09, 2018 3:47 pm

You can use these ads1015 in conjunction with the bangood module.

ADS1015 12 bit precision analog-to-digital converter ADC module development board
http://s.aliexpress.com/zmaIfyay?fromSns=Copy to Clipboard

See wiring options here

https://i.imgur.com/hlruelz.jpg

User avatar
Marty33
Posts: 145
Joined: Wed Feb 22, 2017 4:55 pm
Has thanked: 19 times
Been thanked: 13 times

Re: Low battery indicator without AIO

Post by Marty33 » Thu Aug 09, 2018 4:06 pm

Ok. Good price...

What is the function button ? He show or remove the icon on screen ?

User avatar
KonnorJ
Posts: 385
Joined: Thu Jan 11, 2018 1:23 am
Location: United Kingdom
Has thanked: 58 times
Been thanked: 109 times
Contact:

Re: Low battery indicator without AIO

Post by KonnorJ » Thu Aug 09, 2018 4:22 pm

It can be mapped so you press that and another button for various functions, volume control, monitor on and off, safe shutdown, WiFi and bluetooth on or off. It can be skipped and mapped to an existing gpio button so you'd press L plus the buttons for the fiction instead of function plus the buttons for the function.

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: Low battery indicator without AIO

Post by rodocop » Thu Aug 09, 2018 5:09 pm

Yeah. You can use the function button for hotkeys built into the mintybatterymonitor script or the minty combo script.

You can use that button. Or you can map the function key to another button if you don't want that extra one.

lightpixel
Posts: 47
Joined: Tue Nov 21, 2017 4:50 am
Has thanked: 8 times
Been thanked: 32 times

Re: Low battery indicator without AIO

Post by lightpixel » Fri Aug 10, 2018 5:25 am

is it correct, the scriopt only works with GPIO controller wiring? So what to do to get the script running in combination with Arduino based controller pcb?

User avatar
KonnorJ
Posts: 385
Joined: Thu Jan 11, 2018 1:23 am
Location: United Kingdom
Has thanked: 58 times
Been thanked: 109 times
Contact:

Re: Low battery indicator without AIO

Post by KonnorJ » Fri Aug 10, 2018 5:32 am

The combo script only works with gpio because the script looks for gpio button presses. You can use the battery monitor with an Arduino however.

Mr. Tytan
Posts: 8
Joined: Thu Aug 02, 2018 7:18 am
Has thanked: 1 time

Re: Low battery indicator without AIO

Post by Mr. Tytan » Thu Aug 30, 2018 9:08 pm

How would you map this while using an Arduino? Is the function button neccessary? Or would you just map that to an unused button on the Arduino?

User avatar
KonnorJ
Posts: 385
Joined: Thu Jan 11, 2018 1:23 am
Location: United Kingdom
Has thanked: 58 times
Been thanked: 109 times
Contact:

Re: Low battery indicator without AIO

Post by KonnorJ » Fri Aug 31, 2018 6:30 am

You wouldn't, the script only looks at the gpio for key presses so you'd have to either use a function button on just the gpio or not use an Arduino if you use this script. That is only if you want the function button, you can do it without a function button I believe

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest