Summary - Transmit a Sony SIRC (12-bit) infrared remote control command via a specified IRLED Syntax: 23 <button code> <device code> <index> (decimal format) Where: BYTE2: Button Code BYTE3: Device Code BYTE4: Index (0= North, 1=North East, 2=West, 3=South East, 4=South, 5=South West, 6= West, 7=North West) Response from IRCF360: No Response on serial port (unless command 10 was previously sent to IRCF360 to request an echo of each command) Circular Display Feedback: The respective LED will illuminate with increased intensity depending on the distance detectedDescription: Any combination of device code+ button code can be transmitted. This is used for transmitting IR signals or message to other robots for gaming or swarm control or to other IR devices that can interpret Sony the 12bit SIRC standard IR messages, such as some cameras, televisions, etc. Technical Features The IRCF360 transmits 12-bit infrared package. Sony also have a 15-bit version. See "Principle of IR remote control" for more details Example Code: For PICAXE The PICAXE 18X does not have a 'time-out' function, so it will 'hang' if the timing of the serial communication is not correct. With the new X2 parts these have a time-out routine so the command can be retransmitted. SEROUT b.2,T9600_8, (22,25,26,0) ' Send button code 22 and device code 25, once only SERIN 2,T9600_8, button_code, device_code RETURN For Basic Stamp SEROUT 2, 84, [22,4,1,0] SERIN 2, 84, TIMEOUT, [N, NE, E, SE, S, SW, W, NW] Videos: Non |
Products > Infrared Control Freak - 360 degree Proximity Sensor > 1. IRCF360 - Commands - Quick Reference Guide >