Navigation

Showing posts with label mbed. Show all posts
Showing posts with label mbed. Show all posts

Saturday, 25 March 2017

Turn your BBC micro:bit into a Piano!


Components needed for this project are:
  1. Micro:bit
  2. zbit:toolbelt 
  3. breadboard
  4. push button switch
  5. 10kohm pull up resistor
  6. jumper wires
  7. audio jack
  8. speaker

Sunday, 19 March 2017

LED Dimming and RGB LED with BBC Micro:bit in C++


PWM is used in LED dimming; as the duty cycle of a PWM signal increases, the average voltage and power provided by the PWM increases. The intensity of an LED can be varied by pulse-width modulating the voltage across the LED. Adjustments to the intensity of the LED are made by simply varying the duty cycle of the PWM signal driving the LED.

Monday, 6 March 2017

Getting Started with BBC micro:bit in C++


In this project, I got started with the BBC micro:bit in C++ using the mbed platform.

For the hardware, I made use of the BBC micro:bit, zbit:connector and zbit:toolbelt. The zbit:toolbelt kit contains zbit:toolkit board, spacer board, clip board, xspacer board, zbit:pwr:bars, 40 way connector, M3x8 panel and countersunk head screws, M3 nuts, red, amber and green LEDs as shown in the following figure.