Over a million developers have joined DZone.

Using IBM Bluemix to Control a Drone

· IoT Zone

Access the survey results 'State of Industrial Internet Application Development' to learn about latest challenges, trends and opportunities with Industrial IoT, brought to you in partnership with GE Digital.

Drones have been getting a lot of attention lately for both good and bad reasons.  Regardless of what the reason may be the bottom line is there are a lot of untapped uses for drones. Everything from delivering your online packages to helping first responders at the scene of an accident.  Whatever the use case may be there needs to be a robust infrastructure behind these drones to manage them.  The cloud is an ideal choice in this use case because you will more than likely have many many drones and need a dynamic infrastructure to handle the varying needs of the drones and the applications controlling them.  Obviously Bluemix is my cloud of choice but in addition to the infrastructure Bluemix provides we also have the IoT Foundation which provides you with the ability to manage your connected devices.  I recently had the opportunity to work with some drones for a couple of weeks and decided to use Bluemix and IBM’s IoT foundation to see how you can control drones.  Check out the short video below of what I have done so far

Some of the code I showed working in the video is located in this GitHub repository.  The important code in that repository is drone-controller.js which actually listens for command from the IoT Foundation and then sends them to the drone.  This code can easily be extended to accomplish many more things with the drone but right now it is a very basic sample.  Take a look through the README in the repository which explains a lot about what is happening behind the scenes.

The IoT Zone is brought to you in partnership with GE Digital.  Discover how IoT developers are using Predix to disrupt traditional industrial development models.

Topics:
iot ,bluemix ,ibm iot foundation ,drone

Published at DZone with permission of Ryan Baxter, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}