Sunday, January 6, 2019

It's Time to Light the Lights

For their second turn in the lab, fourth grade is taking their knowledge of circuits to the next level using the Raspberry Pi computer. During their classroom science lessons on electricity and circuits, students learned to create complete pathways for electricity using regular light bulbs and D-cell batteries. In this unit, they used the kinds of electromechanical components employed by digital makers, LEDs, breadboards, resistors, and tactile buttons.

We started by spending a couple of days getting acquainted with these new components. Students built simple circuits using a battery pack and an LED. Then they added a button that could be used to turn the light on when it is pressed and off again when it is released. They had a good deal of time to experiment and tinker adding more LEDs. An interesting discovery many students made is that the LEDs require slightly different voltages so depending on how the circuit was set up, some lights would not light together. My favorite part of this segment of the unit is, after getting all 4 of their LEDs glowing, the teams start clamoring for more lights.



After learning to control their circuits mechanically (with moving parts like a button), students moved to the Raspberry Pi stations to learn how to take control digitally (with computer code). They started by using an add on board called Traffic HAT. Traffic because it is a set of 3 LEDs in red, yellow, and green resembling a stop light, and HAT for Hardware Attached on Top. This saves them from the distraction of learning a new way of wiring the LEDs while also learning the programming constructs that are used to control the circuits. The versions of Scratch that are embedded in the Raspberry Pi operating system have extensions that allow for physical computing (using a computer to control or gather information from physical components like LEDs, motors, buttons, and sensors). This is my favorite part of the entire unit solely because of the excitement that sweeps the room as LEDs begin to blink. What inevitably follows is students tinker with their code creating new effects, then call out to their neighbors to show what they have done.



Next, after becoming comfortable with the coding and still using the Traffic HAT, students use a breadboard and wires to add a button that they can use to control their LEDs. They also learn that the button can be used to make things happen on the computer screen. It can make characters talk or move, backgrounds can be changed, and just about anything else they can imagine. After that, I remove the Traffic HAT and provide students with a box of components like those they used at the beginning of the unit so that they have to build all of their circuits from scratch. Their final task for the unit is to create a game of some kind that uses at at least two LEDs and one button. I provide them with a guide for making a multiplication facts game, but they have the freedom to make any kind of game they want. Some make the math game, while others make quizzes about dinosaurs, Texas history, or Pokemon.



As always, I have been genuinely impressed by all of the creative ways the students have applied their new physical computing skills to the creation of projects that represent their interests and personalities.









No comments:

Post a Comment