Archive for the 'sustainability' Category

ITP Spring Show ‘07

Monday, May 14th, 2007

The shows get better and better every year. This one featured a slew of eco-minded projects: BioBronc, Solar Jewelry, Solar Time (pictured here with my parents :) ), BikeJus, Device Power Monitoring, Blue Phoenix, and the debut of Sustainable ITP - a showcase of student and faculty work in the program’s sustainable practices initiative.

Solar Time, a project with Gilad Lotan, is a meter displaying the total amount of energy in watts available from ITP’s 80-watt solar panel located on the Tisch building’s roof. Readings are retrieved via a wireless radio network and logged in a database.

Also in the show was Under The Level, with Catherine Colman, a mapping project of New Orleans’ post-Katrina destruction on the streets of New York. More details at underthelevel.org.

XBee gets to sleep in…

Saturday, February 17th, 2007

1 9V battery (Duracell) lasts approximately 1 week. By increasing sleep time, battery life for 8th floor circuit should improve, hopefully significantly. Reset pin 5, take low by dipping wire to ground.

XCTU Settings:
SP setting: 214 (hex = 532/60 = 8 sec)
SP is for setting/reading sleep period for cyclic sleeping remotes. Max is 268 seconds. Since we want to sleep every min instead of 8 sec, 6000ms = 1770 hex as new value.

Hmmm. This change alone didn’t work…
Seems ST (Time before sleep) needs to be increased also. When testing with Processing script, no readings appeared. Was 30 (48ms), then tried 150 (336ms). But now, no chance to sleep.

Next, tested these new settings together:
ST 54
SP 1770
GT 54
Results: It works! Yay! Every minute, reading is sent through…

Sleepy time interlude

Friday, February 2nd, 2007

Just a quick update - ran Tom’s Processing code to check on the mesh network - yay! the battery is still alive. Reading coming in at 1PM today (38 degrees F, cloudy) is 582, so we divide that value by 44.22 to get voltage reading of 13.16, which Gilad confirmed with a multimeter reading off the 12th floor controller. Here’s a screenshot:

rooflink_processing.gif

Sleepy Time with XBees

Wednesday, January 31st, 2007

Gilad and I continued working on RoofLink, a network of XBee radios for datalogging voltage readings from ITP’s solar panel. The problem we ran into last semester was keeping a steady supply of power to the XBee circuit on the 8th floor. For reference, here’s the original diagram again. But now, with the firmware upgrade to the radios, no PIC chips are necessary, and we’re powering the 12th floor circuit directly off the solar panel’s leads. This way, when the sun goes down, the circuit is turned “off” and the 8th floor XBee can get a good night’s sleep. Perfect, since there’s no data to log then anyway.

XBees consume 3.3V and 10mA (with no LEDs) in their “awake” operational state. With LED indicators for power, sending and receiving, they use 60mA.

MaxStream has a great app for configuring and testing the XBees, X-CTU, which you can download here (Windows only). This made adjusting the settings so much easier than when we were using Terminal/Screen and typing in AT Commands. That was much more tedious, and you’d only have a short window of time to enter new commands after the +++. Here’s a nice screenshot courtesy of Faludi. Also gives you details on commands and settings.

Tom guided us on using X-CTU’s handy features, and how to eliminate the PICs. Here are most of the settings:

Under ‘Modem Configuration’, select Always Update Firmware and Version 10A2.

#0 (12th Floor)
MY 0
DL 1
IR 17 (Sample rate)
IU 1
IT 5

#1 (8th Floor)
MY 1
DL 2
SM 4 (Cyclic sleep mode)
SP 214 (Cyclic sleep period)
ST 30 (Time before sleep)
GT 40 (Guard time)
DP 3E8
IU 1
IT 1

#2 (4th Floor)
MY 2
Will note other settings soon…

During testing, we used a DC Bench Power Supply to act as the solar panel. Got a Processing reading of 446 when feeding circuit 10V, but we’ll test other values to get the most accurate translation for datalogging.

Notes on Sleepy Time:
We tried a few approaches in sleeping the 8th Floor XBee. With Sleep Mode 5? (gotta double check this), we couldn’t wake the sucker up - had to manually reset the radio and exit out of that mode. Then we also tried this example from MaxStream, requiring a Coordinator/Remote relationship, but this wasn’t successful for us either. Eventually, it appeared to be a balance of timing between #0’s IR and #1’s SP and ST settings, with #1 set to Cyclic Sleep Mode. If #0 sent samples too fast, #1 would never have a chance to sleep; but on the other hand, if too slow, #1 wouldn’t catch any packets and keep returning to sleep. With current settings, readings come through every 15-16 seconds.

Amperage Measurements:
XBee #0
regular 6.0 mA
no LEDs 10mA
XBee #1
Cyclic sleep 24.5mA
Cyclic sleep, no LEDs 0.17 mA, with 2.16mA “burst” during sending of data

XPort Notes:
For the XPort on the 4th Floor circuit, updated Connect Mode from D4 to C4 (need to note why here). This was done just by telneting into the XPort’s IP address via Terminal and using port 9999. No need to do any of that hardware setup like when you initially configured these - takes you direct into Setup.

TO DO:

  1. Review incoming values and adjust code
  2. Update PHP script for datalogging, add Cron Job
  3. Measure 9V battery life (new battery placed around 1:30am 1/31/07)

#0 - 12th Floor Circuit. Using Sparkfun FT232 for configuration
rooflink1.jpg

Setup with DC Bench Power Supply, and testing packet sending with Processing app from Tom Igoe
rooflink2.jpg

#0 - 12th Floor Circuit, with “resistor tree” enclosed in shrinkwrap tubing (just to have less exposed components)
rooflink3.jpg

#1 - 8th Floor Circuit. When sleeping, the green LEDs blip periodically. Yellow LED indicates both sleep and receiving of data.
rooflink4.jpg

Screenshot of data parsing using Tom’s PHP socky script, with some javascript data viz from David Nolen. Clearly, we’ve still got some tweaking of our readings to take care of. To be continued…
rooflink5.gif

Garden Electric

Sunday, December 31st, 2006

A work in progress, but now provides some organized documentation on the project - gardenelectric.com

Garden Electric Website

Solar Panel Datalogging: System Diagram

Thursday, December 14th, 2006

(click image for larger view)
systemDiagram1.gif

The Garden Electric

Thursday, December 7th, 2006

We’ve renamed the project!

For Sunday 12/10:

- prep for Megan’s PcompNoComp presentation
- sketch out display/kiosk needs, email Rob

Stuffs we need:

Circuit Parts List:

  1. 2 more Hitec HS-545BB servos (ordered from Chief Aircraft, should arrive Sat/Mon)
  2. 2 more chokes (McMaster - Megan placed order today)
  3. 8 more IN4002 diodes (I have IN4004 ones, but not sure if these will work the same? Gotta check datasheet)
  4. 2 more TL082 op amps (samples from ST should arrive by Mon, 12/11)
  5. 2 more arduinos/atmel chips - got these

Bellow, Etc. Parts List:

  1. Wood for bellow bases, flowerbox, and individual flower bases?
  2. 4 Kitchen hose sealer neck thingys
  3. 2 T-shaped plumbing piece for mounting to servos
  4. Dowels
  5. Bases for mounting servos (should be same height as bellow base)
  6. Aluminum flashing for top of bellow

TO DO:

  1. Build circuits, get compact and see if possible to share power across 3 different circuits from one 12V DC Supply - otherwise, buy an additional (we have 2). But would be most efficient to run off one! Especially in our case.
  2. Tighten up cord/choke design for presentation? Depends on visibility.
  3. Test flower shape for most dramatic on/off states
  4. Need weight to keep servo stationary - might just mean mounting it to one plank of wood holding together the bellow+arm+servo
  5. “Business” cards from plastic bags
  6. Post info to site before show

Casualties of the Solar Panel Network

Monday, December 4th, 2006

Gilad and I were able to successfully connect our voltage measuring circuit to Barbara (one of the batteries being charged by ITP’s solar panel mounted on the roof of the NYU Tisch building), but not before we fried 1 XBee Pro and a couple of PIC chips. sigh. That’s what happens when you’re excited about working with energy and electricity at 3 in the morning, I guess.

Will post code shortly - Gilad, Ilteris and I setup 3 boards, each with an XBee Pro radio. One circuit is placed on the 12th floor alongside the battery and leads from the solar panel which takes solar energy voltage readings. This is sent to a 2nd circuit around the 7th/8th floor, which relays that to a 3rd circuit on the ITP floor. This last circuit’s also got an XPort, which connects to a database and logs the voltage readings successfully - YAY!

Flickr set

rest in peace, little one…

To reconfigure new, replacement xbee pro:
ATID 8888 (set the PAN ID - more on that from Faludi)
ATMY2 (my address)
ATDL, ATDH (destination address hi/lo)

Habana Labs: Wind Turbine Workshop, 12/2/06

Monday, December 4th, 2006

Twenty people signed for this awesome workshop to build small scale wind turbines and learn how various shapes and types of turbine designs affect the harnessing of wind energy. This picture shows a turbine mounted inside a jig with a stepper motor and circuit. When enough energy is created by the turbine’s movement, an LED is lit up on the breadboard.

Habana Labs will be planning more of these around the theme of sustainable energy.

time for new readings

Monday, November 27th, 2006

got the ammeter circuit driving the servo…more on that later

for now, here’s the latest readings from updated circuit:

ExcelReadings.png