A simple sound activated bot, turn On when there is a sound and turn off if it hear sound again, It don't have any specific purpose just a toy with minimum intelligence lol.
This robot uses sound detecting sensor, which actually produces vibration whenever there is a noise, it cannot measure the db of the sound that producing, all it can do is to produce a signal when there is a sound .
int Tomotor = 8; // signal to motor driver
int soundsensor = 7; // input from sound sensor
boolean state = false;
void setup()
{
pinMode(Tomotor, OUTPUT);
pinMode(soundsensor, INPUT);
}
void loop()
{
if (digitalRead(soundsensor) == LOW)
{
delay(100);
state = !state;
digitalWrite(Tomotor, state);
}
}
--------------------------------------------------------------------------------------------------------------------------
This robot uses sound detecting sensor, which actually produces vibration whenever there is a noise, it cannot measure the db of the sound that producing, all it can do is to produce a signal when there is a sound .
sound sensor
Arduino Program:
--------------------------------------------------------------------------------------------------------------------------
int soundsensor = 7; // input from sound sensor
boolean state = false;
void setup()
{
pinMode(Tomotor, OUTPUT);
pinMode(soundsensor, INPUT);
}
void loop()
{
if (digitalRead(soundsensor) == LOW)
{
delay(100);
state = !state;
digitalWrite(Tomotor, state);
}
}
--------------------------------------------------------------------------------------------------------------------------
please give steps to make voice controlled robot with this same connections but when we say 'forward', it have to move forward likewise ......
ReplyDeleteWill robots help us alot in The future?
ReplyDeletebuild robots
I really loved reading your thoughts, obviously you know what are you talking about! Your site is so easy to use too, I’ve bookmark it in my folder
ReplyDeleteHigh Voltage EPROM Man
admin plz could you post the circuit diagram to my email as I am trying to make this toy please
ReplyDeleteI really like your blog and must appreciate this because it's have many information.
ReplyDeleteFreak Your Fridge Haier America
Nice post. Time and Attendance system
ReplyDeleteThank you for sharing this a great and very helpful information about the Drone Accessories well done.
ReplyDeleteDrone Mega Store
Fantastic blog and very nice technology which i really appreciate your information about the drone video service it's too cool for us.
ReplyDeletedrone photography
Is shooting at personal drones flying over your house OK?
ReplyDeletephantom 4 travel case
Nice information provided join RPA online training
ReplyDeletegood
ReplyDeleteI got such a good information on this topic its very interesting one. You made a good site and I have found a similar website, please check this one Splined Bushings visit the site to know more. Regards, from https://hydrauliquescontinental.ca
ReplyDeleteFull control over your funds while perform transactions with bitcoin exchanger trusted fast website working as highest degree of security privacy and professionalism
ReplyDelete