script or proggramming for the arduino

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
rub3n
 
Posts: 3
Joined: Thu Apr 07, 2011 6:21 am

script or proggramming for the arduino

Post by rub3n »

hi im new to this stuff
i was wondering if you could like have a sensor then it activates 2 leds then makes rc car move forward and play a sound and stop
so its kinda like this (time line)

M>2 sec STOP
L>3 sec STOP
S> sound finish

M=move
L=leds
s=sound
if any one can help thank you

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: script or proggramming for the arduino

Post by adafruit_support_bill »

An Arduino can handle the programming.
A WaveShield can do the sound.
And there are many kinds of sensors, what did youhave in mind?

rub3n
 
Posts: 3
Joined: Thu Apr 07, 2011 6:21 am

Re: script or proggramming for the arduino

Post by rub3n »

one that senses movement in front of it in like a certain range, and would you know this script?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: script or proggramming for the arduino

Post by adafruit_support_bill »

PIR sensors detect movement of warm bodies (e.g. humans or animals). They do not tell you how far away it is.
Ultrasonic sensors detect the distance to the nearest object in front of them.
Infrared sensors do the same, but over a shorter distance.

There are tutorials and sample code for all of these sensors.

rub3n
 
Posts: 3
Joined: Thu Apr 07, 2011 6:21 am

Re: script or proggramming for the arduino

Post by rub3n »

thanx i think i will use the sonic 1 or infrared. what is the maximum distance for infrared? im still very new to electronics :P

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: script or proggramming for the arduino

Post by adafruit_support_bill »

About 1 meter. Check the link I posted. You will find a complete data sheet for the device.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”