Two Rocket Canada Day – Part 2

After lunch, the girls and I hopped on the subway and headed to the Canada Day events hosted at Queen’s Park.  We ended up having a  great time – there were free bouncy castles, live music, hula hoops, and more.

But I thought the coolest activity was the build and test your own air rocket, hosted by Makerkids.

The children were given pipe insulation for the rocket’s body, and duck tape, scissors, cardboard, streamers, and everything else you would need to complete an air rocket.

With occasional help from Rachel, Tegan built her rocket.

Fueling the Air Rocket
Fueling the Air Rocket

The Makerkids team had several launching stations setup on University Avenue, which appeared to be similar to the Make design.

As scotch tape was used for some of the cosmetic touches, I warned Tegan that the rocket may not survive its first test flight intact.  She decided to launch it anyway.

See the video for the test flight results.

Two Rocket Canada Day – Part 1

Shortly after breakfast on July 1st, Tegan picked up a recently discarded brown cardboard box sitting beside our recycle bin.  She had a vision in mind: she wanted to build a rocket ship.  She needed some assistance – the cardboard box was too thick to cut with her scissors.  So she created a design.

Technical Design Documented Prior to Implementation
Technical Design Documented Prior to Implementation

First, I was assigned the window.  With a utility knife, I cut a circle out of the box. A clear plastic lid, also sourced from the recycle bin, was installed.  Tegan then made the fins from the box’s former flaps, and installed them using packing tape.

Next came the nose cone.  Rachel was a proponent of using the two remaining box flaps, and building an A-frame, triangular nose cone.  Tegan had her heart set on a true conical design, but couldn’t quite figure out how to achieve it with the materials at hand.  In the end, we taped 9 sheets of construction paper together, and rolled the now super-sized sheet into a cone, and installed it on the top of the rocket.

Together, the girls painted the rocket red.  To this day, it sits in a corner of their room.

Testing, Quality Assurance
Testing, Quality Assurance

Who connects to random WiFi hotspots?

I do.  Even in an era of smartphones and data plans, every once in a while, I find myself searching for open WiFi hotspots.

Who else does?  I set out to find out.  I built a WiFi hotspot that served up an open-to-everyone community wall.

Community Wall Bulletin Board
Community Wall Bulletin Board

To build it, I set up my Raspberry Pi with a WiFi USB dongle, and configured it as a WiFi hotspot (with WPA security disabled).  I needed a name that would encourage people to choose my hotspot over the others in the area – “CommunityWiFi” seemed like a suitable name.

I chose to use my Raspberry Pi because:

  • its cheap enough I could leave it anywhere without worrying about it getting stolen
  • its small
  • it can run off a USB battery pack, so it can be taken anywhere

But there’s nothing special about this hardware setup – you could set this up with any laptop, a hacked Android phone, or home router.

The system is setup with a DHCP server, a DNS server (dnsmasq) configured to redirect all dns requests to the Pi, and a webserver  configured to send all requests to the Community Wall page.  The Community Wall consists of a couple PHP pages backed by SQLite.

Once the user attempts to visit any web page while connected to the hotspot,  the system will direct them to the Community Wall, where they can read and post messages.

I took the system to our local library one morning.  I tested it out with my smartphone, and everything worked great, but I received no posts over the hour or so I had it running.  This is likely because most library users will have already saved the connection to the library’s own WiFi.  I will be trying this out in other busy areas, without free wifi, and report back.

Some people have taken this idea much further than myself – check out PirateBox by David Darts.  A PirateBox is a mobile WiFi hotspot that allows any user to connect, chat with other connected users, and share files.

Download Community Wall Project Files

 

Homemade Dance Dance Revolution Mat

It’s been a long winter.  I love taking the kids outdoors, even when it’s cold, but sometimes, it can be fun to play indoors too.  I haven’t acquired a game machine, the kids haven’t expressed much interest in playing video games, but we DID have fun playing a Dance Dance Revolution (DDR) type game at an arcade in hotel we stayed at once.  What would it take to play at home?

Searching around, I came across StepMania, an open-source, DDR type game.  I thought I’d look for a used mat on Craigslist, but when I started researching dance mats, I was surprised to see that many people actually preferred homemade mats over the cheap roll-up mats.

The simplest designs I came across measured the capacitance of the body on aluminium foil to detect steps.  I took a cardboard box from our closet, some sheets of aluminium foil, connected the foil to some resistors, connected to an Arduino.  I covered the aluminium foil with packing tape.  What’s cool with this design is I had everything in the house already, except suitably sized resistors, so the whole thing cost me $1 (plus tax).

Can you tell that it's home made?
Can you tell that it’s home made?
There’s an Arduino library (CapSense) that makes measuring capacitance really easy, and I found firmware called “Big Joystick”  that makes the Arduino UNO appear as a regular, USB, HID joystick.  Detecting steps works really well, and the whole thing works flawlessly with Stepmania.

What I didn’t get right was the positioning of the pads – it seems harder to get the steps/combinations right than I remember it being at the arcade.  Lisa thinks they are too far apart. But other than that, the sensors work really well.

Lisa and Rachel playing StepMania
Lisa and Rachel playing StepMania

I’m trying to think of other applications where a large “switch” like this one would be useful.  With the right configuration, these sensors will also sense proximity – not just touch.

Dance Mat Interface
Dance Mat Interface

Download Dance Mat Project Files

Robotics Projects for Kids

When I go to the library with the kids, I end up coming across books I wouldn’t ordinarily see.  I recently stumbled on Robotics: DISCOVER THE SCIENCE AND TECHNOLOGY OF THE FUTURE in the kids section.

Robotics book for kids
Robotics book for kids

Although this book is targeted at older children, and my children aren’t particularly interested in robotics, we still had fun completing a couple of the simpler projects at home.

First, we built a mechanical hand with cardboard, drinking straws, string, and a glue gun.  This was a great craft, because my six year old could complete all the assembly steps (given guidance) and the completed project was unanticipated, functional and fun.

Next, we built a drawing robot, which consisted of a plastic cup, tape, an electric motor with an added weight (like a mobile phone or pager vibrator), batteries, and markers.  This craft required more assistance – I connected the batteries, and the weight to the motor.  My six year old assembled the cup and the markers, and shot video footage.

Here’s what the output looked like:

Can your robot draw this?
Can your robot draw this?

 

WiFi Sailboat Passes Bathtub Test

Last summer, I built a pop-bottle sailboat with my (then) four year old.  After trying a couple of designs with keels in our bathtub, we settled on a catamaran style design with two pop bottles.  We tied a string to it, threw it into the pond, let the wind carry it away, and then pulled it back to shore.

And I thought, wouldn’t it be cool to add remote control functionality?

So I did.  I finished my smartphone controlled, WiFi sailboat on Saturday.
Field test on a rainy, windless day.  The bane of any sailor.
Field test on a rainy, windless day. The bane of any sailor.
The sailboat consists of:
  • 2 x 2L pop bottles
  • Rubbermaid body
  • Plastic shopping bag sail
  • Dowel mast, plywood rudder
  • 2 servos
  • Raspberry Pi with USB WiFi adapter
  • Arduino Uno
  • AA Battery pack with a 5V regulator
I configured the Raspberry Pi to act as a WiFi hot spot.  Using any smart phone, you can connect to the boat, and visit its web page.
The page has two jQuery slider controls.
Web Interface - jQuery sliders control the sail and rudder
Web Interface – jQuery sliders control the sail and rudder

When re-positioned, the slider controls drive a PHP page which sends commands over the USB interface to the Arduino, which then controls the servos.

It seems like overkill – an Arduino AND a Raspberry Pi for such a simple task?  I’d considered alternatives – using only an Arduino with Bluetooth or another wireless interface, or using the Raspberry Pi to directly control the servos – but in then end, I just used the parts I had on hand.

My initial design used a 7805 IC to supply the 5V for power – that didn’t work…  Everything would boot, the 7805 would get super-hot, and the Raspberry Pi would crash after moving a servo a few times.  A little reading lead me to pick up a switching regulator (I happened to pick up one from Castle Creations at my local hobby store).

I tested the design out with my assistant in our bathtub, and everything worked!

But, by the time everything was built, the city drained the reflecting pool I had intended to use for trials for the fall – I had to try it out in a nearby pond.  And, of course, there was no wind.  I’ll post more photos following a windy day test.

Check out these far grander projects – these individuals are trying to build autonomous boats that can cross the Atlantic:
http://gotransat.com/
http://www.gpss.force9.co.uk/autop.htm

With a little more money, and a little more time, I think it would be fun to build a boat I could launch in lake Ontario, at the foot of Yonge St., to sail autonomously down the St. Lawrence to Brockville, where friends in Ottawa could retrieve it.

Download Sailboat Project Files

Growing Popping Corn on a Balcony

The apartment we live in faces east, and in the morning, we get a lot of sun.  This year, I thought, wouldn’t it be cool to have a little natural shade?  As corn grows tall, it seemed like a good candidate.

We successfully grew 8 popping corn plants in two large pots.  It was pretty easy – plant the seeds, water daily, fertilize.  This was not organic corn.  The plants did grow tall, but 8 was not enough to provide us with any significant natural shade.

Popcorn, ready to harvest
Popcorn, ready to harvest

This year, we also grew pole beans, carrots, tomatoes, sun flowers and some other potted flowers.  It was a pretty good reminder of how dependant we are on big agriculture, farms, transportation systems, food terminals, and grocery stores to economically feed ourselves.  Given the start up costs of the containers and soil, these were not economically viable crops – it was vastly more expensive to grow than to buy.

Would your condo board allow this garden?
Would your condo board allow this garden?

The corn did pop.  We’ll likely do this again next year.

 

 

 

Electricity from a Toy Windmill

Electricity and energy are such abstract concepts.  We just plug things in and they work.  One day, my daughter brought home a toy windmill from school, and I guess I thought I could take that understanding a little bit further.  So I told her: “We can make electricity with that”.

I did a little reading beforehand, and found a few people who had made wind generators online, so I had a rough idea of what I was going to build, and what parts I needed.  We took the subway to Active Surplus, picked up a couple of electric motors, some flashlight-sized light bulbs, some LED lights, and some diodes.

Toy Windmill with Generator
Toy Windmill with Generator

First, I connected the windmill to the motor, and the motor to a flashlight bulb.  I didn’t do any math.  It may come as no surprise to some of you that we couldn’t get enough power from the windmill to drive the bulb.

Toy Windmill Generator Circuit
Toy Windmill Generator Circuit

Plan B.  I built a bridge rectifier with the diodes I picked up, to get DC power from the motor, and connected it to an LED light.  It worked!  I was able to illustrate that we could convert wind energy to light: harness energy from the wind, make a little electricity, and generate light.  Every toy windmill needs this built in!

Fun with Kites

I’ve been wanting to take aerial photos for a while now.  Suspending a camera from a kite seemed like the best way of doing this.

I picked up an inexpensive camera on craigslist.  I modified it with custom firmware from http://chdk.wikia.com/wiki/CHDK , which allowed me to trigger the shutter at pre-programmed intervals.  I picked up a kite that was recommended for this sort of task, a “Sutton Flow Form”, which has a parachute-like design and has 16 square feet of surface area for plenty of lift.  Finally, I cobbled together a mounting bracket with some screws and random stationary supplies from Staples.

Camera Rig
Camera Rig

We spent our Canada Day weekend in Guelph with our friends Craig and Jan, whom have a farm just north of the city, which seemed like a great opportunity to fly a kite.

Google Satellite View Of Areas Photographed
Google Satellite View Of Areas Photographed

I am really, really glad I attempted to do this in a wide open space first for my first attempt – there were a few times I was concerned the rig was going to smash into the ground, and there’s a much greater probability of this hitting someone in my neighbourhood.  Together with Craig and his son Ben, we managed to get some great photos.

My kite, in stock form, is a little unstable in gusty winds (the instructions recommend adding tails to address this), and did not provide great photos on our first attempt.  This was addressed on our 2nd attempt with the addition of another kite. Craig happened to have a super-stable delta-style kite with a 6 ft wingspan.  We launched my kite into the air about 30 ft, and then tied the rope
to his delta kite, launched the delta kite, and then once it was 20 ft in the air, suspended the camera rig to the line.

Camera Rig With Both Kites
Camera Rig With Both Kites

The amount of lift was incredible.  We had to wear gloves to prevent rope burn.  The camera periodically took photos for about 10 minutes.  We stopped for lunch.

Richard, Ben And Craig
Richard, Ben And Craig
Kite Photo 3
Kite Photo 3
Kite Photo 2
Kite Photo 2
Kite Photo 1
Kite Photo 1

We tried again after lunch.  I only had 300 ft of kite line, but Craig had a huge bag of hay bale twine – an essentially unlimited supply of rope.  We programmed the camera to take photos every 20 seconds for 30 minutes.  We took a photo from the ground early on, and an airplane passed by.

Plane Passing By
Plane Passing By

We continued to let the line out for about half an hour.  The kites and camera rig were impossibly high – it was unbelievable.

It came time to reel the kites back in.  It was impossible.  It took incredible strength to pull the kites in.  After about 10 minutes of pulling, the line snapped, and we watched the kites drift away.  Jan and I hopped into my car to chase them down.  Fortunately, the crops were still only about a foot high, and we actually saw the kites land in a neighbouring field about 3 km away.  We recovered the kites and camera, intact.

First Kite Recovery
First Kite Recovery

Unfortunately, my craigslist-special camera didn’t capture any photos of this round.

The kites, and cameras, were subsequently re-launched.  However, they ended up caught in a very tall tree.  We are all anxiously awaiting a strong wind to pull them down…

Great times were had by all –

The Power Of One

Here is a story that is unusual in that it illustrates both the importance of traditional media as well as the ability of the Internet to empower an individual.

Our federal government is a massive institution – our 2010 budget had the Canadian government spending 280 billion dollars despite only pulling in 230 billion dollars from its 33.5 million residents (source).  There are many opinions on deficit spending, but I’m sure for most of us, we just kind of accept what our elected representatives put on the table.  We might complain amongst our peers,  45% of us vote, some write our local newspapers or directly to their MPs.

An IT professional in Nova Scotia by the name of Drew McPherson has decided to take a more active role by highlighting the decisions being made about how our money is being spent.  He’s working to improve the transparency of a politically visible component of the federal budget: travel and hospitality expenses.  The federal government is obliged to disclose this information, but not in a useful or easy to analyze format.  Mr. McPherson uses his IT skills to collect and aggregate all expense information across various sites, and place it on his own, in a useful format.

Drew McPherson’s site can be found here: http://www.governmentexpenses.ca/

A site like this isn’t something you’re likely to stumble on, unless you happen to be researching government expenses yourself, which is where I have to thank Macleans magazine for drawing my attention to his work: http://www2.macleans.ca/2010/08/25/high-flying-civil-servants/print/

Greater transparency of the system should lead to better spending by our representatives.