X10 Programming
X10 is a communication protocol for electric devices through power line wires (and radio). With a set of X10 devices, it is possible to control appliances (and more!) in the house and to program their behaviour using an Amiga .
Controllers and Modules
A X10 setup consists of a set of controllers and modules. Controllers send signals (through the electric wires of the house) to modules that receive and act upon them.
CM11A
The CM11A controller allows interfacing with any computer with a serial port. The Amiga has a DB-25 RS232 serial port. Hence, the cable must be adapted. Of course, there exists DB-25 to DB-9 adapters but that wouldn't be fun so I built my own cable. The CM11A has a RJ11 female socket. The Amiga has a DB-25 male connector. I took a RJ11 make plug and connected to a DB-25 male connector. I had to do some research because the specs weren't were clear:
Pins |
Colour Set 1 |
Colour Set 2 |
1 |
Black |
Black |
2 |
Red |
Blue |
3 |
Green |
Red |
4 |
Yellow |
Yellow |
Signals |
RJ11 Pins |
DB-9 Pins |
RxD |
1 |
2 |
RI |
2 |
9 |
TxD |
3 |
3 |
Gnd |
4 |
5 |
Signals |
DB-9 Pins |
DB-25 Pins |
RxD |
2 |
3 |
RI |
9 |
22 |
TxD |
3 |
2 |
Gnd |
5 |
7 |
- To finally build the following cable:
Signals |
RJ11 Pins |
Colour |
DB-9 Pins |
DB-25 Pins |
RxD |
1 |
Black |
2 |
3 |
RI |
2 |
Blue |
9 |
22 |
TxD |
3 |
Red |
3 |
2 |
Gnd |
4 |
Yellow |
5 |
7 |
Programming
Controlling X10 modules can be done using Hollywood and a combination of RPIs and Arduinos, but where would be the fun in that?
The last three changes:Tygre - 2020-03-21 08:49:59 am | Tygre - 2020-03-21 08:48:59 am | Tygre - 2020-03-21 07:48:54 am
|