Go Down

Topic: 2wd light follower. need some help, beginner stuff (Read 698 times) previous topic - next topic

michaeli

Hi Forum people, I am brand new to arduino, and these forums.

I purchased a 2wd robot that is supposed to follow a light. it never came with any code however. Here is the link to the robot http://tinyurl.com/l35xjg8

I have an Arduino Uno r3 conected to it, and am wondering if you could help me with some code to get started?

I would like this to use the two photocell sensors on the front to determine which stepper motor to drive. Ideally, I could shine a flashlight on the ground and the robot will follow it.

I am hoping by doing this, I wil learn how to control 2 stepper motors at once, based on input from two sensors.

Thanks in advance, I really would appreciate your help.

Michael

Drew Davis

Look at this…
http://www.4tronix.co.uk/arduino/Stepper-Motors.php

Go Up