Zedomax DIY 128 - HOW TO Make a Glowing Heart LED Night Light!


Image:glowing-heart.jpg

Click Here to View in Full Screen Mode

Click Here to View in Full Screen Mode

I was at my local Dollar Store the other day and when I saw this Heart shaped Touch Light, I had to hack one for my gf.Here’s a quick hack on how to make a regular Touch Light and make it into a Glowing Heart Night Light.

Click on “Continue reading” to see the complete howto.

Parts List

Touch Light from local Dollar Store: $1

CB220 Proto Board: $5

CB220 Module: $34

12V Adaptor: $9

11 RED High Output LEDs : about $5

Soldering stuff

screw driver

Total Cost for parts: $54

Image:diy128-1.jpg

1) First you get the parts ready…

Image:diy128-2.jpg

2) Unscrew the screws on the Tough Light and open it up.

Image:diy128-13.jpg

Image:diy128-3.jpg

3) Build the Proto-board and then build the circuit.

Image:diy128-4.jpg

4) Get rid of the bulb.

Image:diy128-5.jpg

5) You can use a 12V adaptor to power the thing or use 9V battery too.

Image:diy128-6.jpg

6) Cut the end of the adaptor and slide it through the holes in the Heart Touch Light.

Image:diy128-7.jpg

7) Connect the cut lines to the DC Jack of the protoboard

Image:diy128-9.jpg

8) Connect the DC Adaptor ends as shown above.

Image:diy128-10.jpg

9) Place the whole board on top.

Image:diy128-11.jpg

10) Get a piece of plastic or make a little film piece using scotch tape.

Image:diy128-12.jpg

11) tape it nice so the board stays in tact.

12) Download this program to the CUBLOC CB220 module:

Const Device = CB220

Dim Duty As Integer
Dim direction As Byte
Dim onoff As Byte
Dim ct As Byte
onoff=0

Output 5
Output 6
Output 7

Duty=0
direction=0
On Timer(5) Gosub here

Do
Loop

here:

	If direction=0 Then
		Duty=Duty+25
	Else
		Duty=Duty-25
	End If

	Pwm 0,Duty,1024
	Pwm 1,Duty,1024
	Pwm 2,Duty,1024

	If Duty>1024 And direction=0 Then direction=1
	If Duty<5 And direction=1 Then
		direction=0

		For ct=0 To 15
			onoff = onoff Xor 1
			Out 0,onoff
			Out 1,onoff
			Out 2,onoff
			Out 3,onoff
			Out 4,onoff
			Wait 50
		Next
	End If

Return

12) Screw the whole Touch Light together and test it out!

Printable Wiki version here




Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,


Rate

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...
  • Andy
    the strobe would keep me up at night (it must be a night time party light)
  • max
    yeah, that might be the idea there... hehe...
    Great IDEA! :0)
  • girrrrrrr2
    you should add a function to make the whole thing shut off after a certian time...
  • Izl
    Thats cool , good gift for the girls
blog comments powered by Disqus

Related Posts

Bookmark It!


Email this to a Friend Email This Post Email This Post

If you like this post then please subscribe to my full feed RSS. You can also subscribe by Email.

Got a new hack, DIY, howto, or gadget? Tip us here.

Try Goohack to find a new Hack:


Featured Sites From Zedomax Blog Network