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
Next revisionBoth sides next revision
resilients:sinuni_workshop [2012-05-07 14:05] – notes of the workshop done in "real time" timboresilients:sinuni_workshop [2012-05-07 19:21] timbo
Line 1: Line 1:
  
-==Sensing Resilience - Workshop==+=====Sensing Resilience - Workshop===== 
 + 
 +Learning how to use the system, sharing with the local community, developing a system for use in the Time's Up garden to trace the state of various plant beds. 
 + 
 +==== Announcement ====
  
   * together with Kon-Hyong Kim and Muhammad Hafiz Wan Rosli   * together with Kon-Hyong Kim and Muhammad Hafiz Wan Rosli
Line 18: Line 22:
 SINUNI will serve as a sensor device of choice for recording field work data and travels and versions of it can be implemented at fixed locations, for instance to monitor soil and nutrients conditions in the RESILIENT gardens like the Non-Green-Garden at the Time's Up Labs. SINUNI will serve as a sensor device of choice for recording field work data and travels and versions of it can be implemented at fixed locations, for instance to monitor soil and nutrients conditions in the RESILIENT gardens like the Non-Green-Garden at the Time's Up Labs.
  
-== Workshop Notes :: Live  ==+==== Workshop Notes :: Live  ====
  
 Starting with remote presentation from Marko via skype. Skype breakup! Starting with remote presentation from Marko via skype. Skype breakup!
Line 25: Line 29:
 "Computer with a Fancy name" to display many types of environmental data. "Computer with a Fancy name" to display many types of environmental data.
 Arctic Perspective Project website and the books - free downloads. Arctic Perspective Project website and the books - free downloads.
-"Autonomy through Technology" http://arcticperpective.org+"Autonomy through Technology" [[http://arcticperpective.org | website]].
  
 Mesh networks. Autonomous systems. Mesh networks. Autonomous systems.
Line 32: Line 36:
 Quick arduino introduction. Quick arduino introduction.
 Vegetronics soil temperature and moisture. Air temperature and humidity. sunshine sensor = light dependent resistor. Vegetronics soil temperature and moisture. Air temperature and humidity. sunshine sensor = light dependent resistor.
 +
 +===Arduino===
 +
 +first steps: LDR as input.
 +
 +[[http://www.vegetronix.com/ |Vegetronics]]: moisture and temperature as analogue inputs, needs some mathematical interpretation.
 +
 +SHT15 digital sensor utilises 2-wire communication with the arduino.
 +
 +===Xbee===
 +
 +Xbee is a radio module Digi International 802.15.4 protocol, point to point, point to multipoint and mesh network. Many versions - be careful. series 1 and 2 are also mutually incompatible. 
 +needs serial terminal to configure. Suggested to use 
 +[[http://freeware.the-meiers.org | CoolTerm]] for
 +Windows and Mac. For Linux use putty: apt-get putty
 +9600 baudrate, 8-N-1 format
 +the pin spacing is 2mm
 +parameters are set with AT commands, see: [[http://www.libelium.com/squidbee/index.php?title=How_to_set_XBee_parameters | here]]
 +
 +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!
 +
 +all Xbees into broadcast mode, so all can type to all. we use transparent mode, atap0, then save. there is also an API mode. there is a library for arduino to use the API mode.
 +Basic usage is to connect Din and Dout on Xbee to RxTx on Arduino and use serial.print
 +
 +sending floats is best done by turning them into a byte array and sending the bytes.
 +
 +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.
 +
 +===Built It===
 +
 +Stackable headers.
 +
 +level converters for the SHT15. 3.3V to 5V and vice versa.
 +
 +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.
 +
 +
  
  • resilients/sinuni_workshop.txt
  • Last modified: 2016-08-10 08:11
  • by nik