Hi all!
Im building a light controller for my bike, to handle turn indicators, brake lights, position lights and so on, and im concidering adding a solar cell to the project, so i dont have to remember to charge the battery..
The light controller project is based on a arduino nano, using a couple of mcp23007 pin extenders to tidy up the cable installation (from 16 wires in a ratsnest down to 4 in a Y harness).
The arduino is powered thru a self-disconnecting circuit (held connected with D13 = high, on with a momentary button) and the arduino also controls the other modules in a similar fasion, turning off parts that arent used (to minimize current leaks)
The whole system (including the lights) is powered from a central battery, currently a 5v cellphone power bank (mobile charger).
there are some power banks available at the local electronics store, with a builtin solar cell and charger on the side of the battery casing, and im thinking of adding one of those, to my project.
A battery monitoring circuit would be added to poll the voltage levels (possibly thru resistor voltage dividers) using arduino analog pins.
The idea is to measure the powerbank and the main battery, and if the main battery is low and the powerbank is (close to) full, then charge the main battery off the power bank battery.
There will be some low drop voltage regulators between the battery and the rest of the electronics, so a slight over-current will be fine (i belive my regulator can handle up to 26V, im planning on 2 or 3-cell lipo).
I did purchase some lipo charger PCB´s off ebay, i havent tested them or investigated them so i honestly dont know how they work (story of my life), but in worst case; im not afraid of building one, as long as i can find a schematic.
I have already some of the project PCB´s populated and completed, but the main card is currently being re-designed due to incompetence the first time, so i figured lets add all those bells and cup-holders that got scrapped on the initial PCB design..
So, does that battery charging idea sound valid somehow, or am i a idiot for not realizing it myself?
And does anyone have ideas of how to do it, or how NOT to do it?
Im not skilled in electronics AT ALL, just barely able to understand electrical schematics and im googling pretty much everything, but im not afraid of a little challenge, i mean, this is´nt rocket-science..
So if anyone has a torch, im a wee bit lost in the dark, even tho i might have ideas...
Im building a light controller for my bike, to handle turn indicators, brake lights, position lights and so on, and im concidering adding a solar cell to the project, so i dont have to remember to charge the battery..
The light controller project is based on a arduino nano, using a couple of mcp23007 pin extenders to tidy up the cable installation (from 16 wires in a ratsnest down to 4 in a Y harness).
The arduino is powered thru a self-disconnecting circuit (held connected with D13 = high, on with a momentary button) and the arduino also controls the other modules in a similar fasion, turning off parts that arent used (to minimize current leaks)
The whole system (including the lights) is powered from a central battery, currently a 5v cellphone power bank (mobile charger).
there are some power banks available at the local electronics store, with a builtin solar cell and charger on the side of the battery casing, and im thinking of adding one of those, to my project.
A battery monitoring circuit would be added to poll the voltage levels (possibly thru resistor voltage dividers) using arduino analog pins.
The idea is to measure the powerbank and the main battery, and if the main battery is low and the powerbank is (close to) full, then charge the main battery off the power bank battery.
There will be some low drop voltage regulators between the battery and the rest of the electronics, so a slight over-current will be fine (i belive my regulator can handle up to 26V, im planning on 2 or 3-cell lipo).
I did purchase some lipo charger PCB´s off ebay, i havent tested them or investigated them so i honestly dont know how they work (story of my life), but in worst case; im not afraid of building one, as long as i can find a schematic.
I have already some of the project PCB´s populated and completed, but the main card is currently being re-designed due to incompetence the first time, so i figured lets add all those bells and cup-holders that got scrapped on the initial PCB design..
So, does that battery charging idea sound valid somehow, or am i a idiot for not realizing it myself?
And does anyone have ideas of how to do it, or how NOT to do it?
Im not skilled in electronics AT ALL, just barely able to understand electrical schematics and im googling pretty much everything, but im not afraid of a little challenge, i mean, this is´nt rocket-science..
So if anyone has a torch, im a wee bit lost in the dark, even tho i might have ideas...