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

19 posts / 0 new
Last post
FearOfTheDark
Offline
Last seen: 6 days 13 hours ago
Joined: 12/19/2020 - 16:39
Posts: 42
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 51 min ago
Joined: 02/20/2020 - 18:53
Posts: 1185

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: 4 hours 17 min ago
Joined: 01/11/2018 - 22:23
Posts: 2273
Location: Ohio, United States

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

MtnDon
MtnDon's picture
Online
Last seen: 2 min 26 sec ago
Joined: 08/27/2015 - 18:25
Posts: 4060
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 13 hours ago
Joined: 12/19/2020 - 16:39
Posts: 42
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 13 hours ago
Joined: 12/19/2020 - 16:39
Posts: 42
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 13 hours ago
Joined: 12/19/2020 - 16:39
Posts: 42
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 13 hours ago
Joined: 12/19/2020 - 16:39
Posts: 42
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
Asian8640's picture
Offline
Last seen: 2 hours 7 min ago
Joined: 02/21/2019 - 21:29
Posts: 146
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.

Old Lumens Contest Entries: "7th 5mm LED Lantern":https://budgetlightforum.com/node/70438 and "9th Copper Pipe Triple":https://budgetlightforum.com/node/79484

FearOfTheDark
Offline
Last seen: 6 days 13 hours ago
Joined: 12/19/2020 - 16:39
Posts: 42
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: 10 hours 19 min ago
Joined: 09/03/2014 - 12:34
Posts: 2346

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

wcddesign
Offline
Last seen: 28 min 43 sec ago
Joined: 11/25/2021 - 21:49
Posts: 63
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: 4 hours 21 min ago
Joined: 09/26/2018 - 10:39
Posts: 519

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 

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

YuvalS wrote:

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

Thank you Yuvals, sure it’s okay to comment. I am using protection circuit so no worries.

Today’s update:
I soldered all components and done with electronics Smile


Insulate the battery with electrical tape


Connecting a protection circuit


Connecting a charging circuit


Connection LEDs, controller and a switch


Check that everything works

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

Thanks to the weekend, I was able to make significant progress in the project:


Marking the base of the lamp


Cutting and drilling holes for screws and switch


Placing all parts inside the lantern


Connecting the magnetic charging port


Connecting the switch


Sealing with glue

Asian8640
Asian8640's picture
Offline
Last seen: 2 hours 7 min ago
Joined: 02/21/2019 - 21:29
Posts: 146
Location: New York, United States

Keep going! YOU CAN DO IT! 2 days left until that timer hits zero.

Old Lumens Contest Entries: "7th 5mm LED Lantern":https://budgetlightforum.com/node/70438 and "9th Copper Pipe Triple":https://budgetlightforum.com/node/79484

MtnDon
MtnDon's picture
Online
Last seen: 2 min 26 sec ago
Joined: 08/27/2015 - 18:25
Posts: 4060
Location: Canuk in NM

Looks like we just need to see an “all done” and a lit-up image. Thumbs Up

gchart
gchart's picture
Offline
Last seen: 2 hours 8 min ago
Joined: 03/19/2016 - 11:57
Posts: 3194
Location: Central IL

Yup, can’t wait to see the final product. Nice build!

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

Since you guys asked nicely Smile
Here is a video:
At first, the light is on.
Then, when connected to power, it turns of and the red charging indication is lit.
When fully charged, blue indication is lit.