70016 Parallax Inc, 70016 Datasheet - Page 205

TEXT INFRARED REMOTE FOR BOE-BOT

70016

Manufacturer Part Number
70016
Description
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 70016

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Boe-Bot®
For Use With
29122 - KIT PARTS IR REMOTE FOR BOE-BOT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
70016SE
Manufacturer:
ST
0
Enter
ChUp
ChDn
VolUp
VolDn
Power
' -----[ Variables ]-------------------------------------------------------
' SONY TV IR remote variables
remoteCode
cycles
' EEPROM and message repetition counting variables
index
messageCnt
counter
' -----[ Initialization ]--------------------------------------------------
' -----[ Main Routine ]----------------------------------------------------
DO
LOOP
DEBUG CR, "Done!"
END
' -----[ Subroutine - Send_Ir_Remote_Code ]--------------------------------
' Sends pulses to 555 timer that causes the IR LED connected to the Out
' pin to send 38 kHz signals of about the same durations as an IR
' remote set to send SONY TV signals.
HIGH 6
COUNT 7, 1000, cycles
LOW 6
DEBUG HOME, "Frequency = ", DEC5 cycles,
READ Buttons + index, remoteCode
READ Reps + index, messageCnt
IF remoteCode = 255 THEN EXIT
FOR counter = 1 TO messageCnt
NEXT
index = index + 1
GOSUB Send_Ir_Remote_Code
" Hz", CR,
CON
CON
CON
CON
CON
CON
VAR
VAR
VAR
VAR
VAR
"Transmitting..."
11
16
17
18
19
21
Word
Word
Byte
Byte
Byte
' Enter
' Channel +
' Channel -
' Volume +
' Volume -
' Power on/off
' Stores remote code
' Stores 555 timer frequency
' EEPROM index
' Number of IR message reps
' General purpose counter
' Enable 555 timer
' Measure frequency
' Disable 555 timer
' Main loop
' EEPROM button -> remoteCode
' EEPROM reps -> messageCnt
' remoteCode = 255? Exit loop
' Repeat messageCnt times
' Send current remoteCode
' Increment EEPROM index
' Repeat main loop
' Desplay "Done!" message
' BASIC Stamp -> Sleep mode
' Display frequency

Related parts for 70016