FearOfTheDark's Hand Made Light for the 9th Annual BLF/OL Contest

13 posts / 0 new
Last post
FearOfTheDark
Offline
Last seen: 6 days 7 hours ago
Joined: 12/19/2020 - 16:39
Posts: 34
Location: Israel
FearOfTheDark's Hand Made Light for the 9th Annual BLF/OL Contest

I know not everyone liked my previous build so this year I will build something much more standard.
The planning is not yet final. It will be a lantern / emergency lighting with a magnetic charging that turns on automatically during a power outage.
Hope you will like it…..

turkeydance
turkeydance's picture
Offline
Last seen: 5 hours 7 min ago
Joined: 02/20/2020 - 18:53
Posts: 1085

thank you for planning.

would you try these three things?

1. 4000K max. above that is too harsh for me.
2. super-simple operation. no strobe or SOS.
3. a stable base which is not easy to turn over.

the reasons for those are:
1. we cover or diffuse the harsher lights (lampshade?).
2. young children could understand how it works.
3. children/pets/Grandmother.

Scallywag
Scallywag's picture
Offline
Last seen: 8 hours 20 min ago
Joined: 01/11/2018 - 22:23
Posts: 2200
Location: Ohio, United States

I thought your build was great. Please build what makes you happy

MtnDon
MtnDon's picture
Offline
Last seen: 52 min 44 sec ago
Joined: 08/27/2015 - 18:25
Posts: 3918
Location: Canuk in NM
Scallywag wrote:
I thought your build was great. Please build what makes you happy
Thumbs Up that is what I do
FearOfTheDark
Offline
Last seen: 6 days 7 hours ago
Joined: 12/19/2020 - 16:39
Posts: 34
Location: Israel

turkeydance wrote:
1. 4000K max. above that is too harsh for me.
I am using 5mm LEDs array so not many K option are available
turkeydance wrote:
super-simple operation. no strobe or SOS
It is super simple operation: On when during power outage
turkeydance wrote:
stable base which is not easy to turn over
I am planning to use a semi-sphere body so should be stable
FearOfTheDark
Offline
Last seen: 6 days 7 hours ago
Joined: 12/19/2020 - 16:39
Posts: 34
Location: Israel

Scallywag wrote:
I thought your build was great. Please build what makes you happy

I build the lights I need Smile
We have many power outage in my area so an automatic emergency light is curtail for me in order to find my light in the dark
FearOfTheDark
Offline
Last seen: 6 days 7 hours ago
Joined: 12/19/2020 - 16:39
Posts: 34
Location: Israel

In this year’s project I tried to use as many recycled components as possible.
I took LEDs from a broken flashlight / lantern.
I disassembled the charging circuit from an old Powerbank.
As a body I will use a plastic from a burnt LED bulb. I will close it using Plexiglas pieces I have at home.
The Lipo cell is from a camera battery.
I only had to buy the microcontroller and the charging cable.

FearOfTheDark
Offline
Last seen: 6 days 7 hours ago
Joined: 12/19/2020 - 16:39
Posts: 34
Location: Israel

Brief update from today: I have soldered the micro controller to a board and added 2nd micro USB socket for the magnetic charging

Asian8640
Offline
Last seen: 38 min 28 sec ago
Joined: 02/21/2019 - 21:29
Posts: 113
Location: New York, United States

Looking good! I was planning to do something similar originally, but went another way. I’m really looking forward to your completed project.

FearOfTheDark
Offline
Last seen: 6 days 7 hours ago
Joined: 12/19/2020 - 16:39
Posts: 34
Location: Israel

Thank Asian8640.

The day was devoted to writing the code Smile
I thought it would be more complicated but in the end it came down to two lines:

void setup() {pinMode(0, OUTPUT);} void loop() {digitalWrite(0, !digitalRead(3));}

When power stops coming from the power supply to pin 2 – the LEDs turn on.

G0OSE
G0OSE's picture
Offline
Last seen: 12 hours 17 min ago
Joined: 09/03/2014 - 12:34
Posts: 2330
Location: UK SW

Nice to see your progress, I’m all for keeping it cheap and simple – reusing components or modifying existing bits!

wcddesign
Offline
Last seen: 4 hours 48 min ago
Joined: 11/25/2021 - 21:49
Posts: 22
Location: United States

This sounds so interesting to me. I have no experience with microcontrollers or writing code for them. Though I did write code for PCs long, long ago.

What is that language? Is it specific to microcontrollers?

YuvalS
YuvalS's picture
Offline
Last seen: 9 hours 27 min ago
Joined: 09/26/2018 - 10:39
Posts: 507

FearOfTheDark wrote:
void setup() {pinMode(0, OUTPUT);} void loop() {digitalWrite(0, !digitalRead(3));}

Hope it is OK to comment on the code, I think you have a design issue: In case of long blackout your light will drain the battery to 0V. you have to add a low voltage protection.
You can do it by FW or HW

My FW repository

My BLF/OL contest entries: 7th 8th 9th