
.
.
Light guided rotating and moving plastic container
In previous Maker tutorials WE were using LEDs and vibration motors, WE will continue with it and adding some NEW components: a transistor and a LDR (Light-Dependent Resistor). WE will use ALSO AGAIN a plastic container, this time a transparent one so that persons could see WHAT’S inside (for the curious ones) 😉 This will ALSO push the makers WHO are building this project to work neatly as everyone could see the quality of THEIR work!!
Thus said, let me tell YOU that I first tried to fix the battery holder and the switch with instant glue; it didn’t work well!!
Example with instant glue to fix the battery holder and the switch: BAD solution as the glue reacts with the plastic and makes a BAD looking, NOR are they real well fixed on the plastic!!
.
BETTER solution is to fix (solder) the battery holder and the switch on a small part of stripboard and to make the connection to the main stripboard (where all the components are) through a flat cable. Therefore we need to drill some holes with a 1 mm drill exactly there where the pins of the switch and the battery holder are. Now measure the length of the stripboard and once the holes are drilled, place the switch and the battery holder and solder them on the stripboard.
.
.
NEW components are used in this project as a transistor, an LDR and a trimmer (adjustable resistor)
WE are using a transistor is this project; a transistor is a semiconductor who basically works as a switch or an amplifier. WE will NOT GO to much into theory, YOU can discover more in the “Learn more section below”.
START Text from http://www.build-electronic-circuits.com/ldr-circuit-diagram/
.
Learn more:
.
The schematics of our project
Here below the schematics where YOU will see how the components are represented; ONLY eight (8) parts. The two vibration motors are in parallel.
.
.
.
Learn more:
.
The components
Please find below the components:
.
.
For the details, please check below.
.
Detailed parts list, supplier and prices
Please find below the detailed parts list as well as the supplier and the prices.
.
Item and quantity |
Supplier and order number |
Price |
A bit flat cable, silver wire and 1 x drinking straw | CONRAD: 604069-62 | 0,50€ |
1 x LDR (Light Depending Resistor) | CONRAD: 140374-62 | 2,59€ |
A bit heat shrinking tube | 0,50€ | |
1 x Switch | ADAFRUIT: ID 805 | 0,95€ |
1 x Battery CR2430 | CONRAD: 612987-62 | 3,99€ |
2 x Vibrating Motors from Adafruit |
ADAFRUIT: ID 1201 à 1,95€ |
3,90 € |
1 x 5mm flashing LEDs from Adafruit pack of 10 is $4.95 | ADAFRUIT: ID 680 | 0,50 € |
1 x Battery holder | CONRAD: 65058-62 | 1,15€ |
1x Trimmer (variable resistor) 100k | CONRAD: 423858-62 | 2,69€ |
1 x Transistor BD137-16 | CONRAD: 151036-62 | 0,23€ |
Total: | 17€ |
.
As you can see it is a very cheap project, ONLY 17 € and easy to realize! ALL what YOU need is a bit time, passion and here we GO! 😉 Have FUN!
Online ordering links:
.
.
.
I used the upper cup of a yogurt (0,89€) which is transparent and BTW is delicious 😉.
The tools needed
Check below please WHAT the tools are that you will need for this project. The small saw is needed to cut the stripboard.
.
.
WE need also a mini drill to drill the wholes for the switch, the battery holder and the whole for adjusting the variable trimmer resistor.
.
.
Details of the LED in the drinking straw
WE are using a multi color LED from ADAFRUIT (ID 680), a Diffused 5mm Fast Flashing RGB LED, which works with a voltage of 3 Volts; so we don’t need any resistor in series. To make a neatly connection we will use a flat cable and to avoid a shortcut we will fix our soldering with heat shrinking tube. Please follow the steps below.
.
.
.
.
The LED will get soldered on the Plus and Minus of the second stripboard; it will flash permanently as far as the switch is on “ON position”.
.
.
Learn more:
.
.
.
Practical Tip: LEDs are transparent, so the Cathode (Minus) looks always a bit larger as the Anode (Plus).
.
.
The MAIN stripboard with the components
Below YOU can see the work in progress.
.
.
.
.
In above photo you can see the soldering on the stripboard as well as the fixing with hot glue on the bottom.
.
Some adjustments are needed
Do YOU remember that WE drilled a hole just in the height of the axis of the trimmer (adjustable resistor)? Check photo below, please.
.
.
For this WE will need a 1 mm screwdriver and a torch. I used a mini LED torch from CONRAD (Item no.: 868885-62 for 6,99€).
.
.
How-To make the adjustments: put the light source in front of the LDR and trim with the 1 mm screwdriver until the motors are vibrating, if the motors are already vibrating trim back (turn the reverse direction…). This might take some time until you got it to the right point; the motors should only vibrate WHEN the light source is on!!
.
The video of our project
.
.
Check out this video, which explains very well how it works.
.
.
.
The author Gust MEES is ICT Course Instructor, ”Member of the Advisory Board” from “Luxembourg Safer Internet” (LuSI), BEESECURE, Official Partner (Consultant) from the Ministry of Education in Luxembourg, project “MySecureIT“, Official Partner from the Ministry of Commerce in Luxembourg, project “CASES” (Cyberworld Awareness and Security Enhancement Structure). The author was also a winner of an electronics contest (Germanic countries) in 1979 and got his project published in the “Electronics Magazine ELO”). |
.
Stay tuned for next blog post(s) 😉
..
.
Keywords necessary for me to create this blog post: LDR, Light Depending resistor, resistors, vibrating motors, LEDs, transparent plastic container (yogurt), strip board, flat cable, drinking straw, drilling, adjustable resistor, trimmer, transistor, drilling, hot glue,
.
.