Hello!
For the past few weeks i have been thinking about trying to build my own custom flashlight, a small compact one that i can keep in my pocket all day.
Mostly to get one feature i would love to have, a battery level indicator.
I would like to know how many hours the lamp will be able to run.
The electronics are not a problem, i have build way more complicated things but one part that gives me a headache is, the human interface, the "display".
The light needs to have a few brightness levels, i would like to make it continously variable which presents a problem with the display since the remaining battery life needs to be calculated with the current brightness, a simple bar graph is not that helpfull in that case.
I need a solution that is nice to look at, durable and is not too cumbersome.
My first idea was a cheap chinese OLED, one of the small 128x64 pixel SSD1306 displays, but that is a bit flashy but i got a few of those in my parts drawer.
A small LED matrix, 5x20 pixel fits the idea nicely but takes up a lot of space.
A LED bar graph provides not too much data and is not scaleable.
A regular backlit COG LCD is fairly thick and big as well.
A seven segment LCD needs a bit of additional circuitry, i could not find a decent one that fit my needs.
A really neat idea i had, takes up a lot of room, one or two of these small chinese linear stepper motors with a needle display and scale.
The rough idea is to run it of a sigle Li* cell and make it re-chargeable with a micro usb connector and put a fuel gauge ic in it.
I have all the parts i need left over from other projects, so i am a bit set with a few components that i want to use.
It is all SSOP/TQFN/SON with 0805 passives, so the circuit needs quite a bit or board space since i only can do double layer boards.
Who made it this far, thank you for reading, i hope you got some feedback for me!
Greetings,
Peter
For the past few weeks i have been thinking about trying to build my own custom flashlight, a small compact one that i can keep in my pocket all day.
Mostly to get one feature i would love to have, a battery level indicator.
I would like to know how many hours the lamp will be able to run.
The electronics are not a problem, i have build way more complicated things but one part that gives me a headache is, the human interface, the "display".
The light needs to have a few brightness levels, i would like to make it continously variable which presents a problem with the display since the remaining battery life needs to be calculated with the current brightness, a simple bar graph is not that helpfull in that case.
I need a solution that is nice to look at, durable and is not too cumbersome.
My first idea was a cheap chinese OLED, one of the small 128x64 pixel SSD1306 displays, but that is a bit flashy but i got a few of those in my parts drawer.
A small LED matrix, 5x20 pixel fits the idea nicely but takes up a lot of space.
A LED bar graph provides not too much data and is not scaleable.
A regular backlit COG LCD is fairly thick and big as well.
A seven segment LCD needs a bit of additional circuitry, i could not find a decent one that fit my needs.
A really neat idea i had, takes up a lot of room, one or two of these small chinese linear stepper motors with a needle display and scale.
The rough idea is to run it of a sigle Li* cell and make it re-chargeable with a micro usb connector and put a fuel gauge ic in it.
I have all the parts i need left over from other projects, so i am a bit set with a few components that i want to use.
It is all SSOP/TQFN/SON with 0805 passives, so the circuit needs quite a bit or board space since i only can do double layer boards.
Who made it this far, thank you for reading, i hope you got some feedback for me!
Greetings,
Peter