Code Monkey home page Code Monkey logo

2017_coding_comp's Introduction

2017 Coding Comp micro:bit Beginners Guide

Introduction

This year all teams have been provided with a BBC micro:bit and an assorted box of goodies. The BBC micro:bit is a pocket sized computer that was specially designed to teach students the basics of computer programming. It can be connected to a wide array of devices and components, which is why we have given you so many to play around with!

What's in your box

Inside your box your should find a number of small items, do not be afraid if you don't know what they are! A quick google along with the word micro:bit always throws up past examples and we have included a number below. Feel free to use as many or as little of these as you wish. If you have any issues with the equipment or you think you may be missing things please go to your mentor in the first instance. We may also be able to accommodate requests for small ammounts of additional kit if you let us know.

  • 1x BBC: micro:bit (+ usb cable, battery pack and 40 pin male header connector)

micro:bit

- 1x DC3-6V motor

Motor

- 1x HCSR04 sonar sensor

Sonar

- 1x 400 point solderless breadboard

breadboard

- Assorted M-F jumper cables and F-M connectors

wires

adaptors

- Bags of various resistors

resistors

- 1x 100KOhm linear potentiometer

potentiometer

- Bag of assorted LEDs, Light Dependant Resistors and 4-pin switches

LDRsLEDsSwitches

- 1x 5V DC buzzer

Buzzer

- 1x Bluetooth adaptor

BluetoothAdaptor

- 1x 9g micro servo

MicroServo

- 1x DHT11 temperature and humidity sensor

TempAndHumdity

Getting Started with your micro:bit

To get up and running with your micro:bit we suggest that you start by reading the very helpful brief set-up guide provided by micro:bit.org by clicking here. This tells you how to hit the ground running with coding on the micro:bit. Additionally, if you wish to code using your phone and connect to the micro:bit using its bluetooth connectivity then you can follow their mobile set-up guide here.

Connecting hardware

Now that you understand the basics of getting code onto the micro:bit and getting it to execute the code you will want to start to understand the hardware itself and how you can connect bits and bobs to the micro:bit to make something a bit more exciting.

Start by looking at the following page which outlines the physical micro:bit itself and its various connectors here. This should get you familiar with the micro:bit board and what each part corresponds too. In particular pay close attention to the PIN's section which talks about the edge of the board. We have provided an 'edge connector' which allows you to easily access all of the available connectors using provided cables. Please see the following instructional on the edge-connector here.

For generic guides on a number of our components, including connecting LEDs, buttons, servos, potentiometers and sonar-sensors please see the micro:bit-playground components page here. This should show how you can connect up various components to the micro:bit and learn how to utilise them in your code.

Additionally, the following links give basics for a servo, a buzzer and an ldr.

Finally you may wish to send data from your micro:bit to your computer, this link here shows you how you can call out to a computer for debugging or otherwise and click here for a guide to extracting built in accelerometer data to your computer.

Helpful links and general reading

We have included the below resources which are a good starting point for learning about the microbit and what it can do:

2017_coding_comp's People

Contributors

godmar02 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.