+21622886281
Micro:bit RGB LED

Vary the light intensity of an RGB LED with Micro:bit

Purpose of this tutorial:

In this tutorial we will automatically vary the light intensity of an RGB LED

Required components

  • board micro:bit led RGB
  • 3 Resistors of 22O Ω
  • micro:bit GPIO Expansion Board
  • Connecting wires

Assembly

Connect:

  • Pin Po from the Micro:bit board to pin (R) for the red color of the RGB LED module
  • Pin P1 from the Micro:bit board to pin (G) for the green color of the RGB LED module
  • Pin P2 from the Micro:bit board to pin (B) for the blue color of the RGB LED module
  • the GND pin of the micro:bit to pin (GND) board of the RGB LED module

The mounting methods are numerous and here are some examples:

Mounting (1)

Mounting (2)

Makecode program

Here is the makecode program that allows you to automatically vary the light intensity of RGB LEDs.




6 commentaires

Sherlyn 04-05-2222

Hey very nice web site!! Man .. Excellent .. Wonderful .. I will bookmark your site and take the feeds additionally? I'm satisfied to find a lot of helpful info right here in the submit, we'd like develop more techniques on this regard, thank you for sharing.

Meghan 09-04-2222

Thanks very interesting blog!

Celeste 24-03-2222

Incredible points. Sound arguments. Keep up the good work.

Jurgen 26-02-2222

Hi to every one, it's in fact a good for me to pay a quick visit this web site, it contains precious Information.

Marion 19-02-2222

I think the admin of this website is truly working hard for his site, because here every material is quality based material.

Carson 16-02-2222

A person necessarily lend a hand to make seriously articles I would state. That is the very first time I frequented your website page and so far? I surprised with the analysis you made to make this actual publish amazing. Fantastic process!


Leave a comment

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top