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
script or proggramming for the arduino
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: script or proggramming for the arduino
An Arduino can handle the programming.
A WaveShield can do the sound.
And there are many kinds of sensors, what did youhave in mind?
A WaveShield can do the sound.
And there are many kinds of sensors, what did youhave in mind?
-
- Posts: 3
- Joined: Thu Apr 07, 2011 6:21 am
Re: script or proggramming for the arduino
one that senses movement in front of it in like a certain range, and would you know this script?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: script or proggramming for the arduino
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.
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.
-
- Posts: 3
- Joined: Thu Apr 07, 2011 6:21 am
Re: script or proggramming for the arduino
thanx i think i will use the sonic 1 or infrared. what is the maximum distance for infrared? im still very new to electronics
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: script or proggramming for the arduino
About 1 meter. Check the link I posted. You will find a complete data sheet for the device.
Please be positive and constructive with your questions and comments.