Close
0%
0%

The Companion Light v1.0

A DIY Solar-Charged Flashlight and Lamp

Similar projects worth following
The Companion Light is a weekend project made using basic components and a joule-thief IC made for solar-powered lights. It is an easy-to-create project for makers who are interested in power electronics and solar energy. Read on!

CONTEXT

For a while now, I haven't been able to create a project outside of college. Due to the December break that had just passed, I was able to think of a weekend project (which actually took me three weekends due to several reasons) when I first saw a solar garden light that one of my neighbors had in their garden. And I thought, what if I make one that serves as both a flashlight and desk lamp? As such, I decided to act on that idea. It was perfect timing as well, as I recently received a 3D printer on Christmas day, which was something I've always wished for (thanks mom and dad :>). And so, it was time to design my project, The Companion Light. Let this section of the project serve as a guide if you ever want to make your own.

Note: This project's PCB is a prototype, I will be creating a professionally-designed PCB for it in a future update.

ELECTRONIC DESIGN AND CONCEPT

The Companion Light v1.0
The Companion Light's Schematic

As with any device using an IC, I simply relied on the datasheet to provide me with an optimal way of implementing the circuit. The IC I used is called the YX8018, a cheap joule-thief IC commonly used in solar garden lights, the reason why I was inspired to create this project in the first place. The IC basically steps up a 1.2V input to create 3V at its output. Moreover, the inductor placed in between pins 1 and 4 induces a specific amount of current at the output depending on its value. I added a capacitor between input and ground to ensure enough voltage is entering the circuit. (Note: Check the designer's notes in the schematic and the references section for videos and datasheets on the YX8018.) 


PROCESS

After calculating for the necessary components' values, I came up with a list of materials to put the circuit together:

Parts/Components:

(1) 1.5V 150mA Solar Cell

(1) 1N4001 Diode

(1) SPST Switch

(1) 1.2V 2Ah NiMH Battery

(1) 100 uH Inductor

(1) 0.1 uF Capacitor

(1) Straw Hat LED

(1) 1.2V Single Cell Battery Clip

(1) 3D-Printed Enclosure

(1) Protoboard (preferably small)

Jumper Wires

After gathering the components, I then proceeded to implementing the circuit in a breadboard without the solar panel, as all I needed to know at the time was whether or not the IC could actually provide enough current to the LED. And as expected, it did. I then proceeded to solder the components into a small prototyping board I cut from an old project. Upon testing, the circuit worked in a protoboard setting, using a 700 mAh rechargeable NiCd battery. 

Breadboard Testing
Breadboard Testing
Protoboard Testing
Protoboard Testing

In the protoboard test, it can be seen that I am using an old 5V solar panel. However, I do not recommend using a 5V solar panel for this project in its permanent form. I merely used the 5V solar panel to see if it actually charges the IC. In its final iteration, my device ended up using a 1.5V solar panel, and even then, it is not recommended to keep the device under the sun for a long time. This will be explained further in the design limitations section of the project.

After assembling the electronics, I moved on with the structural side of the project. I proceeded to design a simple enclosure for the electronics. I designed it in such a way that it could be small enough to be handheld, contain the 1.5V solar panel, can reflect light more intensely (by spray painting the reflector in silver, which is seen in the output section), and potentially be hung on a keyring (by adding two small holes on the enclosure where the keyring or a string may pass through). I also printed it using PLA filament from eSun, with a 0.16mm printing resolution. The resulting enclosure is seen below:



OUTPUT

The Companion Light

To say the least, I was proud of my weekend project. Not only was I able to say confidently that I have gotten better with designing electronic circuits, but I was able to create something with utility. Furthermore, I also got to use my 3D printer...

Read more »

The Companion Light.pdf

The Companion Light v1.0 Schematic

Adobe Portable Document Format - 655.49 kB - 01/27/2024 at 16:40

Preview
Download

View project log

Enjoy this project?

Share

Discussions

Leo Fernekes wrote 02/01/2024 at 07:39 point

If I was a newbie, I would connect those nets together and... BOOM.

Maybe you can find a better way to illustrate this or at least add a note?

  Are you sure? yes | no

Leo Fernekes wrote 02/01/2024 at 06:47 point

As drawn, the battery is shorted out directly when the switch is closed.

Check the net PWR_FLAG what is this about?

  Are you sure? yes | no

Ken Yap wrote 02/01/2024 at 07:28 point

Ah no, PWR_FLAG is not a label but a special symbol that's used to suppress Electrical Rule Check warnings. It's a KiCad EDA thing.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates