Skip to content

sylcastaing/Arduino-ir-remote-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino-ir-remote-json

Sketch arduino to send and receive IR signal with serial json communication.

This librairy was created to communicate in Json with NodeJs or other languages. Arduino-ir-remote-json is based on [IRremote] (https://github.com/z3t0/Arduino-IRremote) and [ArduinoJson] (https://github.com/bblanchon/ArduinoJson).

Hardware

Boards

Only tested on Arduino Uno.

IR Sensors

Only tested with Grove Sensors :

Installation

Configuration

You can configure IR receiver PIN and Serial Port. Go to Arduino-ir-remote-json.ino and change :

// PIN of ir receiver (IR emitter must be D3)
const int RECV_PIN = 2;

// Port for Serial
const int SERIAL_PORT = 9600;

JSON

{"type":3,"value":1270282502,"bits":32}

Type

Int Device Code Test
-1 UNKNOW Y N
0 UNUSED N N
1 RC5 Y N
2 RC6 Y N
3 NEC Y Y
4 SONY Y Y
5 PANASONIC Y N
6 JVC Y N
7 SAMSUNG Y Y
8 WHYNTER Y N
9 AIWA_RC_T501 N N
10 LG Y N
11 SANYO N N
12 MITSUBISHI N N
13 DISH N N
14 SHARP N N
15 DENON N N
16 PRONTO N N

About

Sketch arduino to send and receive IR signal with serial json communication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages