Changes between Version 6 and Version 7 of SoilMoistSensor
- Timestamp:
- 2013-09-08 18:16:43 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SoilMoistSensor
v6 v7 8 8 Before downloading the sketch to the Arduino you need to select a unique RADIO_ID (see top of sketch source code). The RADIO_ID must be unique in your radio network and is also used on the Vera side to distinguish between different sensors. 9 9 After updating RADIO_ID and downloading the code you should be ready to go. 10 This sensor sleeps most of the time. If interrupt on digital input occurs it wakes up and transmits change. 10 11 11 12 == Wire things up == … … 13 14 Follow the instructions in ConnectingRadioModule to connect radio module. 14 15 15 Connect the digital lout of the moist sensor to digital input 0 (you can change this in code if you want). Connect VCC to +5V or +3.3V of the Arduino board. 16 Connect the digital out of the moisture sensor to digital input 3. If you instead want to use digital input 2. Update DIGITAL_INPUT_SOIL_SENSOR in sketch code accordingly. 17 Connect VCC to +5V or +3.3V of the Arduino board. 16 18 Use the trimpot to set moist level that should trigger "alarm". 17 19