Measure/Kasiisi

From OLPC
< Measure
Revision as of 00:30, 26 August 2010 by Ndoiron (talk | contribs)
Jump to navigation Jump to search

For The Kasiisi Project, I have modified the Measure activity for a class on environmental sensors for the XO (untested on XO 1.5). The activity is downloadable and documented from this page.

Measure Activity

Read more about Measure to learn more about what the activity is useful for, and what sensors have been applied to it.

Differences

Simplicity

  • The activity opens with the Sensor toolbar and view open, instead of the Sound toolbar and view
  • Sensor input is converted to a readable number (Celsius or a light "percent") and displayed in real time.
  • The graph shows the last 3 to 5 seconds and gradually scrolls across the screen, so you can observe changes. For example, you can cover and uncover a light sensor and see the difference appear on the graph in real time.
  • The graph is flipped so that increases in temperature and light appear as a rise in the graph's value

Counter

A 'counter' is kept of how many times the circuit is completely open and completely closed (wires disconnected versus connected), so you can use it to count button pressed or to monitor very quick pulses from a sensor

Sound

New buttons let you connect a sound to the circuit being completely opened or completely closed (wires disconnected versus connected), so you can make doors creak open, books protected by alarms, pointers that name items on posters, and many more sensors.

Support for RFID

RFID is essentially a radio barcode. A tag the size of a quarter is placed on or inside an object. When that object passes within a few inches of an RFID reader, its code is automatically scanned. These tags are used worldwide to track animals, encode passports, and take inventory.

The Kasiisi Project used RFID as a bridge between students' real-world artwork and digital information. For example a student would draw a gorilla and write a short webpage on gorillas (potentially including links, photos, and sounds). When the tag is scanned, the Measure activity identifies the tag and loads the student's page.

Students could also tag a sculpture/model, book, poster, or map. Tags can be re-used, and more tags can be bought at 25 cents to expand the library. When RFID tags become cheaper ("like dust", some predict) you can imagine connecting every book in a library and every place on a map to its digital counterpart through RFID tags. Any way you use RFID, it lets students create objects at the cutting-edge junction of real and virtual.

Adding Sensors

It is easy to make the simplest sensors... just find ways to connect and disconnect the electric circuit from two wires. Attaching one wire to a window frame and another to the shutters, then covering the surfaces with aluminum foil, allowed us to sense when a window opened and closed.

With analog sensors, give yourself some time to test and consider how it will be read over the microphone jack. The microphone jack has a small power output, too small to light up most LEDs. If you want a 5-Volt power source or have a difficult-to-interpret sensor, it may help to use an Arduino.

Edit drawwaveform.py to add more sensors, write numbers to the pango layout form (where Temperature and Light values are displayed) and cue the browser window.