Introduction to Microcontroller & Sensors

Page 1

Micro bit with Controller Box

How to Install the micro:bit mainboard in the control box.

Step 1

As shown in the pictures below, press down with your thumbs and slide upward in the direction of the arrow.

Step 2

With the micro:bit LEDs facing upward (toward you and visible), slide the micro:bit mainboard into the control box slot.

Do’s & Don’t

Correct

Step 3

Put the upper cover on the control box and slide it back into position.

Micro:bit control box: 1. the micro:bit control box uses six AA batteries. 2. One external input power interface (female micro USB). 3. There is also a built-in buzzer 4. 8 sets of I/O connectors. 5. 8 sets of I/O DuPont connectors. These I/O interfaces provide micro:bit external connections to the Led, DDM Motor, 180° SERVO MOTOR , IR Sensor, Force Sensor and other devices.
Buzzer I/O Connectors Buttons Micro:bit control box power switch I/O DuPont (female connector) External input power interface (Micro USB Please use a power supply below DC5V/2A) Micro USB

List of Programming Codes for Device Components

LED HOLDER

1 represents turning on the LED HOLDER.

0 represents turning off the LED HOLDER.

180° SERVO MOTOR

The signal shows the degree of rotation. The number can be set in the range 0 to 180°.

IR Sensor

0 indicates that something is detected.

1 indicates that nothing is detected.

Force Sensor

0 indicates that something is detected.

1 indicates that nothing is detected.

1. The direction of rotation of the motor, where 1 = clockwise & 0 = anti-clockwise.

2. The speed of the motor, where the digital signal reads the lower left corner and the analog signal reads the upper left corner.

50X PLANETARY GEARBOX (DDM)
When we pressed button A then light turn on & When we pressed button B then light turn off.
Project - LED Lamp

Programming Blocks for Led Lamp

Project Link Led Lamp

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.