Implement analyse IR remote control protocols for ESP32 boards with Arduino framework
NEC, SONY, RC5, RC6, DISH, SHARP, SHARP_ALT, JVC, SANYO, MITSUBISHI, SAMSUNG, LG, WHYNTER, AIWA_RC_T501, PANASONIC, Denon and BOSEWAVE .
September 2020
- If you start a new Platformio project, use:
# put this line in platformio.ini :
monitor_speed = 115200
# to fix could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0', open terminal and write:
sudo chmod a+rw /dev/ttyUSB0
- Platformio (https://platformio.org)
- VScode (https://code.visualstudio.com)
- ESP-IDF (https://docs.espressif.com/projects/esp-idf/en/stable/get-started/)
- M5StickC , but you can use other dev board:
- For the Detailed documentation of M5StickC, please click here
- In order to buy M5StickC, please click here
- Description: M5StickC is a ESP32 development board with 0.96 inch TFT color screen (80 * 160 resolution), Red LED, button, Microphone, IR transmitter, 6-axis IMU (SH200Q) and 80 mAH battery. The ESP32 module ESP32-Pico in M5StickC also has a built-in 4MB flash. If the M5StickC is equipped with watch-base and watch-belt, you can wear it on your wrist.
- PinMap:
Red LED & IR transmitter & BUTTON A & BUTTON B
ESP32 chip | GPIO10 | GPIO9 | GPIO37 | GPIO39 |
Red LED | LED pin | |||
IR transmitter | transmitter pin | |||
BUTTON A | button pin | |||
BUTTON B | button pin |
Driver IC: ST7735S
Resolution: 80 * 160
ESP32 chip | GPIO15 | GPIO13 | GPIO23 | GPIO18 | GPIO5 |
TFT Screen | TFT_MOSI | TFT_CLK | TFT_DC | TFT_RST | TFT_CS |
GROVE interface
ESP32 chip | GPIO33 | GPIO32 | 5V | GND |
GROVE interface | SCL | SDA | 5V | GND |
Microphone (SPM1423)
ESP32 chip | GPIO0 | GPIO34 |
Microphone | SCL | SDA |
6-axis IMU (SH200Q) & Power Mangement IC (AXP192)
ESP32 chip | GPIO22 | GPIO21 |
6-axis IMU (SH200Q) | SCL | SDA |
Power Mangement IC (AXP192) | SCL | SDA |
M5StickC top extended IO port
🔵 Facebook: https://www.facebook.com/walidamriou
🔵 Twitter: https://twitter.com/walidamriou
🔵 Linkedin: https://www.linkedin.com/in/walidamriou
🔴 Email: contact [at] walidamriou [dot] com
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
You are free to:
- Share copy and redistribute the material in any medium or format
Under the following terms:
-
Attribution You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
-
NonCommercial You may not use the material for commercial purposes.
-
NoDerivatives If you remix, transform, or build upon the material, you may not distribute the modified material.
-
No additional restrictions You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
the software or Code or Scripts or any files in this source is provided "as is" and the author disclaims all warranties with regard to this files including all implied warranties of merchantability and fitness. in no event shall the author be liable for any special, direct, indirect, or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software or code or scripts or any files in this source.
© The logo and the name and ideas of the project are owned by Walid Amriou, and do not fall under the open license for reconstruction, it must be preserved in full without modification.