Skip to main content

Posts

Showing posts with the label micro:bit

The "Hug Avoider": A Coding Journey from Blocks to MicroPython

This project journey follows the evolution of a simple social-distancing idea into a fully realized "Hug Avoider" wearable. Written from my perspective, it’s designed to take you from basic block coding into the professional-grade world of MicroPython. As a maker and educator, I’m always on the hunt for "low floor, high ceiling" projects—those that are easy enough for a beginner to start in an afternoon but deep enough to keep an experienced coder engaged. I embarked on a multi-stage project using the 4tronix EggBit . What started as a simple social-distancing experiment turned into a  transition from blocks to text-based code. Whether you're a teacher, a parent of a young coder, or a fellow maker, here is the full evolution of the "Hug Avoider." The Hardware: Meet the EggBit The foundation of this project is the 4tronix EggBit . It’s a "cute," egg-shaped expansion board for the BBC micro:bit, designed specifically to be wearable. [INSERT IMA...

DIY Data Science with microbits

DIY Data Science: A Complete Guide to Data Logging with the Micro:bit V1 Whether you are a STEM teacher looking for a classroom lab solution, a parent seeking a weekend project, or a maker building an environmental monitor, the Micro:bit V1 is a hidden gem for data logging. While the newer V2 has built-in logging memory, the V1 is incredibly capable when paired with a computer. By using the Serial (USB) Connection and Radio Communication , you can turn these pocket-sized boards into useful sensors. The Equipment List To get started, you will need: For Local Logging: 1x Micro:bit V1. 1x Micro-USB cable (high quality, data-capable). A computer with a Chrome-based browser (to use the WebUSB feature in MakeCode). For Remote Logging: 2x Micro:bit V1s. 1x Battery pack (2xAAA) for the "Remote" Micro:bit. 1x Micro-USB cable for the "Receiver" Micro:bit. Optional (For Experiments): A strong magnet (to test the Compass/Magnetometer (see later in this post). A flashlight (to ...

Detecting and logging magnetism with a microbit

Producing a data logger using the microbit to detect and log changes in the magnetic field. Traces The micro:bit includes a built-in compass that can also be used as a magnetic field detector . With a small amount of code, we can use this sensor to measure changes in the magnetic field and log the data to a computer . If you are new to this idea, a useful introduction is the video from Mr Morrison below, which explains the basic concept. The video demonstrates how the micro:bit can detect magnetic fields and display the readings on the device itself. Let’s extend that idea by turning the micro:bit into a data logger that continuously records magnetic field changes . Coding and Sending data to a Computer Instead of displaying the magnetic readings directly on the micro:bit’s LEDs, we can send the data through the USB cable to a computer . The MakeCode editor already provides blocks that allow data to be sent using the serial connection . By placing the magnetic measurement inside a c...

TinkerCad microbit traffic light simulator (now with video)

Have you ever wondered how the traffic lights at the end of your street actually work? They aren’t just on timers; they are controlled by small computers. Today, we’re going to build and code our own traffic light system using a free online tool called Tinkercad . The best part? You don’t need to buy any expensive equipment. You can build the whole thing virtually on your computer. What is Tinkercad? Tinkercad is a free, web-based tool from Autodesk. While many people use it for 3D design, it also has a "Circuits" section where you can drag and drop electronic components—like batteries, LEDs, and micro-computers—to see if they work before building them in real life. The Project: The Micro:bit Traffic Light In this project, we use a BBC micro:bit (a pocket-sized computer) to control three lights: Red, Orange, and Green. To make this work, we connect the micro:bit to a "breadboard" (a plug-and-play board for electronics) or can get away with just wiring them togther ...

Using Elecfreaks microbit Smart home kit

Build a Voice-Activated Smart Night Light: A Micro:bit IoT Project for the Home and Classroom Whether you’re a student looking for a cool weekend project, a parent wanting to spark a child’s interest in engineering, or a STEM maker exploring Internet of Things (IoT) concepts, the Elecfreaks Micro:bit Smart Home Kit  http://bit.ly/43ooJF  is a fantastic gateway. Smart home technology isn’t just for big tech companies; it’s something you can prototype right on your dining room table. In this post, we’re refining a project that mimics real-world smart building technology: a Voice-Activated Night Light. Why Build a Smart Night Light? (Project Motivation) In the world of professional engineering, the primary goal is often resource efficiency. We don’t just want lights that turn on; we want 'intelligent' systems that minimize energy waste. By building a light that triggers only when it is both dark and detects a presence (noise), students learn the basics of conditional au...