micro:bit Starter Kit Guide Your First Micro:bit Kit Funny Easy Suitable for Your Beginning YEAR

Similar documents
INTRODUCTION HARDWARE

Grove Inventor Kit for micro:bit Project Guide

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

Techgirlz Workshop Scratch and Raspberry Pi

09/05/2014. Engaging electronics for the new D&T curriculum. Geoff Hampson Managing Director of Kitronik. Presentation overview

mi:node User Manual Element14 element14.com/minode 1 User Manual V3.1

Piano for Micro:bit User Manual

Lab 2.2 Ohm s Law and Introduction to Arduinos

Physical Computing Self-Quiz

Micro:bit - an Educational & Creative Tool for Kids

BBC micro:bit Cool Colours!

Appendix F: Design Documentation for multisensory therapy system

Thursday, September 15, electronic components

MegaPi Born to Motion Control

Mercury Baseboard Reference Manual

Rover 5. Explorer kit

IME-100 ECE. Lab 4. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

If I wanted to connect an LED and little light bulb and have them switch on and off with one switch, my schematic would look like the one below.

Circuit Playground Express: Piano in the Key of Lime

Rear Distance Detection with Ultrasonic Sensors Project Report

Embedded Systems and Kinetic Art. CS5968: Erik Brunvand School of Computing. FA3800: Paul Stout Department of Art and Art History.

Logistics. Embedded Systems. Kinetic Art. This Class. Embedded Systems and Kinetic Art. Kinetic Art

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

Laboratory of Sensors Engineering Sciences 9 CFU

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System

Wire Loop Game Nerves of Steel and Arduino in control

Measuring Light with a BeagleBone Black

MINI CLOCK TRAVEL PORTABLE FCC CE. SKU: MiniClockTravel USER MANUAL THANK YOU FOR PURCHASING THE MINI CLOCK TRAVEL

Goal: We want to build an autonomous vehicle (robot)

9 Output Devices: Buzzers

Page 1 / 14. Dear Makerspace User,

<Table of content> <Parts and description> <Circuit board Guide> <Pins> <Basics of Coding> <Intro to Arduino> <Intro> <Downloading Arduino IDO>

Basic Electronic Toolkit for under $40

Create moving images in forward and reverse with your Arduino when you connect a motor to an H-bridge and some still images BATTERY POTENTIOMETER

Beginning. Learning Objectives

Connecting LEDs to the ADB I/O

Web Site: Forums: forums.parallax.com Sales: Technical:

Arduino Prof. Dr. Magdy M. Abdelhameed

VIII.! READING ANALOG!!!!! VALUES

Mi:Node Kit User Manual

Digital Pins and Constants

Arduino Programming. Arduino UNO & Innoesys Educational Shield

Train the Trainer Resources Hex Files Here -

Alessandra de Vitis. Arduino

Arduino Smart Robot Car Kit User Guide

HUB-ee BMD-S Arduino Proto Shield V1.1

Physical Computing Self-Quiz

Photoresistor, Transistor, and LED s

mbot v1.1 - Blue (Bluetooth Version)

EK307 Lab: Microcontrollers

Arduino Cookbook O'REILLY* Michael Margolis. Tokyo. Cambridge. Beijing. Farnham Koln Sebastopol

TMP36 Temperature Sensor

Arduino 6: Analog I/O part 1. Jeffrey A. Meunier University of Connecticut

Propeller Activity Board (#32910)

Experiment 10 Fall 2012

More Arduino Programming

MiCOKit-3166 Development Kit Hardware Manual

Arduino Part 2. Introductory Medical Device Prototyping

WS2812 Breakout Hookup Guide

ARCTIC AIR DC OLED. Digital Control Operations Manual

ANATOMY OF A BIT TM how you can tell top from bottom. four on the floor!

Number Name Description Notes Image 0101 Resistor, 100 ohm. brown-black-browngold. ¼ watt, 5% tolerance, red-red-brown-gold. brown-black-red-gold.

acknowledgments...xiii foreword...xiv

THE 37 SENSOR KIT TUTORIAL

Micro:Maqueen Robot Car(V2.0)

Jukebox Hero. Group #41. James Brewster Ross Bulkley Zach Glueckert Kevin Wills

Update: Ver 1.3 Dec Arduino Learning Guide For Beginner Using. Created by Cytron Technologies Sdn Bhd - All Rights Reserved

SX1509 I/O Expander Breakout Hookup Guide

Lab 1: Introductory Project to Breadware

YDEA C5 User Manual. Welcome to use products of YDEA! We are appreciated if our user. manual offers help and convenience to you when you are using or

Tutorial 1: Software Setup

Variable Power Supply Digital Control Circuit Diagram Using Lm317

About SunFounder Preface SunFounder is a technology company focused on Raspberry Pi and Arduino open source community development. Committed to the pr

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas

DIY Line Tracking Smart Car with AT89C2051

ECE791/792 Project Proposal

INSTALLATION MANUAL for the Application ihc-mirf

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

Arduino - DigitalReadSerial

SPDM Level 2 Smart Electronics Unit, Level 2

Vout R LED2 LED1 Nr. of LEDs R Ohm Current ma Vout V Ardunio Pin9

TMP36 Temperature Sensor

Microcontrollers for Ham Radio

GUIDE TO SP STARTER SHIELD (V3.0)

Finite State Machine Lab

ECE 2036: Lab #3 mbed Hardware Starter Lab Category: Getting Started with MBED ~ 1 week to complete

Christian Brothers University 650 East Parkway South Memphis, TN

Self-leveling Laser Marker (4V1HXL)

Prototyping & Engineering Electronics Kits Basic Kit Guide

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S

Arduino 05: Digital I/O. Jeffrey A. Meunier University of Connecticut

EZ-24 EZ-24-HTB EZ-24-HTBS. Version May Publication PR-1100

SECOND EDITION. Arduino Cookbook. Michael Margolis O'REILLY- Tokyo. Farnham Koln Sebastopol. Cambridge. Beijing

Precautions. Please read carefully before using this product.

Manual. Meter for BlueSolar DUO 12/24V-20A For RVs, Caravans and boats

ECE 2036 Lab 4 Setup and Test mbed I/O Hardware Check-Off Deadline: Thursday, March 17, Name:

Lab 4: Determining temperature from a temperature sensor

Update: Ver 1.3 Dec Arduino Learning Guide For Beginner Using. Created by Cytron Technologies Sdn Bhd - All Rights Reserved

Analysis of TFT-LCD Point Defect Detection System Based on Machine Vision

How-To: Make an RGB combination door lock (Part 1)

Transcription:

micro:bit Starter Kit Guide 0 YEAR Your First Micro:bit Kit Funny Easy Suitable for Your Beginning

Easy Funny Creative ElecFreaks Micro:bit Starter Kit is designed for people at the entry level of electric circuit and programming study. This kit contains some basic parts like LED, button, buzzer, temperature sensor, servo and motor etc.. You can use it to design circuit. With the help of Micro:bit programming skills, you can make your circuit become more animated. It is a good companion for you to enter into a wonderful electronic world.

PRODUCT CONTENT 0: LED Scroller 02: Button 03: Trimpot 04: Photocell 05: RGB LED 06: Self-lock Switch 07: Temperature Sensor 08: Servo 09: Buzzer 0: Motor : Rainbow LED 3 5 7 9 3 5 7 9 2

.LED Scroller Component List 2 3 4 5 x Micro: bit Board x Microbit Breadboard Adapter x Breadboard 2 x Red LED 2 x 00Ω Resistor 2 P0 P G Description 4 5 3 In this course, we are going to use micro:bit to make 2 LED beads twinkle alternatively. Page No -

Within forever, program runs circularly..led step 2 3 Set low voltage to P0 LED0 off); Set high voltage to P (LED on. Delay time for 500ms. 4 Set high voltage to P0 LED0 off ; set low voltage to P LED on. 5 Delay time for 500ms. 6 Download the program into micro:bit. Result: You will see two LED beads flash alternatively. Question: How to make an RGB traffic light? Page No - 2

2.Button Component List X Micro:bit Board 2 3 X Microbit Breadboard Adapter X Breadboard 2 4 2 X Red LED 5 2 X 00Ω Resistor 6 X Momentary Pushbutton Switch G P0 P P2 V Description 4 5 6 3 In this course, we will use a button to control LED flash. Press down the button, 2 LED beads flash in turns; release the button, 2 LED beads stop flashing. Page No - 3

2 2.Button Block on start runs only once to start the program. Set P0 to be a pull-up. Step 3 4 5 6 Within forever, program runs circularly. If P2 is in low voltage, which means the button is pressed, the program will start to run in block then. Set low voltage to P0, LED0 off ; set high voltage to P, LED on. Delay time for 500ms. 77 8 9 Set high voltage to P0, LED0 on; set low votage to P, LED off. Delay time for 500ms. Download the program into micro:bit. Result: Press down the button, LED will flash alternatively. Question: How to light red LED with the button pressed and light green LED with the button released? Page No - 4

3.Trimpot Component List 2 3 4 x Micro:bit Board x Microbit Breadboard Adapter x Breadboard x 0kΩ Trimpot 2 G P0 V Description 4 3 In this course, we are going to read the output voltage of trimpot and display it on micro:bit screen with bar chart. Page No - 5

3.Trimpot Step 2 2 2 Within forever, program runs circularly. Read the analog voltage of P0( 0 to 023 and display it on the LED screen with bar graph. 3 Download the program into micro:bit. Result: Rotate trimpot button, voltage value will be displayed on micro:bit screen with bar graph. When the voltage is 0, LED screen displays a pixel spot only. When it is 3.3V, the whole screen will be illuminated. Question: How to use trimpot to adjust the brightness of a LED? Page No - 6

4.Photocell Component List x Micro:bit Board 2 3 x Microbit Breadboard Adapter x Breadboard 2 4 x Photocell 5 x 0kΩ Resistor G P0 V Description 4 5 3 In this course, we are going to use photocell to control the brightness of micro:bit screen. Page No - 7

2 3 4 5 6 4.Photocell Step Block on start runs only once to start the program. Read P0(photocell) analog voltage and store into CalVal. It is a reference for current environment brightness. Program in block forever runs circularly. Read P0(photocell) analog voltage and store into PhoVal. When PhoVal<CalVal-2 is right, then the environment light becomes dim. It will implement program in block then. Display heart icon. 7 8 When PhoVal<CalVal-2 is wrong, the screen closed. Download the program into micro:bit. Note: Reset micro:bit, it will calibrate the reference value according to current brightness. To run the program properly, we must start with the light turned on. Result: Light on, nothing appears on micro:bit screen. Light off, a heart icon appears. Question: How to use photocell to control an LED? Page No - 8

5.RGB LED Component List x Micro:bit Board 2 3 4 x Microbit Breadboard Adapter x Breadboard x RGB LED 2 5 3 x 00Ω Resistor G P0 V P P2 Description 4 5 3 GND In this course, we are going to make RGB LED gradually shift its light among red, green and blue. Page No - 9

Press button A to run the block. 5.RGB LED Step 2 RGB LED emits red light. 3 Press button B to run the block. 4 RGB LED emits green light. 5 Press button A+B to run the block. 6 7 RGB LED emits blue light. Download the program into micro:bit. Result:Button A brings red light, button B green light, button A+B blue light. Question: How to realize soft gradient for RGB LED light? Page No - 0

6.Self-lock Switch Component List x Micro:bit Board 2 3 x Microbit Breadboard Adapter x Breadboard 2 4 x 00Ω Resistor 5 x Red LED 6 x Self-lock Switch G P0 P2 V Description 4 5 6 3 In this course, we are going to use selflock switch to control LED light. Page No -

2 3 6.Self-lock Switch Step Block on start runs only once to start the program. Configure the type of events emitted by P0. Set P0 to be a pull-up. 4 5 6 77 Raise an event. Set P0 as an event emit port. Falling edge is effective(switch pressed). Set high voltage to P2(LED on). 8 Raise an event. 9 Set P0 as an event emit port. 0 7 Rising edge is effective (switch released). Set low voltage to P2(LED off). 2 Download the program into micro:bit. Result: Press down self-lock switch, LED turned on; press again, LED turned off. Question: How to control micro:bit screen with self-lock switch? Page No - 2

7.Temperature Sensor Component List 2 3 4 x Micro:bit Board x Microbit Breadboard Adapter x Breadboard x TMP36 Temperature Sensor 2 G P0 V Description 4 3 In this course, we are going to learn analog temperature sensor TMP36 and display its data on the micro:bit. Page No - 3

7.Temperature Sensor Step 2 Within forever, program runs circularly. Map P0 analog voltage into actual voltage(mv). The analog value is 0 to 023. So from low is 0, from high is 023. The basic voltage is 3300mV. Relatively to low is 0, to high is 3300. 3 4 Convert the value of variable voltage into temperature value. Temperature display. 5 Download the program into micro:bit. Note: You can calculate the temperature value of TMP36 according to the formula bellow. Output voltage(mv)-500 Temperature )= 0 Result: You will see two LED beads flash alternatively. Question: How to display Fahrenheit temperature on micro:bit? Page No - 4

8.Servo Component List 2 3 4 5 x Micro:bit Board x Microbit Breadboard Adapter x Breadboard x Mini Servo X Battery Holder 5 2 G V P Description 4 3 In this course, we are going to use micro:bit to make a servo rotate continuously within a travel range. Page No - 5

8.Servo Step 2 Within forever, program runs circularly. Rotate servo to 0 degree. 3 Delay time for 2000ms. 4 Rotate servo to 80 degree. 5 Delay time for 2000ms. 6 Download the program into micro:bit. Result: We can see the servo rotating from 0 degree to 80 degree. Question: How to make a dial thermometer with temperature sensor and servo? Page No - 6

9.Buzzer Component List x Micro:bit Board 2 3 x Microbit Breadboard Adapter x Breadboard 2 4 x Mini Speaker (Buzzer) 5 x NPN Transistor 6 x 00Ω Resistor G P0 V 3 Description 4 5 6 In this course, we are going to use micro:bit to drive a buzzer. Page No - 7

2 3 4 5 9.Buzzer Step Within forever, program runs circularly. Play tone Middle C. Delay time 00ms. Play tone Middle E. Delay time 00ms. 6 Play tone Middle G. 7 8 9 0 Delay time 00ms. Play tone Middle E. Delay time 00ms. Download the program into micro:bit. Result: We can hear the waving rhythm from the buzzer. Question: How to play the song of Little Stars with micro:bit? Page No - 8

0.Motor Component List 2 3 4 5 66 x Micro:bit Board x Microbit Breadboard Adapter x Breadboard x Diodes x 00Ω Resistor x Self-lock Switch 77 x NPN Transistor 9 G P P0 2 V 8 x Miniature Motor 9 X Battery Holder 8 3 Description 4 5 6 7 In this course, we are going to use a switch to control the start and stop of a motor. Page No - 9

2 3 0.Motor Step Block on start runs only once to start the program. Set high voltage to P0. Set pull to P(self-lock switch). 4 5 6 77 Within forever, program runs circularly. Judge P voltage. Low voltage means switch is pressed. Once the switch pressed, set high voltage to P0, the motor starts running. Once the switch released, set low voltage to P0, the motor stops running. Note: Since micro:bit voltage is 3.3V only, it may not enough to support fan sometimes. To make fan run, you have to stir its blade for startup. 8 Download the program into micro:bit. Result: Press switch, the motor runs; release switch, the motor stopped. Question: How to use trimpot to control the motor speed? Page No - 20

.Rainbow LED Component List 2 3 4 x Micro:bit Board x Microbit Breadboard Adapter x Breadboard x 8 RGB Rainbow LED Ring 2 G P0 V Description 4 3 In this course, we are going to drive 8 RGB Rainbow LED Ring with micro:bit and make it realize rainbow color gradual change. Page No - 2

2.Rainbow LED Step 4 2 3 4 5 6 3 Search and add neopixel library from Add Package. Block on start runs only once to start the program. Initialize LED ring. Set rainbow color parameters for 8 LED beads. Within forever, program runs circularly. Make the ring emit the designated color. 7 Move the color data of the ring for a pixel point. 8 Delay time for 00ms. 9 Download the program into micro:bit. Result: We can see a rainbow rotating on the LED ring. Question:How to make the ring blinking like an eye? Page No - 22

For More Information Please visit www.elecfreaks.com/07.html

ABOUT ELECFREAKS DEVOTE TO OPEN HARDWARE ELECFREAKS was founded by a group of electronic enthusiasts in 20. It is ltocated in Shenzhen, China. We mainly devote to provide the superior open hardware and service to makers. Our goal is to make creation become more convenient, easier and flexible. We focus on developing compatible accessories and modules for open source platforms such as Arduino, Raspberry Pi, Micro:bit etc.. We open all documents about schematic, source code, user guide etc.. We create teaching blogs and video tutorials with content covering from starters to senior players. Center on users. We focus on users experience. We aim to provide you best products and services you need. Emphasis on quality and cost performance ratio. Efficient. Fast delivery and fast product update speed. Sincere and trustful. More than 6 years development with perfect after-sales support and product quality guarantee. We have senior engineer team with strong development ability. We have more than 000 SKU, rich product categories. We have more than 500 WIKI and blogs, abundant and complete product information and tutorials. We have above 00 distributors all over the world. Copyright 207 Elecfreaks Technology Limited. All right reserved.

www.elecfreaks.com