i am trying to build an arduino device that contains a QRD1114 IR sensor, and when one runs their hand over it, will turn on a Infrared light attached to the device, which will thus turn on a projector. So basically i am trying to make a motion-sensing device using an IR sensor. I have succeeded in building it, however, the coding is very difficult and definetly not my forte...anyone care to help me with this? links and anything would be helpful!!
In a way yes. Except its going to be motion-activated.
I should add...
I intend to turn on an AAXA pico2 projector...the projector itself does come with a IR remote control. So i figured, i can make that and turn it on! better yet, make it motion-activated!
i guess the issue is more, i built the device with arduino and the output is a flashing IR light that will turn on the projector. Now, I'm not sure if the IR light is "compatible" enough to turn on the projector itself. If i could get a code and test it out, i might find out something or other
now, i want the arduino to act as a replacement IR control for the projector....going further with this, i want it to be motion activated so that the step of"pressing buttons" would be eliminated. So, when someone walks by, a sensor will trigger the IR light to turn on which will signal the projector to turn on. So basically, its a motion-sensor projector!
Now as for the steps you told me about, i am not very code- savvy, so what "code" would i need to enter? ( i know thats kinda vague, i apologize!)
possibly...
depends on the complexity of the language...
if it uses multiple IR colors, u can't learn it that way...
how will u connect ur IR sensor to pin #0?
maybe u will need a pullup resistor?
u can get one (20kR to 50kR) with "digitalWrite(14,HIGH);" in the setup() function...
another idea i have been thinking about is actually taking apart the IR remote that comes with the projector and somehow manipulating that....would that be a possible thing to do?
I assume you mean the frequency of the electromagnet radiation. I am aware of only two frequencies that are used by IR diodes and they tend to overlap. I have never come across the use of the two in combination.
Or do you mean modulating frequency of the IR light. This is the rapid switching on an off of the IR at 30 to 40 KHz. This is modulated on top of the information of pulses that you would get from the program posted above. This is because the program above does not sample fast enough to 'see' the modulation.
The program is a good first step to see what pulses you need but you might also have to modulate the IR.
if it uses multiple IR colors
Yes you can remotely press the buttons using an opto isolator. Opto-isolator - Wikipedia, it's the sort of thing people do when they indulge in "circuit bending".