Scanner Rgb Led Lamp Pwm Controlled by Arduino Nano

by BGprojectz in Circuits > Reuse

11808 Views, 111 Favorites, 0 Comments

Scanner Rgb Led Lamp Pwm Controlled by Arduino Nano

P1040048.JPG

Recycled scanner rgb led lamp pwm controlled by Arduino Nano

Final Result

Scanner rgb led lamp PWM controlled by Arduino Nano

This is what you get if you follow this instructable.

Find a Printer

hp_officejet_6500a_plus_eallinone_printer_705905_g3.jpg

Look for a broken hp all in one printer. (Other brands can also have the parts, but I used hp)

Try to find a relatively new model. The older ones sometimes have a CCFL lamp instead of LED lamp.

Obtain the Rgb Led Lamp (1)

image101.jpg
image102.jpg

Look for this part in the scan unit of the printer.

Obtain the Rgb Led Lamp (1)

image100.jpg

Remove the motor part

Obtain the Rgb Led Lamp (2)

image104.jpg

Remove the solder from the 4 pins.

Be sure all the pins are completely detached from the pcb.

Obtain the Rgb Led Lamp (3)

image105.jpg
image103.jpg
image107.jpg

Put a screwdriver under the pcb (start at the opposite side of the desoldered pins) and pull the two pieces gently apart.

Obtain the Rgb Led Lamp (4)

image108.jpg
image106.jpg
image110.jpg

The pcb is now removed.

Turn the black plastic part upside down, and now you can remove the led lamp.

A screwdriver can be a useful.

The Rgb Led Lamp

image111.jpg

The actual led lamp is the small part with the 4 legs. The long white extension is a kind of prism light diffuser.

It's a common anode led (shared positive pin)

Pinout from top to bottom (if you hold the led as in my picture):

Green, Red, Blue, common anode

Connect the Led With Arduino Nano

rgb.jpg

Connect the led as in the picture.

I don't know the exact specifications of this led, so I used resistor values slightly higher than probably necessary.

Resistors:

red: 200 Ohm

Green and blue: 150 Ohm

Arduino Code

Upload the code to get the same effect as in my video

Or customize it to your liking.

Downloads