I have been working on having a PIC control an Insteon home control network. I have made some progress. By using a Power-Linc Modem (serial) I can 'inject' Hex strings into the command and control network and turn lights and such on and off using a PIC. The Power-Linc Modem communicates at 19200 baud, and running a pic at 4mhz this can be achieved like so:
I need to find out how to control devices embedded into Insteon Scenes.Code:INCLUDE "modedefs.bas" include "ALLDIGITAL.pbp" OSCCON =$60 'clock speed DEFINE OSC 4 serout2 PortB.1,32, [$02,$62,$1A,$8D,$A0,$05,$11,$FF] 'On end
Anyone else doing any of this?




Bookmarks