| 1 | [[Image(temp.png, align=right)]] |
| 2 | = Soil Moist Sensor = |
| 3 | |
| 4 | == Software == |
| 5 | You can find the Arduino sketch to download here:\\ |
| 6 | http://code.mios.com/trac/mios_arduino-sensor/browser/trunk/Arduino/SoilMoistSensor |
| 7 | |
| 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 | After updating RADIO_ID and downloading the code you should be ready to go. |
| 10 | |
| 11 | == Wire things up == |
| 12 | |
| 13 | Follow the instructions in ConnectingRadioModule to connect radio module. |
| 14 | |
| 15 | Connect the moist sensor to digital input 0. Also note that moist sensor only seems to work when feeding it with +5V on VCC. |
| 16 | |
| 17 | |
| 18 | == Hardware - Purchase guide == |
| 19 | |
| 20 | This is the stuff you need to purchase to build the SoilMoistSensor. Note that I've provided links to the things I bought during the development. You might find it cheaper somewhere else. Also note that you might need to buy like 10x of some items to get the price specified. |
| 21 | |
| 22 | 1x Cheap Arduino Nano without serial interface and usb connector\\ |
| 23 | http://www.aliexpress.com/item/16Pcs-Lot-Pro-Mini-Module-Atmega328-5V-16M-For-Arduino-Compatible-Nano/710613095.html |
| 24 | |
| 25 | 8x Dupont cable Female->Female (you might need 3 extra Female->Male for your moist sensor)\\ |
| 26 | http://www.aliexpress.com/item/New-Female-To-Female-40-pcs-Wire-Cable-Line-1p-1p-Pin-Connector-20cm-2-54mm/1045212486.html |
| 27 | |
| 28 | 1x NRF24L01+ wireless data transmission module 2.4Ghz\\ |
| 29 | http://www.aliexpress.com/item/Free-shipping-NRF24L01-wireless-data-transmission-module-2-4G-the-NRF24L01-5PCS-LOT-upgrade-version-New/603756080.html |
| 30 | |
| 31 | 1x Moist sensor\\ |
| 32 | http://www.aliexpress.com/item/Soil-Moisture-Sensor-Hygrometer-Module-for-Arduino-2560-UNO-1280-Free-Shipping-Wholesale/762036166.html |
| 33 | |
| 34 | (You might later need some housing and transformer or battery compartment as well) |
| 35 | |
| 36 | TOTAL SENSOR PRICE: $3,99 + $0.93 + $0,6 + $2.94 = $8,46 |
| 37 | |
| 38 | To download code to the cheapest Arduino Nano sensors (that is missing the serial USB post) you need to buy one of following as well. It is only attached while downloading code and can be reused between sensors. |
| 39 | |
| 40 | 1x Serial to USB adapter to download code to cheap Arduino Nanos\\ |
| 41 | http://www.aliexpress.com/item/Free-Shipping-FT232RL-USB-To-Serial-Adapter-Module-USB-TO-232-For-Arduino-Download-Cable/827218126.html |