My IR receiver module from Banggood bangged after first run - it just ceased working. The next new one will come a months later, but the show must go on....
So thought of trying custom built temporary IR Receiver Demodulator module using available photo-transistor BPW 77NB and standard NPN amplifier transistor PN2222A.
Note that in circuit diagram i have shown LEDs connected to pin 5,6,7 only, but practically i have connected one more bi-color LED to pin 3 and 4. This was just as fun for my kid.
And to my surprise it worked :)
Final sketch is given below or is available on my GitHub page here..
https://github.com/Electromania/Arduino-Due/blob/master/Quick-Projects/IR%20Remote%20kit%20Arduino%20Due%20using%20Phototransistor
Currently, the range of IR receiving was only upto 12-15 inches, may be by fine tuning the gain of amplifier transistor or photodetector, it can be increased. I am not an electronics engg... no idea how to do it. Any ideas or suggestions are most welcomed.
Till then... have fun.... the show must go on... :)
-Original Library from - https://github.com/enternoescape/Arduino-IRremote-Due
-Initial circuit of BPW77NB from-
https://www.youtube.com/watch?v=XsHnvvSzr1M
-Sketch modified by Electromania Dec 2015
-Initial circuit of BPW77NB from-
https://www.youtube.com/watch?v=XsHnvvSzr1M
-Sketch modified by Electromania Dec 2015
No comments:
Post a Comment
Contact me for more information...