I am trying to produce a pressure sensor driven, IR signal from my Arduino UNO to another UNO, setting off an buzzer. My questions are;(Press the sensor, signal is sent from Uno1 to receiver on Uno2, sets off buzzer on Uno2)
Is the UNO board okay to work with or do I need a more advanced board?
Lastly, I have spent 3 days looking through learning mods, lectures and how-to's on this project and can't seem to find much about PSR's and IR transmitters/receivers. Would someone give me a point-n-shove in the right direction so I can learn more on this subject? Just a link to a site/video. Anything will help.
It sets the brightness of an LED based on the force, using analogWrite(). But it would be just as easy to use digitalWrite() to switch the LED on and off based on some force threshold that you choose. And of course that LED can be an IR one.
Then have a look at this, to see how to connect a photodiode which will also be of the IR variety. Use a digitalRead() to check the output at the point between the diode and the resistor, and then buzz or not based on that.
That's the simple way. You may need to get a bit more sophisticated with a 38kHz IR receiver if the ambient light screws with the signal; here's a random example which I didn't choose for any specific set of characteristics. In that case you'll also need to produce a matching 38kHz carrier from your LED, but you can use tone() for that.