Thursday, 19 April 2018

Droidcon Italy 2018

I presented at Droidcon Italy today, the 3rd time in 4 years that I've been a speaker at the event. It was in a swanky new venue this year, very cool and very large.

Last year I focused on beacons. This year it was all about Bluetooth mesh and the opportunity that smartphone developers now have to create monitoring and control applications for smart buildings, smart industry and more.

Download the presentation slides (plus some a few extra I didn't have time to cover) from here.

Friday, 23 March 2018

RenderConf and Web Bluetooth

Today I had the pleasure to be a speaker at RenderConf in London. I can't tell you how impressed I was with this event. Professional, friendly and accessible (the first event I've ever seen do live captioning). And every speaker I saw, which was most of them were great speakers and evident experts in their field. Brilliant.

And.... this was the first web developer event I'd ever been to, never mind spoken at. The topic of my presentation was Web Bluetooth. I believe it should be a W3C standard. I see immense opportunities in creating web applications for monitoring and controlling smart buildings, industrial processes and IoT in general. The remote delivery of health care, incorporating the Bluetooth medical devices the patient has, is another obvious way this technology could deliver substantial value.

My talk introduced Web Bluetooth, how Bluetooth is being adopted more widely for enterprise applications and how in the enterprise world, the browser is the application platform. From this we must surely conclude that the browser needs Bluetooth. QED :-)

I did two live demos. Web browser versions of my Bitty Data Logger and Bitty Controller applications and they both worked a treat. I knew they would of course. I wasn't nervous. Oh no. Not a bit :-)

You can download my slides from here.


And thank you, thank you, thank you to RenderConf!

Friday, 5 January 2018

Bitty Data Logger 3.2.0 - Formula Management

Bitty Data Logger allows expressions or formulae to be specified and applied at run time to data values sampled from the micro:bits connected pins. Analog pin values are always in the range 0-1023, regardless of what is connected to the pin and so a pin formula allows values to be transformed to something more meaningful like a Celsius temperature value. Version 3.2.0 adds a Formula Management screen so that lists of named formulae may be maintained and selected for use via the Settings screen. This makes use and reuse of formulae for different experiments and other activities, much easier.

Saturday, 23 December 2017

Debugging micro:bit code using the serial port and USB

Debugging micro:bit code can be tricky. It can only display one character at a time so the LED display is not a great option, though you'll be surprised how much you can still get done when you need to.

You can write full strings and variable values to the serial port however and so by connecting your micro:bit into a computer using a USB cable and firing up a terminal application like Putty, you can monitor serial output as your micro:bit code executes.

This is a great way to get to the bottom of weird code problems you just can't figure out!

Here's how you'd do this from C/C++

uBit.serial.printf("P0:%d P1:%d P8:%d P12:%d\r\n", pin0, pin1, pin8, pin12);

Friday, 15 December 2017

4tronix Bit:Bot and Bitty Controller

New hex files have been published at which allow Bitty Controller to be used with the 4tronix Bit:Bot

Note that a new version of Bitty Controller is in development and this will provide data from the Bit:Bot sensors as well as allowing it to be driven. But there's no need to wait because both the existing d-pad and touchpad controllers in Bitty Controller work today as long as you install the right hex file on your Bit:Bot mounted micro:bit!