Interfacing C4PMF with X-10
Posted: Thu Aug 17, 2017 9:49 pm
Assuming I'm never going to find a CA-25 header card, I'm looking at ways to interface a Challenger running OS65D with a "modern" X-10 controller. There is a device that attaches to serial ports call a "Firecracker." X-10 Firecrackers appear to be readily available.
How does it work? You send a specific Hex number to the Firecracker attached to the serial port and it will in turn send RF signals\commands to an X10 controller. The command must be preceded by a header and footer (both numbers) For the fun of it, I'm going to give this a try with a C4P. Sending the Hex numbers\codes should be easy enough using Print #1 or poking the numbers in sequence via location 65413. But there is one piece I need guidance with....
Before sending the header, footer and command to the Firecracker, it needs to be toggled on and off (reset and placed in standby mode). This is accomplished by setting the DTR and RTS lines low and then high, in rapid sequence. Here's the question: how might that be done with C4PMF printer port? Is there a poke statement of Disk!"IO command that could accomplish that?
Thanks, Tom
How does it work? You send a specific Hex number to the Firecracker attached to the serial port and it will in turn send RF signals\commands to an X10 controller. The command must be preceded by a header and footer (both numbers) For the fun of it, I'm going to give this a try with a C4P. Sending the Hex numbers\codes should be easy enough using Print #1 or poking the numbers in sequence via location 65413. But there is one piece I need guidance with....
Before sending the header, footer and command to the Firecracker, it needs to be toggled on and off (reset and placed in standby mode). This is accomplished by setting the DTR and RTS lines low and then high, in rapid sequence. Here's the question: how might that be done with C4PMF printer port? Is there a poke statement of Disk!"IO command that could accomplish that?
Thanks, Tom