IR Infrared Devices
Last updated
Last updated
Free Wili includes an Infrared receiver and transmitter. Free Wili allows you to send and receive control data in typical formats for remote control devices. Currently, while hardware supports many protocols, Free Wili software supports NEC protocol type devices (the most common type).
There is an IR App which offers two screens. One is an IR Hacker and the other is a custom remote control.
The IR Hacker app lets you view IR traffic received by the receiver. It also lets you send arbitrary codes, playback codes received, and fuzz IR codes to a specific device.
The first code in a blast is highlighted yellow (this is often the most important one). This will also be shown in the upper right corner.
Clicking send will allows you to send an arbitrary IR code.
To use the fuzz function hold down the last button for 5 seconds and free Wili will cycle through the 255 commands for last IR Address received (see this doc for explanation of NEC IR https://techdocs.altium.com/display/FPGA/NEC+Infrared+Transmission+Protocol)
The IR Remote app allows you to create a custom remote by learning a specific remote. These remotes are saved in files in the file system. The first screen shows available remotes. You can select an existing remote or select new. Selecting new will create a new IR file. There is an integrated Roku remote which would let you control other free wilis.
After selecting a remote, you can add new codes. Simple point the remote at the Free Wili and press button on remote. Free wil-is led will flash. Then click new and give the command a name.
You can enable the Roku remote to control Free Wil-i. This works by receiving the codes and simluating the actual button presses.
up
Gray Button press
down
Yellow Button Press
ok/select
Green Button Press
left
Blue Button Press
right
Red Button Press
home
Returns to main screen
There is one setting for IR. This is to use the Roku Remote as a remote control. This can be enabled or disabled.
There is an API for sending IR codes in NEC format. Also any IR Recived will be sent as an Event.