Hello, I would like to know if it is possible to have the Arduino recognize different sounds and react to them. I would be using a surround sound system to play the sounds off of a cd to start with. So I would just use one set of wires that would normally be sent to a speaker. What hardware would I need to use to "teach" the Arduino to recognize a sound(S) and react to it? Also how hard would the programing be?
Hello, I need help asap because I have a competition tomorrow morning. I have a light sensor and when nothing is over it the analog value is about 110. When something crosses over it the reading jumps to about 1020. I got my Arduino set up today and the value was 1021-1022 and when something crosses over it the value stays at 1022. I have no idea why and I will have only 30min tomorrow to fix it. I have checked all the wires and they seem to be in place. And all the other sensors are working one of which is an identical sensor. Any suggestions you have for me would be greatly appreciated. Also the program did not change and the lighting seems to about the same as my room.
The analog value is what changes. I did not expect any certain value but I wanted it to stay consistent based on what the sensor sees.
For the first 10 seconds or so the readings are all over the place then it starts to become somewhat consistent (+/- 10).
If i power it off and turn it on a few seconds later the values it was reading before I shut it off is what the lcd displays… It does not have that time period where the values are completely unreliable.
Below is a link of it in action. Their is one sensor on each side... where the arm stops.
Here is the code for just the light sensors…
Code:
#include <SerialLCD.h> #if ARDUINO < 100 #include <NewSoftSerial.h> //this is a must #else #include <SoftwareSerial.h> #endif SerialLCD slcd(11,12);
Hello I have two sensors from spark fun which slowly change their values for no reason. The change is minimal, but I was wondering why that happens and how to prevent the change in value.
Not if you want the up and down to have two points of motion. This Arm has six servos so I assume their is more then one servo controlling up and down.
I have 2 midterm tests this week so I don't know if I will be able to wright up an example for you this week. Unless somebody gets to it faster I should have something during spring break (next week).