Trying to build an IR project
Hi, I am trying to build an IR based transmitter and receiver. I have few questions I would like to ask:
1) Can it be done using any PIC? I have a good stock of 12f635
2) Is data transmitted by simply flashing led at 38-40kHz and controlling the time between each burst?
3) Is 0 & 1 are the only type we can send - like for eg 38kHz for 12mS=0 & 38kHz for 30mS=1 or more data can be incorporated
By knowing this I can atleast know how to proceed about it
Thanks
2 Attachment(s)
Need little more of your help :)
Ok then, thanks for all your help upto now. I think I need little more of it.
I have searched the internet and tried to understand the principle behind IR communication. I have made my very first Tx & Rx with that. It's not working as it should do.
It's not a completely dead scenario as I do see voltage fluctuations on the TSOP2438 IR Receiver module output pin when I switch on my transmitter and when I switch my Tx off it goes stable. I also looked into my webcam and could see the IR Tx LED glowing.
I attach my code here to have some feedback on any mistakes I am making. Thanks again.