Showing posts with label circuits. Show all posts
Showing posts with label circuits. Show all posts

Tuesday, December 20, 2022

STEM Lab Round 3

It has been another great rotation in the STEM Lab! We have done a lot of programming, some building, and also gotten into some physical computing. Read a bit about what each grade level has been up to the last few weeks.

Kindergarten & 1st Grade

You may recall that Kindergarten and first grade started the year working on computer science and programming courses in Code.org. These puzzle based lessons are great for teaching concepts and helping students practice skills, but there is not much scope for student creativity. That is where Scratch Jr comes in. 

Scratch Jr is new to most of the Kindergarten students so we start with a refresher on what it looks like to write a program in Code.org (which they used at the start of the year) and compare that to the Scratch Jr environment. Each day I show them what they will be programming and talk about the command blocks they will be using. Then the students go to their seats and we code together. They are allowed to choose their own characters and backgrounds, but they copy my code at this point. When we finish coding together the students have what we call "creative time" when they are allowed to change their program and project by adding or deleting characters, choosing new backgrounds, and writing new code. 

The first graders who attended Sinclair last year are familiar with Scratch Jr, though there are always a few new faces, so we start with just a brief review the programming environment. The daily lesson outline is fairly similar however. I talk them through the day's program as I show how it is built. That is followed by the code-a-long and then creative time. In first grade I teach the students how to change scenes and use the message events to coordinate the actions of the characters so that they do not all run their code at the same time.

Throughout this round I was quite impressed with the creative projects the students in both Kindergarten and 1st grade created. They did a wonderful job of creating personally meaningful scenes and stories while quickly grasping the programming concepts necessary.



2nd Grade

The work Kindergarten and 1st grade did in Scratch Jr lays the groundwork for the digital diorama project 2nd grade completed in round 3. On their previous rotation through the STEM Lab, 2nd grade conducted research into an animal and took notes about it in their journals. The next step had them use those notes and the Nat Geo Kids website to guide them as they drew pictures of their animals and their animals' habitats. We talked about the elements of scientific drawings (big, colorful, and accurate) as well as being comfortable with one's best effort (it doesn't have to look like a photograph). These elements were photographed into a Scratch Jr project, the habitat as a background and the animals as characters, to create the dioirama. Students then programmed their characters to move around and to talk sharing facts about the chosen animal. 

I do some variation of this project most years. It serves as the first STEM lab project students complete that involves research along with both digital and physical elements. Most of the projects students work on in 3rd through 5th grades are patterned on those pieces, so I like to get the 2nd graders ready with projects like this one.



3rd Grade

This round 3rd grade embarked on the first of a 2 part project. Part one has the students creating a Scratch project that teaches the user about a topic. The project must use key presses to activate the various parts of the program because in part 2 they will design and build an intereactive poster that will connect to the Scratch project using the Makey Makey. I presented them with a list of topics from the 3rd grade science curriculum. Students chose either to work alone or with a partner and then used resources like Brain Pop and Britannica to research the topic selected from the list. Once their notes were complete I showed the students how to plan their projects. The basic formula is key press plus picture plus facts. That is, each key press should display a picture related to the topic and share facts relevant to the image. I had the students begin working on their projects before teaching them how to find and add pictures.

The studio of projects can be found here. (Disruptions caused by baseball, boil water notices, and fundraiser rewards mean that some of the projects are more of a work in progress than others.)

4th Grade

The Micro:bit has been an important piece of technology in the STEM Lab for some time. Fourth grade returned to this small but mighty microcontroller for round 3. Last year when they were introduced to the Micro:bit, students worked on making use of the basic inputs and outputs of the device and on becoming comfortable with the block-based programming environment MakeCode. MakeCode feels familiar because it akin to Scratch. However, the structures are different and can take some getting used to. We started the unit with a review session meant to refresh the memories of the students who used Micro:bit last year and to initiate those students new to Sinclair this year. Over course of the week students learned to used the Micro:bit's input/output pins to light LEDs. They used the environmental sensors (light level, temperature, sound level) and conditional statements to generate outputs that vary depending on the sensor input. The accelerometer (tilt sensor) was used to sound different notes based on different tilt gestures. The challenge was then to use the Micro:bit to play Twinkle, Twinkle Little Star. 



5th Grade

Fifth grade completed and presented their mini museum projects this rotation. In the prior round they used Scratch to build and program a digital museum room, complete with virtual docent to narrate, about a self selected and research topic. This time out they built a physical version of their room and the objects within. They used copper foil tape to built a circuit on the room's door which was connected to their Scratch projects with a Makey Makey. Openning the door to the physical room closed the circuit and triggered the virtual narrator to begin describing the objects in the room. Most classes got the opportunity to present their projects to visiting 2nd grade classes and administrators. The Echo magnet group also had the opportunity to share their work with Houston ISD Chief Academic Officer Dr. Bird and members of the Instructional Technology Department.

The Mini Museum Room Scratch projects can be found in this studio and a sample video of presentation day is below.


Sunday, February 17, 2019

Animated Artworks

It has become my habit in the STEM Lab to experiment, so to speak, on the 5th graders. When I devise a new project or new activity or practice, I find it useful to try it out on the group of students who will have gone on to middle school next year. That way, the necessary tweaks and alterations can be made for the following year. This unit is not entirely mine as much is adapted from a number of different activities I have seen done by my various Twitter friends.



Having said that, this is very much an experimental unit in which the 5th grade has been working. It is no secret that I do all that I can to bring concepts and skills from other subject areas into my lab projects. I have wanted to implement a unit with a fine arts focus for a while, and I felt like the 5th graders finally had the requisite physical computing skills to be successful. The project involves students creating their own interpretations of a famous artist's work, both digitally and physically.

Students started by doing some research into the life and work of a particular artist. The first two rotation groups got Vincent Van Gogh (because the first group was shorted 3 days due to various interruptions) and the third group is at work on Claude Monet. (I have not settled on an artist for the last group, yet.) These were chosen because they have a wide range of works to choose from. Students selected a work and sketched it into their notes. This gave me the chance to teach some basic drawing techniques which was a novel experience.



Next, students used Scratch to create an animated version of the painting they selected that also shared information about their artist. First they had to download an image of the painting. We used Wikimedia Commons for this because the images are free to use with attribution (which is another thing I have been working to get students in the habit of, citing their sources). They then uploaded that image into Scratch as a background. All of that is something they have learned previously. The next bit, however, took a little practice. They uploaded the image of the painting again, this time as a sprite and used the paint editor tools to erase most of the painting, leaving only the piece they intended to make move with code. In Van Gogh's "Starry Night" this may have been the moon or the clouds, in Monet's "Tulip Field" it was the flowers or the windmill blades. That sprite was then placed exactly over its corresponding place on the background so that it would only appear as a separate element when then triggering event key was pressed. Students repeated this process until they had at least 3 different animated elements in their chosen work. They also added a sprite that told about the life and work of their artist.

Here are a few example projects:
Van Gogh, Irises
Van Gogh, Starry Night
Monet, Boat on the Epte

The second part of the unit moved us into the realm of physical computing with the Raspberry Pi. First I introduced students to the Explorer HAT add on board. It is a self contained set of inputs and outputs capable of running both LEDs and motors. It has a small breadboard (which students learned to use last year) on top for building the circuits. Students are able to program the lights and motors using Scratch, albeit an older version which takes a bit of getting used to for them. Armed with their upgraded skills, students worked in teams to use the Scratch paint editor to create a digital interpretation of their chosen painting. This too takes some practice, but it also allows them to get creative with how they accomplish the drawing. Some use the shape drawing tools and fill them with color, while others use the line drawing tools. Meanwhile, the other partner is drawing the same painting on paper with colored pencils and markers. Both drawings done, the physical and the digital, teams added 2 LEDs to different places on their drawing, wired them to the Raspberry Pi, and programmed them to light up on different key presses. They also drew and cut out a detail from their painting, attached it to the the axle on a motor, and added the motor to the drawing as well. This was programmed to spin on a key press. The lights and motors matched elements in their digital drawing that they had animated on screen, similar to what they did during week 1. They also added a sprite to talk about the artist and the painting.

At this point the rotations are about half over and I am generally pleased with how it has gone so far. I think for the future I will create a gallery of paintings and artists for the students to choose from. Hopefully that will lead to a greater diversity of projects in the gallery.









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.









Sunday, October 14, 2018

Makey Makey That Poster Interactive!

The first grading cycle of the year is nearly over, and I find myself a little bit behind on my blog posting schedule. I will do my best to get caught up and to stay on track starting now.

The third graders started the year by "graduating" to the full version of the Scratch programming language. Student who were at Sinclair for second grade got an introduction to Scratch at the end of last year. They only used the offline version and so were not able to share projects or interact with the Scratch online community. So before they began their projects for this unit, they logged into Scratch for the first time. That was after a thorough discussion of the responsibilities of being a member of an online community and correct digital etiquette.

That done, students got to work on the actual project. Students selected a topic to research. Each class had different topic choices in order to have a greater diversity of projects. They used BrainPop and Britannica School to gather information on their chosen subjects and took notes in their journals. The next step involved planning and programming a Scratch project to share their learning. Their programs were required to utilize key press events to run different scripts to share information. I also showed them how to import images to Scratch that were downloaded from the online encyclopedia, and how to cite their work.

Once the programs were finished, students moved on to creating a poster that complemented their programming project. The poster designs were entirely up to the students, and it was interesting to see the choices they made about what information to highlight.

The final step of this project is to make the project interactive. This is done by adding brass fasteners as "buttons" and using copper foil tape as wires. We use a device called a Makey Makey to connect the poster to the Scratch program. It is an input/output board (sort of like a keyboard). The board interprets contact with the buttons as key presses triggering the scripts in the program. So as users touch different points on the poster, different elements of the program run on screen.

Projects like these that use Scratch as a means for students to share their learning are an essential element of the Sinclair STEM Lab program. One of my goals is that students learn to use computer programming to complete tasks, as a tool for doing work as well as for personal expression. Only a small fraction of the students who pass through the lab are likely to become computer programmers or software engineers. But every student that spends time in the Sinclair STEM Lab leaves knowing that computer programming is something that they CAN do, even if they choose not to.










Tuesday, November 14, 2017

Micro:bit = Macro:awesome!

Thanks to the the generosity of some wonderful people and Donors Choose, the lab now has a set of BBC Micro:bits. These tiny, programmable boards were first tried by our 5th graders during the first cycle of magnet classes. They only had a week on account of the late start to school. This cycle, the 4th graders are getting a more in depth experience with the Micro:bit.



I wrote about the Micro:bit in a previous post so I won't go on about it here. Suffice it to say that it is a marvelously user friendly board for students. It provides them with the opportunity to learn about a variety of inputs and outputs using a block-based programming language with which they are already familiar.

The unit started off with a scavenger hunt of sorts designed to help students become familiar with the most commonly used blocks in the palette. The Micro:bit is capable of some highly sophisticated programming and I wanted to steer students away from the more advanced block until they were familiar with the basics. So far, the classes I have seen so far have done a great job working through the tasks and connecting the work to their previous programming experience. Once the teams complete the scavenger hunt, I provide them with a guide to making a "rock, paper, scissors" game where the Micro:bit shows your choice rather than using the traditional hand gestures.



The next part of the unit incorporated the Micro:bit into a design and making challenge, the "micro:pet". Students worked in teams to design and build a pet with the Micro:bit playing some part in bringing the pet to life. At this point, only half of the 4th grade classes have completed this, but so far the results have been amazing. We have had all manner of creatures, both real and imagined, and some incredibly clever programming to go along with them. The wide variety of inputs available on the Micro:bit means students can create a number of behaviors for their pets.

The final part of the unit is for student teams to create a program with as many different inputs and outputs as possible. This is the point when I have given them more or less free reign to explore the palette of blocks and make use of whatever they can make work. Needless to say, most groups have gravitated towards the "Music" menu and there has been a lot of bleepy noise at the end of week two. Good times!




It has been great to the see the excitement students have for the Micro:bit. Personally, know all that is possible with it, I am excited for all the projects to come!












Saturday, October 28, 2017

How Fast Can the LED Blink?

This highly unusual school year has settled down to the point where things feel more-or-less back to normal. So I will be going back to my rough schedule of one post every couple weeks, each highlighting the work of a particular grade level. This post starts at the top with 5th grade.

Physical computing refers to using a computer to control the actions of physical objects. It is a chance for the 5th graders to combine their computer programming skills with their knowledge of electrical circuits. The computer gives them more control of their circuits than a typical switch. For this unit, students used the Raspberry Pi computer. It is a low cost, single board device that has all of the functionality of a typical desktop, but with a set of 40 input/output pins that allows users to connect and program components like LEDs, buttons, buzzers, and motors. The Pi operating system includes a number programming languages for students of all levels. We started with Scratch, a block- based programming language with which students are already familiar.




The unit began with an overview of the Raspberry Pi itself, with attention to how it is similar to and different from a traditional PC. Following that, we reviewed the use of components like LEDs, resistors, jumper wires, and breadboards. This group of students used these parts last year, but it was necessary to explain how their use differs on the computer. Over the course of the first week, students worked with partners to build increasingly complex circuits controlled by Scratch programs. The final "test" was to build an LED traffic light and program it to run the sequence from red to green to yellow and back to red at the push of a button. The teams quickly realized that this simple sounding task is not quite as easy as it sounds. Getting each part working in the correct order took more planning than they expected, but each group got their lights going eventually. Then, as usual, they set the wait time to a decimal and competed to see who could get the LEDs blinking the fastest.




Once they were feeling confident with physical computing using Scratch, I introduced them to Python. This is a professional level programming language that is user friendly enough for 5th graders. We repeated the same circuits they had built for their Scratch programs so that they could compare programs that achieve the same end with different means. After a couple of days, most students say they prefer Python to Scratch for physical computing. Some say that it's faster to type the Python than to move all the Scratch blocks around, while others feel like Python is more real. In any case, everyone has done well with their taster lessons on text based programming.




For their culminating project, the student teams returned to Scratch to create some kind of quiz game that incorporated the electromechanical components studied. Most of the teams in this block opted to make multiplication games, and one decided to make a world capitals quiz instead. This was the first of the 4 groups that will come through the lab for this unit and I am excited to see how it goes with the others!


Saturday, February 18, 2017

We Need More LEDs!

We have had a busy start to the new year for the 4th and 5th graders in the STEM lab. Between half weeks, holidays, early dismissals, rain delays, and 5th graders going to camp; we have had to make some adjustments. However, we have persevered and filled our time with flashing lights and 3D design.

This unit has a two part focus, electric circuits and 3 dimensional design and printing. My goals for the electricity portion were to give the students more hands-on practice building circuits and to teach them to use bread boards and LEDs as a lead in to the physical computing unit coming up in the 4th nine weeks. As for the 3D design/printing, these classes have spent the year so far engineering and building with their hands in the physical world and I wanted them to have some exposure to designing objects in the digital realm.

We began our work on circuits by reviewing what students already knew about the topic. The students are all well versed in the vocabulary of electrical circuits, conductor, insulator, open and closed circuits, switches, and so on. We discussed the various components that we would be using and how they fit into the students' existing knowledge. New terms included resistor and breadboard. Most had heard of an LED but were not familiar with what it stands for, light emitting diode. We examined the breadboard and sketched out how the different sets of holes are connected. Then I talked the students step by step through setting up a complete circuit. The best part of this unit so far has been the loud "oohs" and "aahs" that have accompanied the moment that first LED begins to glow. From there students build circuits using the remaining LEDs and resistors. In the next lesson, students are introduced to adding a button that turns their lights on when it is pressed. This exercise provides a great teachable moment in debugging circuits because there is always a group or two that wires the button in such a way that it turns the lights off by creating a short circuit when it is pressed. Once the students master the button, I have them add a buzzer. (Truth be told, these buzzers are much louder than I thought they would be when I ordered them.) The final challenge is then to connect all 5 LEDs and the buzzer to the button. Because of the small size of the breadboards we are using, the students must figure out how to use both halves of it in order to connect all of the components.









The materials for this part of the unit were provided by the generous individuals who supported my Donors Choose grant earlier this year. I cannot thank them enough.

The other half of this unit centers on the principles of 3D design and 3D printing. Students use a series of lessons provided by Project Ignite to learn hoe to use the tools in Tinkercad. This elementary computer assisted design program allows students create 3 dimensional objects digitally. These can then be printed on the classroom 3D printer. Students must complete the lessons and demonstrate mastery of the vocabulary and tools before being allowed to design and print an original object. One issue that keeps cropping up is that students get distracted designing some truly amazing things mid lesson and lose track of what they are supposed to be doing. (I suppose they are staying true to the spirit of tinkering.) A number of students have been able to print so far, and many more have completed the lessons and will be able to design and print during the next rotation. Moving forward, this year and into next, I will have students design and print objects not for their own sake, but as parts of other projects.