10 Mar

Hacking a Rain Barrel

rainbarrel_hack

Wish we could say no rain barrels were harmed during this week’s minicourse at SLA Beeber but, as the photo above indicates, that simply isn’t true. Ninth grade students have begun to imagine a smarter, more functional rain barrel for Philadelphia residents and businesses to manage stormwater on their property. This week, one group of students worked in the makerspace to build an enclosure prototype for the rain barrel while the other group investigated different sensors to measure water level in the barrel and figure out how the sensors fit into the physical design.

As with last year’s solar-powered birdhouses, greenSTEM is collaborating with Public Workshop to guide the students in designing and building a functional addition to their schoolyard and garden. We’ll be documenting the progress here—sharing the designs, code and challenges along the way.

Learn more about rain barrels and Philadelphia Water’s Rain Check program here.

05 Feb

SIM City: Philly Students Debut Sewer Inlet Monitor at STEM Competition

MBACS_2016

Move over, Ninja Turtles—there’s a new hard-shelled, talkative superhero in the city sewer system. Meet SIM (Sewer Inlet Monitor), defender of our rivers and streams, guardian against street flooding, and unrepentant tattletale. SIM texts or emails when sewer inlets become clogged with trash, alerting the public when cleaning is needed.

Yesterday, five 10th-grade students from Mariana Bracetti Academy Charter School presented SIM at the regional portion of the 2016 Governor’s STEM Competition. At the School District of Philadelphia, judges from the Mayor’s Office of Education and Drexel University awarded the students first prize; they will advance to the statewide competition in May to represent Philadelphia. (Full disclosure: They faced no competition from other teams. Full disclosure, Part II: These students worked after school, they came into school on days off, they worked after full days of standardized testing, so … they won and they earned it.)

MBACS_SIM

The photo above shows SIM on the outside; it’s camouflaged, waterproof, and rugged enough for, well, a sewer inlet. The device’s inner workings are, for now, a trade secret. (We’ll open-source the project shortly after the state competition.) The Mariana Bracetti students worked with Philadelphia Water‘s greenSTEM project to research a community problem (excessive trash near the school, right across the street from Frankford Creek), learn basic coding and circuit-building, develop a prototype, test, and revise the final product.

In addition to presenting SIM to the judges and conducting a succesful live demo, the students were issued a Project in a Box challenge: given 30 minutes and a mystery box of materials, they had to work as a team to solve a problem. The challenge? Build a paper airplane to fly a raw egg into the center of a target, using a short list of materials (tape, tissue paper, glue, etc.). Here’s how it went:

MBACS_eggplane

Submit your egg jokes/puns in the comments section.

Thanks to the School District and the judges, as well as Mariana Bracetti teacher Lauren DeHart and Drexel/greenSTEM coding mentor Sean Force.

20 Jan

TechGirlz Tackle Arduino

LED_smiley

On Saturday, more than 20 middle-school girls gave up an unseasonably sunny afternoon to hack with Arduinos. Philadelphia Water’s greenSTEM project hosted a free TechGirlz workshop at Moore College of Art to explain how low-cost electronics and sensors can be used to help the environment, improve our cities and neighborhoods, and connect the real world to the virtual world.

We hit the ground running by setting up with Codebender, a browser-based Arduino programmer that takes much of the pain out of installing software, drivers and libraries on two dozen different computers. We quickly moved to a modified version of the Arduino blink activity and then tackled an art project: programming designs onto a 16×32 LED matrix sign using an x,y grid, geometric shape codes and color codes. This was hard work—many lines of code were written with intense focus.

LED_desert

Thanks to the girls for attending, to our TechGirlz volunteers, and to Moore College for providing the space.

02 Dec

Introducing: The Soil Cell

el_chapo

When we first deployed web-connected soil moisture sensors in 2013 (see: the Root Kit), the device relied on radio signals and a school’s wifi network to send data that students could access online. But what if there’s no wifi network to connect to? That limitation led us to investigate using a cellular network signal. This winter, we’re putting the finishing touches on the Soil Cell.

Check out our tutorial: It walks you through the hardware assembly, power-saving code, and the setup of a data endpoint at cloud service Ubidots. We use the Adafruit FONA module to connect to a 2G network; in the coming months, we expect there to be multiple boards that are compatible with the 3G network. (That means there will be even more places where the Soil Cell can connect and send data.) We’ll be updating the tutorial as new pieces come into place.

As we wind down 2015, it’s worth noting that Internet of Things technology (web-connected sensors, Arduinos, Raspberry Pis, etc.) is exploding. We’re shifting our Arduino code archive to Codebender and anxiously awaiting the $5 (!) Raspberry Pi Zero, the Particle Electron and the AirBoard—all due to appear in early 2016. These tools will make it easier than ever for students and citizen scientists to collect data and engage in new projects.

18 Jun

Put A Bird In It: SLA Beeber’s Birdhouse

SLA_birdhouse_close_web

Now available: summer rental, 1BR with porch, ready for move-in at Science Leadership Academy’s Beeber campus. As detailed in a previous post, a group of 9th graders at the school spent the last 8 weeks designing, prototyping, and building solar-powered, webcam- and sensor-enabled birdhouses (and one bat box). Philadelphia Water and Public Workshop worked with the students to hone their ideas and craft the houses in the school’s excellent makerspace. Students Amani and Aaliyah worked on this honeycomb design that’s perfect for cavity nesters such as sparrows, wrens, and chickadees. The middle compartment is sized to contain the electronics and infrared nest camera.

SLA_birdhouse_front_web

Installation in the schoolyard came down to the very last day of school, so the majority of the observing, sensing and solar-powering will take place when classes resume in the fall. Two other birdhouses and a bat box are nearly ready for installation, too—we’ll be scouting locations around the city for them to be installed.

SLA_birdhouse_west

Thank you to Public Workshop’s Alex Gilliam and Jason Depenbrock, as well as sophomore Brodie Bauman, for their design and construction expertise. Additional thanks to Drexel’s ExCITe Center for purchasing materials. Summer is here but we’re still working—wait until you see the other designs.

17 Jun

Gimme Shelter (At The Refuge)

heinz_birdhouseWe are much belated in posting this news, but the first greenSTEM birdhouse was not installed at a school but rather at a wildlife refuge. The John Heinz National Wildlife Refuge at Tinicum has long been one of our favorite green spots in Philadelphia. Easily accessible from I-95 near the airport, it’s a true urban refuge: Even as planes fly overhead and highway traffic blurs in the distance, you’re enveloped in 1,000 acres of freshwater tidal wetland and forested hiking/biking trails. It’s also a birder’s paradise, as hundreds of species of birds can be spotted at the refuge over the course of the year—from migratory shorebirds and raptors to turkeys and cavity nesters such as swallows and sparrows.

When we began building birdhouse prototypes, we met with deputy refuge manager Mariana Bergerson and wildlife biologist Brendalee Phillips to get some design tips, configure a wifi connection to stream nestcam video, and figure out placement. The last part was easy—the refuge’s visitor center has solar panels on its roof, so we put it in the meadow and aimed our solar panel the same way. See photo above—you’ll also notice some perches on the side of the birdhouse and spikes on the roof to prevent birds perching (and subsequently pooping) on the solar panel.

Birds moved in almost immediately. It’s an ongoing saga, but after the jump we begin the story of swallow vs. sparrow.

Read More

16 Apr

Welcome to the Matrix

SLA_LED_plant

In our last post, we detailed how soil moisture sensors and datalogging are not exactly the cure for dead plants (or neglectful students). The next step at SLA Beeber was to give students blindingly bright visual cues as to when their plants required watering. Along with taking soil moisture readings and determining a wet or dry state, students programmed their own designs onto an Arduino-powered LED matrix. Remember Lite-Brite? It’s kind of like that, except it’s coded in Arduino using an x-y coordinate system, geometric shape commands and color codes. Students began by sketching their designs onto a 16×32 grid, then breaking the grid into rectangles, lines, and pixels as lines of code:

Feed_LED

Adafruit has an excellent tutorial on how to wire this to the Arduino and program it. We put the display inside a Pelican case to keep it dry and set it up in the school’s hallway, where one can only hope the plants’ occasional pleas for water will catch someone’s eye.

17 Mar

Green Sensor Design (and Terrible Gardening) at SLA Beeber

SLA_Arduino_2015  SLA_class_2015

At Science Leadership Academy’s Beeber campus in Overbrook, 9th grade students are learning to program Arduinos to collect soil moisture and sunlight data. The course began with a trip to the Fairmount Water Works to get some background on Philadelphia’s water history, its present challenges due to stormwater and combined sewer overflows, and the plan for an environmentally sustainable future. On the tech side, we’ve covered Arduino basics, Ohm’s Law, simple circuit design (in the photos above, Fritzing came in handy to help students visualize circuits), and the principles behind soil moisture sensors and photocells.

Each student used a datalogger shield to monitor a plant. Alas, monitoring does not equal maintenance. There’s only one bit of green in this otherwise barren dirt farm:

dirt_farm

In the coming weeks, we’ll figure out more attention-grabbing ways to make sure students are looking after the plants. (And perhaps a solution to that mess of wires.) Thanks to Drexel University’s ExCITe Center, whose Seed Project funding brought all the electronics and sensors into the classroom.

23 Feb

We Got This, Elon

simpsons_birdhouse

In an episode of The Simpsons last month, inventor/entrepreneur Elon Musk lands his rocket in Springfield and builds Lisa a futuristic, solar-powered birdhouse. (Some other things happen in between those two plot points, but we’re summarizing.) Not bad, Mr. Musk. Here’s our version:

greenSTEM_birdhouse_tree

Many more details to come as we design, prototype, and test solar-powered birdhouses equipped with environmental sensors and infrared video cameras live-streaming to the web. Another version of the birdhouse above is already in the works. Alas, none of our birdhouses have satellite TV or a swimming pool. We just don’t see where there’s market demand for that.

08 Dec

Fairmount Water Works Sensor

Now on display at the Fairmount Water Works—a simple soil moisture sensor with an LCD display to keep track of a plant’s watering needs. This is just a first step in developing some really interesting ways to monitor plants and get feedback on plant health. Working with two 10th grade students at Science Leadership Academy, we’ll be investigating how to use visuals, audio, and Twitter to communicate environmental data.  (We’ll also be investigating why we didn’t put the electronics in a waterproof case, because what’s more awesome than an unprotected circuit board next to a plant that’s being watered?)

This setup uses an Arduino Uno ($25), a Grove base shield ($10), a Grove LCD display ($14) and a Vegetronix VH400 soil moisture sensor ($37, though you can find soil moisture sensors for under $10; we like the performance of the VH400). The Grove shield stacks on top of the Arduino and lets you use snap-in wires to connect sensors and displays. The Arduino code is after the jump; it’s basically modified code from the Grove website.

We did a rudimentary calibration of the soil moisture sensor and got readings for the sensor in air, in dry soil, in wet soil, and immersed in water. From those measurements, we estimated readings below 200 would probably indicate the plant needs watering. It’s not an exact science, but we’ll learn more about what the sensor output means as we go along.

Read More