It was a challenging week for me and I gained some embedded programming experience. Includes simple programming language, microcontroller features, etc. When the control program is running, it's really interesting.
Group assignment:
Individual assignment:
Versatile lighting control
I have practiced embedded programming using both Arduino Uno and micro:bit v2.
Feature | Arduino Uno | micro:bit v2 |
---|---|---|
Microcontroller | ATmega328P | nRF52833 |
Memory | Flash: 32 KB, SRAM: 2 KB, EEPROM: 1 KB | Flash: 512 KB, RAM: 128 KB |
GPIO Pins | 14 digital pins (6 support PWM), 6 analog input pins | 25 programmable GPIO pins (including 3 analog inputs) |
Communication Interfaces | UART, SPI, I2C | BLE, NFC, USB, SPI, I2C |
Power Supply | USB or External Power (7-12V) | USB or Battery Pack (2xAAA Batteries) |
Dimensions | Approx. 68.6 mm x 53.4 mm | Approx. 52 mm x 43 mm |
Programming Environment | Arduino IDE (Primarily C/C++) | MakeCode, MicroPython |
The Arduino UNO is the best board to get started with electronics and coding. Datasheet
✅ Visit the Official Website Website
💾 Download for Windows,Click on Windows Installer (for Windows)
💻 Install the Arduino IDE
.exe
fileTools → Board
and select your Arduino Uno.Tools → Port
and select the correct port COM5.Tools → Serial Monitor
.(shift+alt+M) The micro:bit is a tiny programmable computer designed by the BBC for education. Datasheet
.hex
file.hex
file to the micro:bit drive.hex
fileArduino Uno is ideal for more advanced users who want flexibility and hardware control. Great for robotics, sensors, and real-world device building.
micro:bit is perfect for beginners and education. It has built-in features that make learning fast and fun, especially in classrooms.
Individual assignment:
Using an Arduino UNO board to design a red-green dual-color LED system
Using a micro:bit to create a seven-color LED system
Using a micro:bit to create smiley face and heart button lights>
Using a micro:bit to build a timer