Cracking the Code Programming a webcam

Cracking the Code Programming a webcam

Two young coders and science presenter Minna Kane meet an amateur photographer who uses a helium balloon to carry a Raspberry Pi computer, webcam and radio transmitter high enough to take pictures of the curve of the Earth. Dave holds the world record for the highest photograph ever taken by an amateur, and shows the children how he’s programmed a tiny, very basic Raspberry Pi computer to tell the webcam when to take photos, and the transmitter when to send them back to Earth. They help him pack the hardware into a box with a GPS tracker and attach it to a helium balloon that will carry the camera above the clouds. He explains how the resolution of the pictures affects the amount of data the transmitter can send back, so he uses a lower resolution to get the pictures back quickly. We see the looped code that tells the camera to take a photo every 30 seconds, the transmitter to send the image, and the GPS tracker to keep updating the location. The program tells Dave when the balloon has burst, and the young coders help direct him to the field where his hardware has landed, using the GPS tracker. Teacher notes: Could be used as an illustration of designing and writing programs to accomplish specific goals. It is also a good example of working with various forms of input and output.

  • 2013
  • 00:08:41
  • 9-12
  • Added on: 09/03/2019 users can access content from outside their institution. You must find your access code and then create an account.

Teacher Guide(s)

  • How to Use Video Effectively in the Classroom [.pdf]

    How to Use Video Effectively in the Classroom [.pdf]

Can be found in

The new version of Curio is available!

Access this page through the new version and discover a whole new experience.

Try the new version