Skip to content
obycode edited this page Jan 18, 2015 · 4 revisions

AlarmThing

Use AlarmThing to connect your DSC alarm system to SmartThings!

Hardware

Required Hardware

  • DSC Alarm System
  • IT-100 interface
  • Arduino MEGA
  • Arduino RS232 shield
  • Arduino SmartThings shield

Hardware Setup

Connect the IT-100 interface to the communication and power lines of the DSC alarm panel (AUX+/AUX- for power and GRN/YEL for data). IT-100 wiring IT-100 to DSC panel

The output of the IT-100 interface is RS232 at 12V levels therefore it can't be directly connected to the Arduino board (it will only accept 5V levels), therefore an RS232 shield is used to convert to the right levels. Arduino Mega, SmartThings shield, RS232 shield This picture shows the Arduino Mega, with the SmartThings shield on top, and the RS232 shield on top of that. The official SmartThings Arduino library will only support a software serial port, as a result the library had to be modified in order to utilize a hardware serial port. By default the RS232 shield will use pins 1, 2 and the SmartThings shield will use pins 3, 4. All four of those lines had to be re-routed to the dedicated serial ports of the Arduino Mega. I did this by bending the pins, and running wires to the appropriate ports. The Rx and Tx pins of the RS232 shield are bent, and wires are run to connect Rx to port 19 (Rx1) of the MEGA, and Tx to port 18 (Tx1). Similarly, the Rx and Tx pins of the SmartThings shield are bent and wires are run to pins 17 (Rx2) and 16 (Tx2), respectively. Pin redirection Pins overhead Pin connections

Credits

  • Timer library from Simon Monk
  • SmartThings shield library from SmartThings (modified for ArduinoMega)
  • Original code forked from Vassilis Varveropoulos
Clone this wiki locally