Version 3 is now available
To use device druid, you’ll need some suitable device to manage and the device druid program.
Connect & Control from:
Build & Code for:
There are whole set of terms of service you can (should) review, but the short of it is play safe and do not use Druid/SerialUI materials in anything critical to people’s safety, note that there are absolutely no warranties associated with any of the Druid software or code, that you are responsible for anything that happens while using any part of the system and that the whole she-bang is
Copyright © 2013-2019 Pat Deegan
Check the TOS and the licenses associated with whichever piece of the system you want to use, which you’ll find in the “About” tab for the applications.
Now, on to the goodies…
Connect & Control with Druid
The device druid client lets you manage and inspect suitable devices, through bluetooth or USB serial. It’s available for Windows, Android and Linux.
Version 3 of device druid is now available through the windows app store. Get it while it’s hot.
With Device Druid, you can connect and manage any supported device through bluetooth or the USB serial, issuing commands, sending information and setting configuration as well as visualizing state using the various graphing displays.
What You Need
- An Arduino, a Raspberry Pi, or some other device that is running firmware built to support druid; and
- Device Druid: get it directly through the Windows App Store
Want to control devices through bluetooth or OTG USB on a mobile? The device druid android version is here for you.
At this moment, the app is still in beta/early access, but it should be available through the google play app store (search for “Device Druid”) or directly via this link.
Ubuntu Device Druid
To get the druid client running with Ubuntu, download the latest druid deb and install it using:
sudo dpkg -i devicedruid_*.deb
Once everything is installed, you should then be able to launch it from the Ubuntu thingamajig:
It’s only been tested on a few machines, let me know how it goes if you try it out.
Build & Code: Your own Druid Devices
To control your own custom device with druid, use the resources below.
Arduino and Arduino compatibles
If you are a maker and want to develop your own programs for use with druid, then get:
- The Arduino IDE, or some other means of compiling firmware for your platform
- SerialUI, using the Arduino Library Manager, and
- Druid Builder, now available without installation: right in your browser.
To ensure you can compile firmware for your target device, install the SerialUI library and compile one of the SerialUI examples.
In the Arduino IDE, you can:
and then search for SerialUI and install version 3.2 or above:
Then go to File -> Examples -> SerialUI and compile one the examples, being sure to set your board to the correct type. For other build systems, get SerialUI from its project site and install as you would anything else.
When that’s working, launch builder and get started!
Raspberry Pi (v3 and up)
The Raspberry Pi may be used on both sides: as a controller (running device druid) or as a managed device (being controlled by device druid).
To control a Pi using the desktop or mobile druid, it must be running a suitable program, generated by the druid builder. To run that program, it will also need a few support libraries. These are:
Once both of those are on the raspberry pi, log in and issue the command:
sudo dpkg -i libserialui* libgobblededruid*
You may need to do a little configuration as well, see the Raspberry Pi section for more info.
The program you get from druid builder will also be in a .deb package, and installed the same way.
Nordic nRF bluetooth platforms
Druid can run on a whole host of nRF based devices, like BBC micro:bit, the RedbearLabs Nano/Blend, hackaBLE, TinyBLE and more.
The main difference is that you need a suitable board installed–see the section on GUIs for Bluetooth devices.
Controlling Linux systems, in general, is the same as for Raspberry Pi described above, the only difference being the specific library files to install.
Ubuntu has been tested and is working with:
What is the plural of OS… OSes? Anyhow, there’s nothing in the works for other platforms at the moment of this writing, but there are some (as of yet still rather nebulous) plans.
If you’re really, really, interested in some other OS, a (really, really) convincing argument or just an old fashioned bribe might do the trick. Get in touch.