duinotech XC4322 Micro Bit Starter Kit User Manual

June 17, 2024
duinotech

duinotech logo micro:bit
Starter Kit
XC4322
User Manual

duinotech XC4322 Micro Bit Starter Kit

Component List

duinotech XC4322 Micro Bit Starter Kit - Component
List

Displaying Hello World

Description:

First,let’s start a pretty simple experiment that make your micro bit main board display *Hello World!” only using a micro bit main board and a USB cable. This is an entry level for you to test the communication between micro bit and PC. Here we will use a serial communication software (Arduino IDE), hope that we will lead you o a wonderful micro bit world.

Testing Result:
Connect the microbit bosrd to computer, powerad up,opan Arcuino IDE, set the COM port s below figure shown, then upload the testing cod.

duinotech XC4322 Micro Bit Starter Kit - Testing
Result

Finall, open sarial monitor,select the baud rate 115200 (because the. baud rate of micro-bit seral commu nication is 115200), enter an “R” then dlick “Send”, you can see the monitor display ‘Hello world!*.

Hardware Required:

duinotech XC4322 Micro Bit Starter Kit - Hardware
Required

Get Code:

duinotech XC4322 Micro Bit Starter Kit - Get Code

About:
About micro:bit:
The BBC micro:bit is a powerful handheld, fully programmable, computer designed by BBC. It is designed to make learning and teaching easy and fun.
You can encourage children to get actively involved in writing software and building new things that will be controlled by your BBC micro:bit for all sorts of cool creations, from robots to musical instruments – the possibilities are endless Meet BBC micro:bit website here: http://microbit.org/

About the kit:
If you are just getting started into the world of electronics and coding or want that ideal gift for a young maker, this kit is the perfect choice. No soldering or prior programming knowledge required. At the heart of the kit is the micro:bit board which is a powerful handheld, fully programmable, computer designed by the BBC. It has an accelerometer to detect movement and tilting, a magnetic sensor to detect metal or create a compass, and up to 23 inputs to connect to the physical world. The board also has a 5 x 5 LED display and two onboard input push buttons provide instant control. The kit includes common electronics components from resistors to a servo motor, and all the necessary prototyping accessories to get building. A 36-page beginners guide is also included to get you started.
Full instructions and any required code can be downloaded from the GitHub resource site here: https://github.com/Jaycar-Electronics/micro-bit-Starter- Kit

Blinking an LED

Description:
LED iinking s an ofthe s experimens. I micro:btusing methad, you can see the 5* 5 LED dot matrix is enabled. Here we are going to finish LED blinking experiment using an external plug LED, so at first you have to close the led enable function.

duinotech XC4322 Micro Bit Starter Kit - Description

Circuit Diagram:duinotech XC4322 Micro Bit Starter Kit - Circuit
Diagram

Testing Result:
Powered up. done uploading the code o board, you can see the external LED light connected on IO port s biinking, with an interval about 0.5 second.

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Connection
Diagram

Simulating Advertising Light

Description:
In daily life, you may often see some advertising boards composed of various LED lights. Different LED lights on the advertising board can form an amazing lighting effect. In this lesson, we will use LED light program to simulate the advertising light, brightening and dimming one by one.

duinotech XC4322 Micro Bit Starter Kit - Description 2

Circuit Diagram:

Testing Result:
Powered up and done uploading the cade, you can see the external LED lights connected on IO port are brightening. and then dimming one by one circularly.

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Connection Diagram
2

Button-controlled LED

Description:

Micro:bit has three built-in buttons, two for user buttons (labelled A and B), one for reset button.
This time we are going to se a user button on the microrbit to control external LED on and off.

duinotech XC4322 Micro Bit Starter Kit - Description 3

Circuit Diagram:

duinotech XC4322 Micro Bit Starter Kit - Circuit Diagram
3

Testing Result:
Powered up, done uploading the codo to board, whon prossing down the button A onthe micro:bit, LED on; fnot, LED of.

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Connection Diagram
3

Making a Responder

Description:
We have use micro: bit built-in button to control LED light in the previous experiment. This time, we will use it to make a responder, really interesting. Using a built-in button on micro:bit as reset button, connecting two tactile buttons as responder button to control two external LEDs.

duinotech XC4322 Micro Bit Starter Kit - Description 4

Get Code:

duinotech XC4322 Micro Bit Starter Kit - get code 2

Testing Result:
Powered up and done uploading the code, a simple responder is finished. You can judge who answer first successfully according to the displayed color of LED. Press down the button A on micro:bit used as reset button, two LED lights off.

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Connection Diagram
4

Breathing an LED

Description:
You may have mastered LED on and off controlling based on the above projects, so this time learn 1o control LED brightness in the code. We are going to control LED on and off gradually, just like breathing simulation. So need to control 25 programmable LEDs on micro:bit and external LED to achieve breathing light effect. Note that external LED must be connected to analog port.

duinotech XC4322 Micro Bit Starter Kit - Description 5

Get Code:

duinotech XC4322 Micro Bit Starter Kit - get code 3

Testing Resul
Powered up, dons uploading the code, LED is gradually dimming, and then brightening alternatively, looking like breathing.

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Connection Diagram
5

Controlling LED Brightness

Description:
In previous lesson. we have directly control the LED brightness in the code. In this lesson, you will learn how to use a potentiometer to control the brightness of an LED.
Note that external LED and potentiometer must be connected to analog port.

duinotech XC4322 Micro Bit Starter Kit - Description 6

Circuit Diagram:

duinotech XC4322 Micro Bit Starter Kit - Circuit Diagram
4

Testing Result:
Done wiring and uploading the code, you can adjust the brightness of LED by rotating the kanob onthe potentiomater.

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Connection Diagram
6

RGB LED

Description:

AGB color model is an additive color model in which red, green and blue light are added together in various way to reproduce a broad array colors. The name of the model RGB comes from the initials of the three additive primary colors, red, green, and blue. In this lesson, we will use a RGB light to achieve full- color mixing effect. through controlling the voltage input of R/G/B pins to adjust the intensity of three primary colors (red/ green/biue).

Hardware Required:

duinotech XC4322 Micro Bit Starter Kit - Hardware Required
2

Circuit Diagram:duinotech XC4322 Micro Bit Starter Kit - Circuit
Diagram 5

Get Code:

duinotech XC4322 Micro Bit Starter Kit - get code 4

Testing Result:
Done wiring and powered up, downloading the code to micro: bit. you can see the RGB LED will continue to emit red light for 1S, green light for 1S, blue light for 1S, yellow light for 1S, purple light for 1S. white light for 1S, circularly.

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Connection Diagram
7

Photosensitive Light

Description:
This lesson, lets start a rather simple photocell experiment. Photocell is a component that can change its resistance according to the light intensity. In this experiment, you can learn from the LED brightness controlled by potentiometer,just replace the potentiometer with photocell to achieve the effect that the brightness of LED wil be changed ance light intensity s different.

duinotech XC4322 Micro Bit Starter Kit - Description 7

Circuit Diagram:

duinotech XC4322 Micro Bit Starter Kit - Circuit Diagram
6

Testing Result:
Done downloading the code into micro:bit,you can see that the brighter the photocell senses, the darker the LED; the darker the photocell senses, the brighter the LED.

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Connection Diagram
8

Active Buzzer

Description:
There are two kinds of buzzer, active buzzer and passive buzzer. In this lesson, wo will use micro:bit to drive an active buzzer. The active buzzer inside has a simple oscillator circuit which can convert constant direct current into a certain frequency pulse signal. Once active buzzer receives a high level, it will produce an audible beep.

duinotech XC4322 Micro Bit Starter Kit - Description 8

Circuit Diagram:

duinotech XC4322 Micro Bit Starter Kit - Circuit Diagram
7

Testing Result:
Finally, you can hear the active buzzer beep or 0.5 second, then stop and baep for 0.5 second circularly.

duinotech XC4322 Micro Bit Starter Kit - Connection Diagram
9

Passive Buzzer

Description:
You have learned about the active buzzer. So this lesson will use a passive buzzer to play a song. It comes with a fun application, give it atry! Since the passive buzzer has no oscillator inside, DG signal can’t make it beep, so need to use square-wave to drive it.

duinotech XC4322 Micro Bit Starter Kit - Description 9

Get Code:

duinotech XC4322 Micro Bit Starter Kit - get code 5

Testing Result:
Downloading the code into micro: bit, you can hear the buzzer playing the song of (OdeTo Joy). Enjoy yourtime!

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Connection Diagram
10

Driving Servo Motor

Description:

Servo motor is a position control rotary actuator. It mainly consists of hous ing, circuit board, core-less motor, gear and position sensor. Servomotor ‘comes with many specifications. But allof them have three connection wires, distinguished by brown, fad and orange (difierent brand may have difforent color). Brown one is for GND, red one for power positive, orange one forsignal line.

duinotech XC4322 Micro Bit Starter Kit - Description
10

Circuit Diagram:

duinotech XC4322 Micro Bit Starter Kit - Circuit Diagram
8

Testing Result:
Done wiring and downloading the code info micro-bit, you can rotate the knab on the top of potentiometer o adjust the urning angle of servo motor.

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Description
11

Flame Alarm

Description:
Flame sensor (Infrared receiving triode) is specially used on robots to find the fire source. This sensoris of high sensitivity to flame. Flame sensor is made based an the principle that infrared ray is highly sensitive to flame. It has an Infrared receiving tube to detect ire, and then converts the. flame brightness into fluctuating level signal. In this experiment,we are going 1o control the buzzer sound through inputting the fluctuating level signal into micro:bit board.

duinotech XC4322 Micro Bit Starter Kit - Description
12

Circuit Diagram:

duinotech XC4322 Micro Bit Starter Kit - Circuit Diagram
9

Testing Result:
If flame sensor detects the flame nearby, the acive buzzer beeps: or else, it will not sound.

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Description
13

1 – digit LED Display

Description:
LED segment display is a semiconductor light-emitting device. Its basic unitis a light emitting diode (LED). This lesson, we will use 1-digit 7-segment LED display. We can control the display of LED seqment display through controlling the high/low level of its interface. This time, we are going to use LED display to show the number from 0 to 9.

Hardware Required:duinotech XC4322 Micro Bit Starter Kit - Hardware
Required 3

Circuit Diagram:duinotech XC4322 Micro Bit Starter Kit - Circuit
Diagram 10

Testing Result:

Done wiring and downloading the code into micro:bit, you can see the LED segment display showing the numbers from 0 to 9 circularly.

Get Code:

duinotech XC4322 Micro Bit Starter Kit - get code 6

Connection Diagram:duinotech XC4322 Micro Bit Starter Kit - Description
14

Magical Light Cup

Description:
When one end of tilt switch is lower than the horizontal position, it performs a turn-on operation; while another end is lower than the horizontal position, tilt switch turns off.
The experiment adopts the principle of using analog value to regulate light brightness. So the brightness of two LEDs in the experiment will make a change. The ball tilt switch provides digital signal to trigger analog value regulation, after programming, you can see the magical light effect of these two LEDs.

duinotech XC4322 Micro Bit Starter Kit - Description
15

Get Code:

duinotech XC4322 Micro Bit Starter Kit - get code 7

Testing Result:
Wiring and downloading the code into micro:bit, tilt the two switches to common one side at the same time, you can see that one LED dims gradually, while another one becomes brighter gradually. Finally. one LED off, while the other becomes the brightest.

Connection Diagram:duinotech XC4322 Micro Bit Starter Kit - Description
16

Micro:bit Analog Read

Description:
In this experiment, we will use a potentiometer to adjust the analog quantity of P2 (refer to the below pin guide). When rotating the potentiometer, analog quantity makes a change and is displayed on the serial monitor.
Note that it needs to use a serial communication software, Arduino IDE.

duinotech XC4322 Micro Bit Starter Kit - Description
17

Circuit Diagram:

duinotech XC4322 Micro Bit Starter Kit - Circuit Diagram
11

Testing Result:
Dona wiing, opan Ardina IDE, sst the COM port, and download the cods into microrbit board. Then, open serial monitor set the baud rate as 115200 (bacause microrbit serial communication baud rate s 115200).

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Description
18

Thermistor Sensor

Description:
Thermistor sensor can sense the temperature change of surroundings in real time, also will vary. from temperature variation. I the circuit, it will convert the temperature variation into voltage change, and input the voltage to P2 of micro:bit board. Finally, display the analog quantity of P2 on the serial monitor. Note that you need to use a serial communication software, namely, Arduino IDE. duinotech XC4322 Micro Bit Starter Kit - Description
19

Circuit Diagram:

duinotech XC4322 Micro Bit Starter Kit - Circuit Diagram
12

Testing Result:
You can see the value ts displayed on serial monitor. When thermistor temperature rises the resistance will decrease. analog value increases.
For example, when you breathe on the thermistor, its temperature will rise, so analog value increases.

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Connection Diagram
11

LM35 Temperature Sensor

Description:
Input its output voltage into P2 on micro: bit main board, after formula computing, display the temperature value of current surroundings on the serial monitor. In this way, we will use a serial communication software, Arduino IDE. Notice the wiring direction of LM35, or else it will damage the LM35 sensor if reversed. .

duinotech XC4322 Micro Bit Starter Kit - Description
20

Circuit Diagram:

duinotech XC4322 Micro Bit Starter Kit - Circuit Diagram
13

Testing Result:
Done wiring, open Arduina IDE, set well the COM port and download the code into micro:bit. Then, open serial monitor, st the baud rate as 115200 (because micro:bit serial communication baud rate s 115200). You can see the temperature value of current surroundings on the serial monitor

Connection Diagram:

duinotech XC4322 Micro Bit Starter Kit - Connection Diagram
12

Distributed by:
TechBrands by Electus Distribution Pty. Ltd.
320 Victoria Rd, Rydalmere
NSW 2116 Australia
Ph: 1300 738 555
Int’l: +61 2 8832 3200
Fax: 1300 738 500
www.techbrands.com
Made in China

Documents / Resources

| duinotech XC4322 Micro Bit Starter Kit [pdf] User Manual
XC4322 Micro Bit Starter Kit, XC4322, Micro Bit Starter Kit, Bit Starter Kit, Starter Kit
---|---

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals