How to Make a Simple Little Lamp

How to Make a Simple Little Lamp

Introduction: In life, sometimes there will be no electricity. At this time, if there is a small electric light, it will be much more convenient. Today, I will tell you how to make a simple small electric light.

Materials required:

How to Make a Simple Little Lamp
BBC micro:bit V2 x 1

How to Make a Simple Little Lamp
Sensor:bit expansion board x 1

How to Make a Simple Little Lamp
ring of lights x 1

How to Make a Simple Little Lamp
Battery box x 1

How to Make a Simple Little Lamp
Male to female Dupont line x 1

How to Make a Simple Little Lamp
AAA Battery x 2

Connection step diagram

How to Make a Simple Little Lamp

Step 1: Insert the microbit into the sensor:bit extension first, remember not to insert it in the wrong direction

How to Make a Simple Little Lamp

Step 2: Insert the male to bus bar into the light ring

How to Make a Simple Little Lamp

Step 3: Insert the light ring into P2 on the sensor:bit expansion board, and insert the battery box into the microbit interface

program:https://makecode.microbit.org/_2WXFFsfyuLwH

How to Make a Simple Little Lamp

How to Make a Simple Little Lamp

After downloading the program, this simple small electric light is completed. When the power goes out, you can take out this electric light for simple lighting, and you can switch the two colors of the light through the AB button of the microbitd.