KS4009(4010) 45 in 1 Sensor Starter Kit For BBC Micro:bit

From Keyestudio Wiki
Revision as of 17:42, 12 January 2021 by Keyestudio (talk | contribs)
Jump to navigation Jump to search
Keyestudio 45 in 1 Starter Kit for BBC micro:bit

Introduction

micro: bit is a powerful hand-held, fully programmable, computer designed by the BBC. It is only half size of a credit card, available for children’s programming education. Onboard comes with Bluetooth, accelerometer, compass, three buttons, 5x5 LED matrix, USB interface, connection pins. In order to learn micro bit more easier, we particularly make this kit, in which includes a keyestudio sensor shield fully compatible with micro bit and other commonly used sensor modules. In addition, this sensor kit also provides various learning projects for you, including wiring diagram, source code and more. It can help you make learning easy and fun to enjoy the programming.


Kit List

Note: The micro:bit main board is Not Included in KS4009 starter kit, but Included in KS4010 starter kit.

No. Product Name Quantity Picture
0 No micro:bit Board in KS4009 Kit
0 With micro:bit board in KS4010 Kit 1 thumb
1 Micro bit Sensor Shield V2 1
thumb
2 Digital White LED Module 1
thumb
3 Red LED Module 1
thumb
4 3W LED Module 1
thumb
5 keyestudio RGB LED Module 1
thumb
6 keyestudio Analog Temperature Sensor 1
thumb
7 keyestudio Photocell Sensor 1
thumb
8 keyestudio Analog Sound Sensor 1
thumb
9 Analog Rotation Sensor 1
thumb
10 keyestudio Passive Buzzer module 1
thumb
11 keyestudio Digital Buzzer Module 1
thumb
12 keyestudio Digital Push Button 1
thumb
13 keyestudio Digital Tilt Sensor 1
thumb
14 keyestudio Photo Interrupter Module 1
thumb
15 Capacitive Touch Sensor 1
thumb
16 Traffic Light Module 1
thumb
17 Hall Magnetic Sensor 1
thumb
18 Line Tracking Sensor 1
thumb
19 Infrared Obstacle Detector Sensor 1
thumb
20 PIR Motion Sensor 1
thumb
21 Flame Sensor 1
thumb
22 Crash Sensor 1
thumb
23 Analog Gas Sensor 1
thumb
24 Analog Alcohol Sensor 1
thumb
25 Reed Switch Module 1
thumb
26 keyestudio Water Sensor 1
thumb
27 Soil Humidity Sensor 1
thumb
28 LM35 Linear Temperature Sensor 1
thumb
29 Vibration Sensor 1
thumb
30 Thin-film Pressure Sensor 1
thumb
31 GUVA-S12SD 3528 Ultraviolet Sensor 1
thumb
32 1602 I2C Module 1
thumb
33 TEMT6000 Ambient Light Sensor 1
thumb
34 HC-SR04 Ultrasonic Module 1
thumb
35 Joystick Module 1
thumb
36 Micro Servo 1
thumb
37 Single Relay Module 1
thumb
38 Steam Sensor 1
thumb
39 F-F Dupont Jumper Wire 40pin 1
thumb
40 USB Cable 1
thumb
41 Premium Battery Case 6-cell AA 1
thumb
42 Keyestudio Knock Sensor Module 1
thumb
43 Keyestudio Digital IR Receiver Module 1
thumb
44 Keyestudio Magic Light Cup Sensor 1
thumb
45 Keyestudio 0.96inch OLED Module 1
thumb
46 Keyestudio L9110 Fan Module 1
thumb
47 Keyestudio DHT11 Temperature and Humidity Sensor 1
thumb
48 Keyestudio 18B20 Temperature Sensor 1
thumb
49 Keyestudio IR Remote Control 1
thumb



micro:bit Driver Installation

Next, let’s install the driver for micro:bit main board.
1) First of all, connect the micro:bit to your computer using a USB cable.
thumb

2)Then, double click the driver software to install it. Here you can click the icon below to download it.thumb

thumb

3) After that, click Next to continue the installation.
thumb

4) Wait the driver installing finished.
thumb

5) Wait the driver installing finished.
thumb

6) Driver installation completed, then you can right click the “Computer” —> “Properties”—> “Device Manager”.
thumb
You can check the detailed Ports information shown as below.
thumb

micro:bit Example Use

Step 1: Connect It

Connect the micro:bit to your computer via a micro USB cable. Your micro:bit will show up on your computer as a drive called 'MICROBIT'.
thumb

Step 2: Program It

Using micro bit MakeCode Block editor https://makecode.microbit.org/, write your first micro:bit code.
You can drag and drop some example blocks and try your program on the Simulator in the Javascript Blocks Editor, like in the image below.
thumb

Click the JavaScript, you can see the corresponding program code. Shown as below figure.
thumb

Step 3: Download It

Click the Download button in the editor. This will download a 'hex' file, which is a compact format of your program that your micro:bit can read. Here you can name the project as LED1, then click “Save”. Shown below.
thumb

Once the hex file has downloaded, copy it to your micro:bit just like copying a file to a USB drive. On Windows find the microbit-LED1 file, you can right click and choose "Send To→MICROBIT."
thumb

thumb

Step 4: Play It

The micro:bit will pause and the yellow 5*5 LED on the back of the micro:bit will display the images while your code is programmed.
thumb

You can power it using USB cable or battery. The battery holder need to connect two 1.5V AA batteries. Shown below.
thumb


Note: this battery case is Not Included in the kit.


micro:bit Pins

Before getting started with the following projects, first need to figure out each pin of micro:bit main board. Please refer to the reference diagram shown below.
thumb
The BBC micro:bit has 25 external connections on the edge connector of the board, which we refer to as ‘pins’. The edge connector is the grey area on the right side of the figure above. There are five large pins, that are also connected to holes in the board labelled: 0, 1, 2, 3V, and GND. And along the same edge, there are 20 small pins that you can use when plugging the BBC micro:bit into an edge connector.

Note that it read from the BBC micro:bit official website. More reference you can click the link below:
BBC micro bit Pins: http://microbit.org/guide/hardware/pins/
BBC micro:bit website: http://microbit.org/
Micro bit MakeCode Block Editor: https://makecode.microbit.org/
Meet micro:bit starter programming: http://microbit.org/guide/
BBC micro:bit Features Guide: http://microbit.org/guide/features/
BBC micro:bit Safety Warnings: http://microbit.org/guide/features/
BBC micro:bit Quick Start Guide: http://microbit.org/guide/quick/


thumb thumb
After mastering the basic information of BBC micro:bit, in the following part let’s move on to programming projects. Use this small board with keyestudio micro bit sensor shield and other sensor modules to make some interactive experiments. Play it and learn it. Enjoy your wonderful time!


Installing Arduino Software

We will use the Arduino software in the following projects. First you should install the Arduino software and driver.
We usually use the Windows software Arduino 1.5.6 version. You can download it from the link below:
https://www.arduino.cc/en/Main/OldSoftwareReleases#1.5.x
Or you can browse the ARDUINO website to download the latest version from this link, https://www.arduino.cc, pop up the following interface.
KS0313-1.png

Then click the SOFTWARE on the browse bar, you will have two options ONLINE TOOLS and DOWNLOADS.
KS0313-2.png

Click DOWNLOADS, it will appear the latest software version of ARDUINO 1.8.5 shown as below.
KS0313-3.png

In this software page, on the right side you can see the version of development software for different operating systems. You should download the software that is compatible with the operating system of your computer.
We will take WINDOWS system as an example here. There are also two options under Windows system, one is installed version, the other is non-installed version. For simple installed version, first click Windows Installer, you will get the following page.

KS0313-4.png

KS0313-5.png

This way you just need to click JUST DOWNLOAD, then click the downloaded file to install it.
For non-installed version, first click Windows ZIP file, you will also get the pop-up interface as the above figure.
Click JUST DOWNLOAD, and when the ZIP file is downloaded well to your computer, you can directly unzip the file and click the icon of ARDUINO software to start it.


Installing Arduino (Windows)

Install Arduino with the exe. Installation package downloaded well.
thumb

Click“I Agree”to see the following interface.
thumb

Click “Next”. Pop up the interface below.
thumb

You can press Browse… to choose an installation path or directly type in the directory you want.
Then click “Install” to initiate installation.
thumb

Wait for the installing process, if appear the interface of Window Security, just continue to click Install to finish the installation.
thumb


Installing Driver

The driver installation may have slight differences in different computer systems. So in the following let’s move on to the driver installation in the WIN 7 system.
The Arduino folder contains both the Arduino program itself and the drivers that allow the Arduino to be connected to your computer by a USB cable. Before we launch the Arduino software, you are going to install the USB drivers.

KS0001-1.jpg
Plug one end of your USB cable into the Arduino and the other into a USB socket on your computer. When you connect UNO board to your computer at the first time, right click the icon of your “Computer” —>for “Properties”—> click the “Device manager”, under “Other Devices”, you should see an icon for “Unknown device” with a little yellow warning triangle next to it. This is your Arduino.

Driver 1.png
Then right-click on the device and select the top menu option (Update Driver Software...) shown as the figure below..
Driver 2.png

It will then be prompted to either “Search Automatically for updated driversoftware” or “Browse my computer for driver software”. Shown as below. In this page, select “Browse my computer for driver software”.
Driver 3.png

After that, select the option to browseand navigate to the “drivers” folder of Arduino installation.
Driver 4.png

Click “Next” and you may get a security warning, if so, allow the software to be installed. Shown as below.
Driver 5.png

Once the software has been installed, you will get a confirmation message. Installation completed, click “Close”.
Driver 6.png

Up to now, the driver is installed well. Then you can right click “Computer” —>“Properties”—>“Device manager”, you should see the device as the figure shown below.
Driver 7.png


Now,we have installed well the Arduino software. In the following projects, you might use the software's monitor window to display the data.


Example Projects

Resources Link

1) Keyestudio Official Website: http://www.keyestudio.com/
2) Keyestudio WIKI Website: http://wiki.keyestudio.com/
3) User Guide Download:
https://fs.keyestudio.com/KS4009-4010/

4) Arduino Software Link:
https://drive.google.com/open?id=1ivTOKCKgkmEuBtZpLI75XKryGI-xx-xF
5) Arduino Official Website: https://www.arduino.cc
6) BBC micro bit Pins: http://microbit.org/guide/hardware/pins/
7) BBC micro:bit website: http://microbit.org/
8) Micro:bit MakeCode Block Editor: https://makecode.microbit.org/
9) Code Block Reference: https://makecode.microbit.org/reference
10) Meet micro:bit starter programming: http://microbit.org/guide/
11) BBC micro:bit Features Guide: http://microbit.org/guide/features/
12) BBC micro:bit Safety Warnings: http://microbit.org/guide/features/
13) BBC micro:bit Quick Start Guide: http://microbit.org/guide/quick/


https://fs.keyestudio.com/KS4009-4010