5 Great Raspberry Pi Projects for Classroom Demonstrations

5 Great Raspberry Pi Projects for Classroom Demonstrations

1. Minecraft: Pi

5 Great Raspberry Pi Projects for Classroom Demonstrations

Source from Raspberry Pi Foundation. CC BY-SA 4.0[1]

“Minecraft” is a game that almost every teenager loves, and it successfully captures the attention of young people, becoming one of the games that can inspire creativity among them. This Raspberry Pi version of Minecraft is not just a creative building game, but also a version that has a programming interface that can interact with Python.

The Minecraft: Pi version is a great way for teachers to teach students problem-solving and coding tasks. You can use the Python API to create a house that follows your footsteps, build a bridge wherever you go, make the sky rain lava drops, display temperature in the air, and everything else you can imagine.

For more details, see “Getting Started with Minecraft: Pi[2]

2. Reaction Game and Traffic Light

5 Great Raspberry Pi Projects for Classroom Demonstrations

Source from Low Voltage Labs[3]. CC BY-SA 4.0[4]

Using Raspberry Pi, you can easily perform physical computing by connecting a few LEDs and buttons to the GPIO interface on the development board, and with just a few lines of code, you can press the button to turn on the light. Once you understand how to perform these basic operations with code, you can do other things based on your imagination.

If you know how to make a light blink, you can control three lights to blink. Choose three LEDs of the same color as traffic lights and write code to control the traffic lights. If you know how to trigger events with buttons, you can simulate a pedestrian crossing. You can also refer to other completed traffic light accessories, such as PI-TRAFFIC[5], PI-STOP[6], Traffic HAT[7], etc.

Code is not everything — it’s just a practice to help you understand how systems are designed in the real world. Computational thinking is a skill that will benefit you for a lifetime.

5 Great Raspberry Pi Projects for Classroom Demonstrations

Source from Raspberry Pi Foundation. CC BY-SA 4.0[8]

Next, try connecting two buttons and LEDs to create a two-player reaction game — let the LED light up randomly, and see who presses the button first.

For more information, check out GPIO Zero recipes[9]. All the materials you need can be found in CamJam EduKit 1[10].

3. Sense HAT Electronic Pet

Astro Pi — an enhanced version of Raspberry Pi — will be released in December, but you haven’t missed the chance to get hands-on with this hardware. The Sense HAT is a sensor extension board used in Astro Pi, and it is now available for purchase. You can use it for data collection, scientific experiments, games, etc. Check out the video by Raspberry Pi’s Carrie Anne on Gurl Geek Diaries, which demonstrates a great way to get started — designing a lively pixel pet on the Sense HAT screen: video[11] (external link).

See “Exploring Sense HAT[12].”

4. Infrared Birdcage

5 Great Raspberry Pi Projects for Classroom Demonstrations

Source from Raspberry Pi Foundation. CC BY-SA 4.0[13]

A great idea that involves the whole class is to place a Raspberry Pi with a night vision camera and some infrared lights in a birdcage, so you can see what’s happening inside the birdcage in the dark, and then use the Raspberry Pi to stream video over the network. You can then wait for the birds to return to the cage, allowing you to observe them up close without disturbing them.

To learn more about infrared and spectra, and how to calibrate the camera focus and use software to control the camera, visit Build an Infrared Birdcage[14].

5. Robot

5 Great Raspberry Pi Projects for Classroom Demonstrations

Source from Raspberry Pi Foundation. CC BY-SA 4.0[15]

With just a Raspberry Pi, a few motors, and a motor controller, you can create your own robot. There are many types of robots you can make, from simple cars made from a few wheels and a homemade chassis to a metal pony driven by a game controller, with self-awareness, equipped with sensors and a camera.

To learn how to control different motors, you can start with the RTK motor driver development board or use the CamJam robot development kit configured with motors, wheels, and sensors — which has great value and plenty of learning potential.

Alternatively, if you want to learn more about the core content, you can try PiBorg’s 4Borg[16] (£99/$150) and DiddyBorg[17] (£180/$273), or purchase the Metal version of DoodleBorg (£250/$380), and then build a mini version of the DoodleBorg tank[18] (not for sale).

For more details, see the Robot Equipment List[19].

via: https://opensource.com/education/15/12/5-great-raspberry-pi-projects-classroom

Author: Ben Nuttall[20] Translator: ezio[21] Proofreader: Caroline[22]

This article is a translation by LCTT[23], proudly presented by Linux China[24].

[1]: https://creativecommons.org/licenses/by-sa/4.0/[2]: https://opensource.com/life/15/5/getting-started-minecraft-pi[3]: http://lowvoltagelabs.com/[4]: https://creativecommons.org/licenses/by-sa/4.0/[5]: http://lowvoltagelabs.com/products/pi-traffic/[6]: http://4tronix.co.uk/store/index.php?rt=product/product&product_id=390[7]: https://ryanteck.uk/hats/1-traffichat-0635648607122.html[8]: https://creativecommons.org/licenses/by-sa/4.0/[9]: http://pythonhosted.org/gpiozero/recipes/[10]: http://camjam.me/?page_id=236[11]: https://youtu.be/gfRDFvEVz-w[12]: https://opensource.com/life/15/10/exploring-raspberry-pi-sense-hat[13]: https://creativecommons.org/licenses/by-sa/4.0/[14]: https://www.raspberrypi.org/learning/infrared-bird-box/[15]: https://creativecommons.org/licenses/by-sa/4.0/[16]: https://www.piborg.org/4borg[17]: https://www.piborg.org/diddyborg[18]: https://www.piborg.org/doodleborg[19]: http://camjam.me/?page_id=1035#worksheets[20]: https://opensource.com/users/bennuttall[21]: https://github.com/oska874[22]: https://github.com/carolinewuyan[23]: https://github.com/LCTT/TranslateProject[24]: https://linux.cn/article-7355-1.html?wx

Recommended Articles

Click the title or enter the article ID to go directly to the article

690 The Most Popular Programming Languages on GitHub

3378 Controversy! The Elegant Use Philosophy of Linux

3947 Can Cache in Linux Memory Really Be Reclaimed?

5 Great Raspberry Pi Projects for Classroom Demonstrations

Sharing this article with friends is the best appreciation for us!

Leave a Comment

×