BBC Microbit

General discussion about anything related to Ultibo.
Gavinmc42
Posts: 1420
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

BBC Microbit

Postby Gavinmc42 » Mon Apr 09, 2018 12:47 pm

The Microbit has Bluetooth Smart.
Will it talk to the Zero W?

Bunch of Microbit robots controlled by a Pi3?
It has 3 PWM outputs etc.
Manuals written for kids, had to dig deep for the technical stuff ;)
mark
Posts: 1277
Joined: Mon Oct 03, 2016 2:12 am
Location: Indianapolis, US

Re: BBC Microbit

Postby mark » Thu Apr 12, 2018 11:15 pm

Gavinmc42 wrote:The Microbit has Bluetooth Smart.
Will it talk to the Zero W?

Bunch of Microbit robots controlled by a Pi3?
It has 3 PWM outputs etc.
Manuals written for kids, had to dig deep for the technical stuff ;)
I see no reason that it won't connect to ultibo over ble.

Can it be reprogrammed to implement ultibo?

Mark
Last edited by mark on Wed Apr 18, 2018 6:33 am, edited 1 time in total.
Ultibo - The Internet of Things that Just Work
Gavinmc42
Posts: 1420
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: BBC Microbit

Postby Gavinmc42 » Fri Apr 13, 2018 1:36 am

http://www.nordicsemi.com/eng/Products/ ... y/nRF51822
Cortex M0, there is a FPC embedded version that does Cortex chips.
Need to get past the kiddie stuff to get real specs ;)

https://devzone.nordicsemi.com/b/blog/p ... bit-part-1
http://microbit-micropython.readthedocs.io/en/latest/

But as is, it would make a BLE thingy for Ultibo BLE testing.
BLE tilt control joystick for Ultibo Zero robot.
Microbit BLE flocking bot controlled by Pi3B+.

Give me a few minutes, I could think of a few more things :lol:
Gavinmc42
Posts: 1420
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: BBC Microbit

Postby Gavinmc42 » Sat Apr 14, 2018 10:36 am

Adafruit shows how to use Arduino on Microbit
https://learn.adafruit.com/use-micro-bit-with-arduino

Lots of examples, makes BLE look easy ;)
pjde
Posts: 425
Joined: Tue Feb 09, 2016 6:21 am
Location: Sydney, Australia

Re: BBC Microbit

Postby pjde » Wed Apr 18, 2018 4:15 am

Damn you Gavin. Now I have had to go out and buy one of these things. :D

Regards

Paul
Gavinmc42
Posts: 1420
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: BBC Microbit

Postby Gavinmc42 » Wed Apr 18, 2018 6:28 am

Damn you Gavin. Now I have had to go out and buy one of these things. :D

"He who dies with the most toys wins" :D
I'm doing my taxes, to get a refund to pay for some ;)

I need at least two as robot controllers for mini robot wars, might get the kid away from Youtube then.
Gavinmc42
Posts: 1420
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: BBC Microbit

Postby Gavinmc42 » Sat Sep 08, 2018 12:43 pm

Big mistake, I only got one Microbit :(

Was going to use is as an RC controller for a Zero bot.
Getting the RF working is a pain, the Microbit webpages have been dumbed down a lot.
The Microbit does not use BLE as the radio comms, I suspect it might use Shockburst.

To test RF comms 2 Microbits are needed.
RPi guys say it is easier to use a 2nd Microbit uart connected to a Pi.

For more info Nordicsemi webpages helps
Nordic are saying the nRF51822 can do IoT IPv6 over BLE :D
It seems to be capable of MQTT too.

Microbit nRF51822 to Pi Zero W CYW43438 comms, BLE mode looks the way to go?
For a Pi 3B+ a CYW43455 chip is used.

Using Pi 3B+'s as Microbit IoT IPv6 gateways make sense, even Nordic have used Pi's but with a dongle?
Lots more to learn, not even sure anyone has even got a Microbit BLE talking to Pi's native BT chip?

Gee I should read my old posts, Arduino on Microbit :D
That's for tomorrow. The kiddie stuff was turning my brain to mush ;)
mark
Posts: 1277
Joined: Mon Oct 03, 2016 2:12 am
Location: Indianapolis, US

Re: BBC Microbit

Postby mark » Sat Sep 08, 2018 11:48 pm

FYI zerow battery circuitry is US$34 - excluding the battery!

https://forum.nim-lang.org/t/4183#26042
Ultibo - The Internet of Things that Just Work
mark
Posts: 1277
Joined: Mon Oct 03, 2016 2:12 am
Location: Indianapolis, US

Re: BBC Microbit

Postby mark » Mon Sep 10, 2018 7:23 am

Preliminary testing shows that a microbit can perform as a smart (multi) button using ble broadcasting - the broadcast data is not secure (just button up/down) but that's ok with me.

Battery power is next. Mark.
Ultibo - The Internet of Things that Just Work
Gavinmc42
Posts: 1420
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: BBC Microbit

Postby Gavinmc42 » Mon Sep 10, 2018 12:04 pm

Preliminary testing shows that a microbit can perform as a smart (multi) button using ble broadcasting - the broadcast data is not secure (just button up/down) but that's ok with me.

Fine by me too :D
Been trying to do Bluetooth for years but it's a steep learning curve to do as a hobby.

Bunch of libs to install, but Adafruit instructions are easy apart from Linux USB permissions for programming.
Finally can use my Android Bluetooth apps with something easy to code ;)
nRF UART etc 769515 tick-tacks! ..... :lol:
The Arduino libs come with enough examples to get started.

FLIC buttons are BLE?
DIY FLIC with Microbits? Two buttons so twice as Smart?
Pi as FLIC hub?

Return to “Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests