Page 106 - Raspberry Pi as a Foundation for Boosting Computer and Technology Literacy
P. 106

9  Raspberry Pi Zero, Arduino, and BBC micro:bit
                  Examples of projects for the three boards include:
                Raspberry Pi Pico

                  •  Simple Projects

                    •  LED Blinking: Write a simple program to blink an LED con-
                       nected to one of the GPIO pins.
                    •  Button Input: Create a program that responds to a button
                       press by turning an LED on or off.
                    •  Temperature and Humidity Monitoring: Use a DHT sensor to
                       measure temperature and humidity and display the readings.

                  •  Advanced Projects

                    •  Weather Station: connect sensors for temperature, humidity,
                       and pressure to create a weather station that logs data and dis-
                       plays it on a website.
                    •  Robotics: build a small robot using motors and sensors, and
                       control it with the Raspberry Pi Pico.
                    •  Home Automation System: create a home automation system
                       using Wi-Fi or Bluetooth connectivity to control lights, appli-
                       ances, and other devices.

                BBC micro:bit
                  •  Simple Projects

                    •  LED Patterns: program the micro:bit to display different LED
                       patterns and animations.
                    •  Dice Simulator: create a simple program to simulate a dice roll
                       and display the result on the LEDs.
                    •  Reaction Timer Game: build a reaction timer game using the
                       micro:bit’s buttons and display.


                  •  Advanced Projects

                    •  Gesture-controlled Robot: use the micro:bit’s accelerometer to
                       control the movement of a robot based on hand gestures.
                    •  Wearable Fitness Tracker: develop a fitness tracker using the
                       micro:bit to monitor steps, distance, and heart rate.


                            106
   101   102   103   104   105   106   107   108   109   110   111