Using a Spark Core with ThingStudio

Using a Spark core with ThingStudio

Last week, I was walking around Maker Faire UK with my walkabout ThingStudio demo. The hardware was based around the Spark Core Wifi dev board. I thought I’d go through the demo hardware and software so you can see how to use Spark with ThingStudio. This recipe should also work with the Spark Photon and Electron when they come out, especially if Spark send us some early units to test (hint, hint).

Let’s start with the hardware, this was pretty basic, just a potentiometer on A0, a servo attached to A1, and the RGB led on the board. This collection of bits was just intended to demonstrate the UI features of ThingStudio clearly, rather than to do anything in particular. A pack of AA’s on the back made the whole thing pocketable

Read More

How to Use MQTT & Raspberry Pi to Make the Ultimate IoT hub

9109691433_d6138da512_k

A Raspberry Pi makes a really great central hub for small IoT networks. It is very inexpensive, it consumes very little power and it has no fans or other mechanical parts that might cause failure. This post shows you the steps to get up and running with an MQTT broker, and node-red, a great visual programming tool, which works great with ThingStudio.

Read More

How to use a Plain ol’ Arduino with ThingStudio

6407709129_819361f41d_b

NOTE: Since this article was written, ThingStudio has gone to all JSON payloads for MQTT message.

This mean that the original delimiter for messages to and from the Arduino, which was a colon character, could not longer be used as it conflicts with JSON. We’ve changed the serial bridge to use the pipe symbol. Now read on…..

If you would like to try out ThingStudio, and don’t own the requisite networking hardware, but do have a standard Arduino Uno or other device with just a serial connection, do not despair!  We have created a useful program which will get your ‘duino running with ThingStudio in no time.

The DesktopMQTT is a simple to install Macintosh application that provides two, independent, functions. First, it gives you your own, local, MQTT broker. Second, it provides a bridge between the serial connection you have to your Arduino (or indeed, anything else with a serial connection), and your MQTT broker, and thus, to ThingStudio. Today we’re just going to use both of those functions. Tip: For a quick backgrounder on MQTT you can look here. For a more permanent MQTT broker which works on Raspberry Pi and other small platforms, checkout mosquitto.org, and use the latest one.

Right, let’s get started.

Read More