Motion Detecting Dog

by simplecomponents in Circuits > LEDs

25 Views, 0 Favorites, 0 Comments

Motion Detecting Dog

Motion Detecting Dog 01 Toy.jpg
Motion Detecting Dog 02 Step 01 Design the Circuit.jpg
Motion Detecting Dog Video 1
Motion Detecting Dog

This article is about making a dog that "blinks" when motion is detected. If you play the first video you will see that the dog's eyes (the two green LEDs) turn OFF when I move my hand behind the sensor. The second video shows all the steps in making the dog. You can either watch the second video or read this article.

Supplies

Components: 10 mm thickness LEDs (5 mm or 3 mm thickness LEDs might appear to be a bit too small) - 3 (you might need spare), Light Dependent Resistors (LDRs) - 3 (you might need spare), lead free solder, electrical tape, cardboard, transparent sticky tape, 1.2 mm thickness metal wire.

Tools: 60 W soldering iron, circuit holder, pliers, wire stripper, ruler, pen/pencil and scissors.

Optional tools: multi-meter.

Design the Circuit

F8OK0H6MSHTHJPA.jpg
FHF36WOMSHTHGN2.jpg

The circuit design is very simple. The resistance of light dependent resistor (LDR) drops when the sensor is exposed to light. The smaller is the LDR resistance the higher is the LED current and the brighter is the LED light. When I cast a shadow on the LDR sensor (that you see in the back of dog's head) the LDR resistance increases and the LEDs current falls making it look like they (LEDs) are OFF. The current across each LED is equal to:


Iled = (Vs - Vled) / (Rldr / 2) / 2


(Where: Vs is the 9 V power supply, Vled is the voltage across the LEDs and Rldr is the resistance of the LDR)


The total resistance across two equal resistors is equal to the resistance of each resistor divided by 2.


Rt = R1 * R2 / (R1 + R2)

Since R1 = R2 then:

= R1 * R1 / (2 * R1)

= R1 / 2


I connected to LDRs in parallel to reduce the total LDR resistance and thus increase the LED brightness and increase the circuit sensitivity. According to specifications the minimum resistance of LDR is 2,800 ohms or 2.8 kohms. The minimum resistance of two LDRs connected in parallel will be 2.8 kohm / 2 = 1.4 kohms or 1,400 ohms. Now we can find the maximum LED current.


IledMax = (Vs - Vled) / (RldrMin / 2) / 2

= (9 V - 2 V) / 1,400 ohms / 2

= 2.5 mA


This is a small current. We can increase the maximum current by adding another LDR in parallel or using an LDR with smaller minimum resistance. However, this would cost a lot of money and it is obvious from the video and photos that this current seems to be sufficient to provide a reasonable LED brightness.

Strip the Battery Harness Wires

Motion Detecting Dog 03 Step 02 Strip the 9 V Battery Harness Wires.jpg

Use the wire stripper to strip the battery harness wires.

Connect the Two Light Dependent Resistors (LDRs) Together

Motion Detecting Dog 04 Step 03 Join Two LDRs.jpg

Use pliers to connect the two light dependent resistors together.

Connect the Circuit

Motion Detecting Dog 05 Step 04 Connect the Circuit Photo 1.jpg
Motion Detecting Dog 06 Step 04 Connect the Circuit Photo 2.jpg
F8OK0H6MSHTHJPA.jpg

Use pliers to connect the circuit as shown. The longer LED pins should be connected to the positive (LDR) and the shorter LED pin should be connected to the negative (black wire).

Soldering

Motion Detecting Dog 07 Step 05 Soldering.jpg

Place the circuit into the circuit holder as shown in the photo. Use 60 W soldering iron to solder the circuit.

Insulate the Connections With Electrical Tape

Motion Detecting Dog 08 Step 06 Insulation.jpg

Insulate the connections with electrical tape.

Cut Out the Dog's Body Shape

Motion Detecting Dog 09 Step 07 Cut Out the Body Shape Photo 1.jpg
Motion Detecting Dog 10 Step 07 Cut Out the Body Shape Photo 2.jpg
Motion Detecting Dog 11 Step 07 Cut Out the Body Shape Photo 3.jpg

Cut out the dog body shape. The dimensions are 10 cm by 7 cm rectangle. You then roll the rectangle into a tube. This tube must fit a 9 V battery that will be placed inside. The length of this tube will be 7 cm.

Cut Out the Dog's Head and Ears Shapes

Motion Detecting Dog 12 Step 08 Cut Out the Head and Ears Shape Photo 1.jpg
Motion Detecting Dog 13 Step 08 Cut Out the Head and Ears Shape Photo 2.jpg

Cut out the dog's head and ears with scissors. Cut out two rectangles. One 4 cm by 7 cm (the head) and another 4 cm by 3 cm (the ears). Use scissors the cut the holes in the middle of the larger rectangle and insert the two LEDs. Now you roll the larger rectangle into a tube leaving the circuit inside.

Cut Out the Dog's Ears From the Smaller Rectangle

Motion Detecting Dog 14 Step 09 Cut Out the Ears Photo 1.jpg
Motion Detecting Dog 15 Step 09 Cut Out the Ears Photo 2.jpg

Draw the ears on the smaller rectangle (4 cm by 3 cm) from the previous step and cut them out. Attach the ears to the head with transparent tape as shown in the photo.

Make the Dog's Legs

Motion Detecting Dog 16 Step 10 Make the Legs Photo 1.jpg
Motion Detecting Dog 17 Step 10 Make the Legs Photo 2.jpg

Make the legs from 1.2 mm thickness metal wire. You can cut the wire with pliers.

Attach the Dog's Tail

Motion Detecting Dog 18 Step 11 Make the Tail.jpg

Make the dog's tail and attach as shown in the photo.