IR receiver/transmitter for ESP8266?

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Posts: 22
Joined: Tue Mar 22, 2016 9:08 pm

IR receiver/transmitter for ESP8266?

Postby askvictor » Wed Dec 28, 2016 2:46 am

It seems the ESP8266 has some hardware support for infrared remote control - see chapter 13 of ... e_en_0.pdf

Has anyone had a go at exposing this in micropython?

User avatar
Posts: 118
Joined: Mon Jun 15, 2015 8:03 am

Re: IR receiver/transmitter for ESP8266?

Postby mcauser » Thu Dec 29, 2016 9:02 pm

Interesting :)

For comparison, here's an Arduino flavoured, software only approach: ... oteESP8266

User avatar
Posts: 1315
Joined: Fri Jul 18, 2014 8:01 am

Re: IR receiver/transmitter for ESP8266?

Postby pythoncoder » Fri Dec 30, 2016 9:07 am

For IR reception there are demodulator chips e.g. Vishay TSOP4838 These cost peanuts. They save having to deal with the 38KHz carrier, which presents a number of technical issues including rejecting optical interference signals. The chip gives you a relatively slow pulse waveform which you can decode.

I have some Arduino C code for doing this with the fairly common NEC protocol if anyone's interested - it should be reasonably easy to port to MicroPython.
Peter Hinch

Return to “Drivers for External Components”

Who is online

Users browsing this forum: No registered users and 1 guest