Introduction: Light Following Plant Robot

Picture of Light Following Plant Robot

In this instructable, I will show you how to make a robot that moves a plant towards light. This project was partially inspired by one of my older instructables, the planterbot. This project is mostly for fun; if left unattended, this robot can fall off a table or hit a wall. Sorry for the bad photos, the lighting wasn't as great and it is difficult to take good pictures of black acrylic.

Step 1: Parts and Tools

Picture of Parts and Tools

Here are the parts and tools that you will need to make this project:

Parts:

2x LDRs

4x 1k Ohm resistor

2x 2n2222a NPN transistor

Wire

1000 mAh battery (included with board)

Robot chasis

Small piece of acrylic (~4"x4")

Tools:

Soldering Iron and solder

Computer with latest version of the Arduino IDE an linkit ONE drivers

Hot glue and hot glue gun

Step 2: Wiring

Picture of Wiring

Use the attached circuit diagram to wire the circuit.

Step 3: Mount Sensors

Picture of Mount Sensors

Glue the LDR connected to A1 to the left side of the robot frame (side with the left wheel) and the LDR connected to A2 to the right side of the frame.

Step 4: Code

Picture of Code

Download the attached code and open it. Now, upload it to the linkit ONE board. Original code was made by Chowmix12 under the BY-SA-NC license. I changed some of the pin numbers used so it would work with the linkit ONE board.

Step 5: How It Works

Picture of How It Works

This robot follows light by using two LDR's. Each LDR detects light by varying voltages when the amount of light changes. When one LDR detects more light than the other, the motor opposite to to the sensor moves forward, while the other motor stays still. This makes the robot able to turn towards light. When the sensors have a sufficient amount of light, the robot stays still.

Step 6: Mount Board

Picture of Mount Board

Use a small amount of hot glue in each corner of the linkit ONE board. This should keep it secured to the chassis. Next, hot glue a small scrap piece of acrylic to the top of the board. Now, all you need to do is put a plant on top of the robot! A small ceramic pot should be heavy enough to stay still, but if you need to, use some glue to hold it in place.

Step 7: Done!

Thank you for viewing this instructable! If you liked it, please "like", comment or share.

Comments

DIY Hacks and How Tos (author)2015-11-25

Cool robot design

About This Instructable

504views

6favorites

License:

Bio: My name is Zach Sousa and I'm a Canadian highschool student that has a passion for making.
More by Zach Sousa:CNC Oak Watch BoxCNC Camera SD Card HolderEdge 3D 3.0 - A $200 3D Printer
Add instructable to: