PICAXE-08M2 Simplified IR (Infrared) Remote Serial Keypad

Purpose: Use the IR remote to enter a number from 1 to 65535. Data to be sent via the Sertxd to a terminal.

Originally, this code was written to command a vintage Kenwood TS-680S radio to QSY (change to another frequency). I only needed to be within a kHz from 500 to 53999. Numbers from 1 to 499 selected a preset memory frequency from an EEPROM. Wait about three seconds and the number entered will be executed.

I usually write code by the motto "Git'Er Done", translated "Chaotic".

For this Forum presentation, I've stripped out the extraneous stuff and "Glammed Up" my code so that others might benefit by being able to read it. 8)

NOTE: Entering a number larger than the 16-bit word register will rollover. e.g. 65536 = 0 (You might get some weirdness.) Overflows get cleared and you start over.

There's a lot of DEBUG (Sertxd) code to see what's happening and can be removed to save bytes.

Photos
PICAXE-08M2 Simplified IR (Infrared) Remote Serial Keypad
Photo is for illustrative purposes only. Please refer to the description.

posted/edited by Ralph [VE3XRM] | 20241218 | 18:03


NOTE:
These projects require simple skills in electronics assembly and programming.
Minimal instructions might be provided.

5 Page Views [1]