Skip navigation

micro:bit

6 Posts authored by: andyforeverest
I have been teaching programming and electronics for more than two years now. Using the Arduino ecosystem. And I loved it. And most kids older than 5th grade loved it too. But I found that, for younger kids it was a challenge. So I incorporated Scratch into my curriculum, as a springboard into programming. But I hated it! I just could not wait to finish the eight classes on Scratch and to move over to Arduino.   Gradually, however, I started to see that Scratch could be more than just a sh ...
  Hardware setup An RGB LED is made of three LEDs: a red one, a blue one and a green one. Some RGB LEDs have the anode terminal (or "+" terminal) in common and some have the cathode terminal (or "-" terminal) in common. The one we are going to use in our project is a Common Cathode RGB LED.   Connections: Micro:bit pins RGB LED pins 0 Red (via resistor) 1 Green (via resistor) 2 Blue (via resistor) GND Common Cathode   Like with all LEDs we are going to use a resistor (220 O ...
Color mixing RGB LED - description and types Color mixing program   Color mixing One can display a certain color by mixing only three basic colors: Red, Green and Blue. Adding different levels of each color we get many colors. If all colors are OFF, we get black, and if colors are fully ON, we get white. You can find many color mixing web sites to understand better and to play with different percentages of colors (for example: https://www.colortools.net/color_mixer.html).   &# ...
This is going to be a game played between two micro:bits. Each player has a ship displayed on the LED matrix. A ship can be a single dot/LED or several LEDs. One LED in the ship is “the head” of the ship. When the “head” takes a hit, the game ends. Each player can select the location of the “missile” they are sending to the enemy. X coordinate is selected by pressing button A and Y coordinate is selected by pressing button B. The communication between th ...
We are going to start a project: develop a digital watch. This is actually going to be a multi-session project that we can expand as much as we like (depending on the level of attending students).   We will start with the easiest solution. Once that is working, we will ask ourselves if there are any features our watch is missing and how we can implement them. Then we will start the process all over again.   This approach makes the project adaptable to different levels of knowledge: ...
These are several programming languages that I used to program the Micro:bit platform (online and offline options):               1. JavaScript Blocks Editor - https://makecode.microbit.org/         a. Online   First time the web page is loaded it took me around 15 seconds. But only the first time. After that, the page loads fast.   The interface is very intuitive (very much like Scratch). There ...