creating a connected world - bett€¦ · creating a connected world with the bbc micro:bit and...
TRANSCRIPT
![Page 1: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/1.jpg)
Creating a Connected World
with the BBC micro:bit and Bluetooth
presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw
![Page 2: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/2.jpg)
1st WAVE 2nd WAVE 3rd WAVE
2
OVER 3 BILLION BLUETOOTH DEVICES SHIPPED IN 2015
THAT’S OVER 65 MILLION PER WEEK!
![Page 3: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/3.jpg)
7
Internet of Things (IoT)
All manner of things *communicating*
Bluetooth is one of the key
communications technologies of
the IoT
![Page 4: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/4.jpg)
7
Internet of Things (IoT)
Learning to code is essential but not
enough on its own
Creating systems of interacting
computing devices
Coding + Communications is the
sweet spot
![Page 5: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/5.jpg)
7
Bluetooth comes in 2 flavours
Bluetooth BR/EDR
Bluetooth low energy
![Page 6: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/6.jpg)
what can you do with Bluetooth on a micro:bit?
6
![Page 7: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/7.jpg)
Bluetooth Services
7
• Receive accelerometer dataAccelerometer Service
• Receive raw magnetometer or compass bearing dataMagnetometer Service
• Receive notification of button interactionsButton Service
• Read display state. Set patterns and send scrolling text.LED Service
• Communicate event codes bi-directionallyEvent Service
• Receive temperature dataTemperature Service
• Directly control or read from IO pins. Analogue and/or digital. PWM.IO Pin Service
• Exchange arbitrary data UART
![Page 8: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/8.jpg)
connect, monitor, control
8
![Page 9: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/9.jpg)
602 December 2016
Bitty Data Logger
Sensor data from a BBC micro:bit
Bluetooth notifications
http://www.bittysoftware.com
![Page 10: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/10.jpg)
602 December 2016
Bitty Game Controller
Control something
Kitronik Buggy
http://www.bittysoftware.com
![Page 11: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/11.jpg)
602 December 2016
micro:bit Blue
Various demos
Inspiration!
https://github.com/microbit-foundation/microbit-blue
Open Source
![Page 12: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/12.jpg)
broadcast, detect, respond
12
![Page 13: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/13.jpg)
ABI Research predicts the market
for beacons will surpass 500 million shipments per year
by 2020
35
![Page 14: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/14.jpg)
micro:bit museum guide
43
![Page 15: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/15.jpg)
how do you write Bluetooth code for micro:bit?
15
![Page 16: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/16.jpg)
7
concepts
Bluetooth services
connection state tracking
advertising
pairing
![Page 17: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/17.jpg)
7
PXT
The entire PXT code for Bitty Data
Logger is shown on the left
connection state change event
handlers
Bluetooth services
![Page 18: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/18.jpg)
C/C++
7
![Page 19: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/19.jpg)
7
PXT - beacons
EddyStone beacon data format
UID or URL types
![Page 20: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/20.jpg)
Beacon
7
![Page 21: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/21.jpg)
OAQOccasionally Asked Questions
21
![Page 22: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/22.jpg)
602 December 2016
Pairing?
establishes a secure, trusted relationship
between micro:bit and other Bluetooth
device
allows encryption of transmitted data
prevents others from connecting to *your*
micro:bit – anti-bullying
select “Passkey”, “Just Works” or “none”
in software
http://www.bittysoftware.com/videos_how_to.html
![Page 23: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/23.jpg)
602 December 2016
Radio?
micro:bit’s “radio” capability is not Bluetooth
good, simple intro to wireless comms
micro:bit to micro:bit broadcast
uncommon outside the classroom
![Page 24: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/24.jpg)
602 December 2016
micro:bit to micro:bit?
not *directly* with today’s micro:bit
(maybe in V2?)
use smartphone or Pi as hub
http://bluetooth-mdw.blogspot.co.uk/2016/07/microbit-and-bluetooth-roles.html
Bluetooth Peripheral vs Central roles
![Page 25: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/25.jpg)
602 December 2016
only smartphones?
No!
Any “GAP central” Bluetooth device e.g.
smartphone/tablet
Pi 3 or Pi 2 with dongle
PC with dongle
(see http://www.picaxe.com/BBC-microbit/)
![Page 26: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/26.jpg)
602 December 2016
connecting to the internet?
Yes, using a Bluetooth Internet Gateway
Free software for Raspberry Pi available
from bluetooth.com
![Page 27: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/27.jpg)
![Page 28: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/28.jpg)
resources
28
![Page 29: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/29.jpg)
Bitty Software
mobile apps & coding tutorials
http://www.bittysoftware.com
Blog
Experiences and tips
http://bluetooth-mdw.blogspot.co.uk/
microbit.org
http://microbit.org/
Lancaster University
https://lancaster-university.github.io/microbit-docs/
Bluetooth SIG
http://www.bluetooth.com
7
resources
![Page 30: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/30.jpg)
Unthinkably ConnectedUnthinkably Connected71
Twitter: @bluetooth_mdw
questions?
![Page 31: Creating a Connected World - BETT€¦ · Creating a Connected World with the BBC micro:bit and Bluetooth presented by Martin Woolley of Bluetooth SIG Twitter: @bluetooth_mdw. 1st](https://reader030.vdocuments.site/reader030/viewer/2022041021/5ed090d16d95d97b48122c79/html5/thumbnails/31.jpg)
7
Most Important Point:
The advent of the Internet of Things means teaching about communications technologies like Bluetooth is as
essential as teaching about coding itself.
What to do:
Use the BBC micro:bit and its Bluetooth capabilities in lessons and code clubs with applications like those
from bittysoftware.com