Since this is a PBP forum, I'm hesitant to suggest another method but, if the goal is just to build a system to control your own household and not a commercial endeavor to sell your designs to others in your country, there is a solution that is very quick although much more costly.
Elba Corp. sells several BasicStamp-ish chips and modules that use a much more advanced version of Basic. Some of their products (I think all with the "a" suffix but you should confirm this.) allow you to define two TTL PLC channels that operate in the background, much like a software UART) to send (if the module is two-way) and receive X-10 commands using any of the X-10 TTL PLC modules (PL513, TW523, PSC04, PSC05, TW7223, XM10, Smarthome 1132B). Since you specify the bits to send, you can send any valid (or not) X-10 commands. You can only receive those commands which the X-10 modules report so it's limited to valid, standard commands. Off the top of my head, I think it handles 50Hz or 60Hz but you need to confirm this. If 50Hz is not supported, I'm sure they will be willing to add that - they are very responsive to feature requests (if doable). In fact, they added this feature at my request.
Bookmarks