Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
resilients:sinuni_workshop [2012-05-07 16:17] timboresilients:sinuni_workshop [2016-08-10 08:11] (current) nik
Line 41: Line 41:
 first steps: LDR as input. first steps: LDR as input.
  
-Vegetronics: mousture and temperature as analogue inputs, needs some mathematical interpretation. +[[http://www.vegetronix.com/ |Vegetronics]]moisture and temperature as analogue inputs, needs some mathematical interpretation. 
-SHT15 digital sensor utilises 2-wire communication wiuth the arduino.+ 
 +SHT15 digital sensor utilises 2-wire communication with the arduino.
  
 ===Xbee=== ===Xbee===
Line 54: Line 55:
 parameters are set with AT commands, see: [[http://www.libelium.com/squidbee/index.php?title=How_to_set_XBee_parameters | here]] parameters are set with AT commands, see: [[http://www.libelium.com/squidbee/index.php?title=How_to_set_XBee_parameters | here]]
  
-For windows use x-ctu, which is a Digikey product. This is also the only way to write firmware into the Xbee. a [[http://sites.google.com/site/xbeetutorial/xctu | tutorial]] and the [[http://www.digi.com/support/productdetail?pid=3352 | software]]. But it is hard to get from the site, use a file downloader from somewhere (suggestion Kenny).+For windows it seems better to use x-ctu, which is a Digikey product. This is also the only way to write firmware into the Xbee. a [[http://sites.google.com/site/xbeetutorial/xctu | tutorial]] and the [[http://www.digi.com/support/productdetail?pid=3352 | software]]. But it is hard to get from the site, use a file downloader (suggestion Kenny).   [[http://x-ctu.software.informer.com/ |download site]]
  
 Note that while the Arduino environment now (from version 1.0) includes the FTDI drivers, you will need to install them manually for Coolterm to be able to speak over the USB connection as a serial connection. It almost works without them, only not quite! Note that while the Arduino environment now (from version 1.0) includes the FTDI drivers, you will need to install them manually for Coolterm to be able to speak over the USB connection as a serial connection. It almost works without them, only not quite!
Line 64: Line 65:
  
 each node will send 5 floats plus the node ID, then a termination character tilde: ~ each node will send 5 floats plus the node ID, then a termination character tilde: ~
 +
 +==Concerns==
  
 Question arose: how open is the Xbee system, proprietary, compared to e.g. the various 2.4 GHz systems that are used with various other mesh network systems, e.g. Freifunk and Funkfeuer. Ideas as to temperature resilience arose, power requirements as well. There are probably a (large) number of factors. This discussion could be very interesting. Question arose: how open is the Xbee system, proprietary, compared to e.g. the various 2.4 GHz systems that are used with various other mesh network systems, e.g. Freifunk and Funkfeuer. Ideas as to temperature resilience arose, power requirements as well. There are probably a (large) number of factors. This discussion could be very interesting.
Line 69: Line 72:
 ===Built It=== ===Built It===
  
-Stackable headers.+Stackable headers. Not neccesary to make things work BUT it does allow multiple extension boards to be stacked. 
 level converters for the SHT15. 3.3V to 5V and vice versa. level converters for the SHT15. 3.3V to 5V and vice versa.
-Lots of soldering going on.  
  
 +Lots of soldering going on. De-soldering and re-soldering. The joy of electronics!
 +
 +The Vegetronics sensors need 3V plus, some will have 3.3V supplies, the others will have 5V.
 +
 +2025: starting to get the units in boxes and to get arduinos programmed
 +
 +The code is/will be attached as a ZIP - many examples and things. (apologies: DokuWiki does not seem to make it easy to attach files, we will find some place for them).
 +
 +Discussion about the problems of condensation. Reports of the local FunkFeuer project with one node having several millimeters of water pooling in the bottom of the enclosure. The best approach seems to be to have a drainage hole at the bottom. Silica Gel as a water absorber might also be good, but some reports have said that this can get mushy and then it is not helping any more either.
 +
 +The sticker on the Pelican waterproof boxes need to be removed to let the light in for the light sensor. To remove the glue residue we have found that peanut oil works very well, and have heard that orange oil might be very effective as well.
 +
 +2220 All units have shown signs of life, trying to get them into boxes and working as data senders.
 +
 +
 +==== Equipment List ===
 +
 +==Hackers:==
 +
 +Hafiz: hafiz at muhammadhafiz.com
 +
 +Kenny: kenny_911 at hotmail.com
 +
 +==Softwares:==
 +Arduino;
 +http://arduino.cc/en/Main/Software
 +
 +Processing:
 +http://processing.org/download/
 +
 +Coolterm:
 +http://download.cnet.com/CoolTerm/3000-2383_4-10915882.html
 +
 +Putty (Linux):
 +http://linux.softpedia.com/get/System/Networking/PuTTY-347.shtml
 +
 +
 +==Parts:==
 +
 +Arduino Uno:
 +http://www.sparkfun.com/products/9950
 +http://search.digikey.com/us/en/products/A000066/1050-1024-ND/2784006
 +
 +Logic level converter:
 +http://www.sparkfun.com/products/8745
 +
 +Arduino Xbee shield:
 +http://www.sparkfun.com/products/9976
 +
 +Xbee:
 +http://search.digikey.com/us/en/products/XB24-AWI-001/XB24-AWI-001-ND/935965
 +
 +Photocell:
 +http://www.sparkfun.com/products/9088
 +
 +VG400 soil moisture sensor:
 +http://www.vegetronix.com/Products/VG400/
 +
 +THERM200 soil temperature sensor:
 +http://www.vegetronix.com/Products/THERM200/
 +
 +SHT15 (air temperature & air humidity sensor):
 +http://www.sparkfun.com/products/8257
 +
 +Pelican case:
 +http://www.pelicancases.com/1010-p/1010.htm
 +
 +
 +
 +==Other possible options:==
 +
 +Carbon Monoxide Sensor:
 +http://www.sparkfun.com/products/9403
 +
 +Barometric Pressure Sensor:
 +http://www.sparkfun.com/products/9694
 +
 +Leaf Turgidity:
 +http://www.biocontrols.com/secure/shop/item.aspx?itemid=134
 +
 +
 +
 +====Ideas for afterwards====
 +For participants who are having / have just had their first connection with Arduinos, some things might be useful as you move on.
 +
 +There are Arduino starter kits that include many sensors to experiment with. Please help by adding some that you have had some experience with.
 +
 +Getting a [[http://en.wikipedia.org/wiki/Breadboard | breadboard]] can make life easier. Go to [[http://www.aigner.co.at/ | Aigner]] in Linz or Conrad if you have to. No, go to Aigner - support your local scene! 
 +
 +The software [[http://fritzing.org/ | Fritzing]] can help take a breadboard circuit that you have built up and give you a schematic to see what you have made (this might also help you find the problem with what you have made!). Fritzing can also apparently make a PCB design for you so that you can make a stable and safe version of your circuit. 
  
 +There are several projects with mesh networking and data collection. We even tried as part of the [[http://timesup.org/content/pachube-iot-hackathon | 2011 Pachube Hackathon Day]] and had some success. WRT, FunkFeuer and Arduino using [[https://pachube.com/ | Pachube]]. Not the easiest solution and pachube is a closed source solution, but cheap. 
  
 +For data collection we have been recommended to look at [[https://thingspeak.com/ | Thingspeak]] as an open solution. We look forward to learning more about it in the future.
  
  
 +----
 +some [[:workshop_notes]] 
  • resilients/sinuni_workshop.1336407435.txt.gz
  • Last modified: 2012-05-07 16:17
  • by timbo