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 15:30] 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 37: 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 49: Line 54:
 the pin spacing is 2mm 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]] 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! 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