Updated comments

This commit is contained in:
Henrik Ekblad
2014-08-16 00:21:33 +02:00
parent cbd78d68cf
commit 95d899b77e
@@ -1,7 +1,6 @@
/* Secret Knock Trinket /* Secret Knock Sensor
Code for running a secret knock lock on the Adafruit Trinket.
See full instructions here: See original instructions here (note: The MySensors adopted code might differ in wiring. The instructions below is correct):
https://learn.adafruit.com/secret-knock-activated-drawer-lock/ https://learn.adafruit.com/secret-knock-activated-drawer-lock/
Version 13.10.31 Built with Arduino IDE 1.0.5 Version 13.10.31 Built with Arduino IDE 1.0.5
@@ -16,8 +15,10 @@
Pin 0: Program button used for recording a new Knock (connect Pin0 -> button -> GND) Pin 0: Program button used for recording a new Knock (connect Pin0 -> button -> GND)
Pin 1: Optional: Connect LED here (remember resisor in series) Pin 1: Optional: Connect LED here (remember resisor in series)
Pin 2: Optional: Piezo element (for beeps). Pin 2: Optional: Piezo element (for beeps).
Pin A1 (Analog 1): A sound sensor for sensing knocks. See MySensors purchase guide. I used this: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575069610&toolid=10001&campid=5337433187&customid=&icep_item=200941260251&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg Pin 1: A sound sensor (digital output) for sensing knocks. See MySensors purchase guide. I used this: http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575069610&toolid=10001&campid=5337433187&customid=&icep_item=200941260251&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg
Pin 4: Connects to a 1. Relay which open door or lock or 2. transistor or that opens a solenoid lock when HIGH (see adafruit guide for this option). Pin 4: Connects to either 1. Relay which open door or lock or
2. transistor that opens a solenoid lock when HIGH (see adafruit guide for this option).
Connect radio according as usual(you can skip IRQ pin) Connect radio according as usual(you can skip IRQ pin)
http://www.mysensors.org/build/connect_radio http://www.mysensors.org/build/connect_radio