NEC Protocol IR remote control decoder using PIC16F877A CCS PIC C

author PIC Microcontroller Projects   2 год. назад
6,729 views

31 Like   3 Dislike

EEVblog #506 - IR Remote Control Arduino Protocol Tutorial

How to capture and reverse engineer an infrared IR code and use an Arduino or other microcontroller to replay the command. Oscilloscope and logic analyser capture, coding, troubleshooting, tounge angle, it's all here. In this instance Dave captures the NEC (Japanese) code from his Canon video camera remote control on the digital oscilloscope, figures out all the bits and encoding, and writes an Arduino library to replay the code back, and verifies it with his Saleae Logic logic analyser. Previous simple hack video: http://www.youtube.com/watch?v=vOzaDQmAW0g CODE: http://gist.github.com/EEVblog/6206934 Forum: http://www.eevblog.com/forum/blog/eevblog-506-ir-remote-control-arduino-protocol-tutorial/ EEVblog Main Web Site: http://www.eevblog.com EEVblog Amazon Store: http://astore.amazon.com/eevblogstore-20 Donations: http://www.eevblog.com/donations/ Projects: http://www.eevblog.com/projects/ Electronics Info Wiki: http://www.eevblog.com/wiki/

Temperature Sensor LM35 + LCD - PIC16F877A - PICKIT2 - AL3AQRAB

In this review video, I'll showing a temperature sensor project. This project will display room temperature in Celsius and Fahrenheit -------------------------------- Main components: 1) LCD display 16X2 2) PIC16f877A 3) LM35 "as temp. sensor" 4) variable resistor "to change LCD contrast" 5) IC 7805 "5 DC volt display"

How to make an IR remote tester or Receiver circuit using TSOP 1738

A tutorial on How to make a simple Infrared(IR) remote tester/receiver circuit on a breadboard. You can switch on LED using TV Remote with this circuit. This circuit can be modified to turn on LED lights whenever a button on the remote control is pressed. The components you need are: TSOP1738, LED, (470 -1000)ohm Resistor and a (10-100)micro-farad Capacitor. Circuit Diagram plus more Information: http://elonics.in/breadboard-projects/remote-tester-circuit-using-tsop1738 Datasheet of TSOP 1738: http://www.micropik.com/PDF/tsop17xx.pdf For more: Visit: http://elonics.in/ Like us on: https://fb.me/elonics Google plus: https://plus.google.com/101224334079128440644

Infrared Remote Control Decoding

Using an MSP430 to decode the commands from an infrared remote control, for no particular purpose although I have a boring application in mind. Some totally pointless and weird ones too! Post your suggestions below! Here is my code for this exercise: http://www.jerrypommer.com/msp430_ir_command_decoder/

How to Decode IR Remote Control Signals

How to Decode IR Remote Control Signals In this video ,I will show you how to make an IR Remote control signals decoder using arduino. The sensor I used is TSOP1738 ir receiver , which receives ir signals of frequency 38khz. The remotes which we use in our home are basically made of IR transmissions for example TV remote,DVD remote,Sound System remote etc . But these signals never interfere with each other because every key in the remote control has unique operation code in Hexadecimal format. By decoding these signals we can know what is the unique code of the key. By knowing the codes we can implement several applications where we can control with same remote. Link to code : https://goo.gl/a7sDcU Link to Library : https://goo.gl/rTeKa5 You can also use TSOP 4838 instead of TSOP 1738. ##############BUY COMPONENTS HERE############### COMPONENTS : TSOP 1738 : https://goo.gl/m1Bzhg TSOP 4838 : https://goo.gl/2IFRG0 Arduino Uno : https://goo.gl/TlOucU BreadBoard : https://goo.gl/Tijy48 Jumper Wires : https://goo.gl/nsAkuw Buy all components Here : https://goo.gl/JYah69 Paypal: https://goo.gl/AiuYzE Patreon : https://www.patreon.com/techmaker/ By funding me , I will get some revenue to purchase components. ############## Follow us on ######################## Facebook : https://www.facebook.com/TechMakerTM Instructables : http://www.instructables.com/member/JunezRiyaz/ Google + : https://plus.google.com/115713974840420803184 Twitter : https://twitter.com/Junez_Riyaz How it works… The first step is to understand how the remote controller works. Every controller has an IR sensor and it usually works with a proprietary protocol. We wanted to use a modular approach which enables us to set up new fish with little to no work. For that reason, we decided to sniff the IR packets sent by the remote controller, so that we could then replay them at will. This technique is often referred as sniffing, since the device we’ll build will detects IR messages which were not originally directed to it. This particular approach works perfectly with the majority of IR remotes and devices, since there is no actual processing involved. Every time you push a button on the remote, you’re sending the same message; the receiver ignores where the message comes from and just executes it. The circuit above uses a an Arduino Uno board connected to an IR receiver (in black). There are several types of IR receivers; for this tutorial is important to use a digital receiver (like the TSOP4838) and not an IR photocell . A digital receiver is sensitive to 38KHz IR signals; if it detects one, it’ll output a low voltage (0 volt), or a high one (5 volt) otherwise. A photocell, instead, acts like a variable resistor and its voltage output linearly mirrors the amount of IR light is has been exposed to. Remotes typically work on digital signals and that’s why we’ll a digital receiver. To decode the digital signals that the IR receiver will produce, we’ve been using a library called Arduino-IRremote, which comes with several demos and examples. Once you’ve installed the library, you can test your setup with this code. This post explained how to hack an unknown remote controller by sniffing its IR packets. For the vast majority of applications, there is no need to understand the protocol used; messages are often independent and have no protection or timestamp. This is perfect to control a TV, a garage door or (like we did) a bunch or Air Swimmers.

Extended NEC protocol decoder. Circuit schematic and C code at:
http://ccspicc.blogspot.com/2016/07/nec-protocol-ir-remote-control-decoder-pic16f877a-ccs-pic-c.html

Comments for video: