Tag Archives: platform

Wi-Fi preview release

Want to add Wi-Fi to your Arduino project? We’re bringing Wi-Fi to Berg… and we’re looking for developers to help us test it.

Get an Arduino Mega, and the Texas Instruments CC3000 Wi-Fi shield from Adafruit. Download our client library… and you’re set.

It’s easier than using Wi-Fi on its own. Our client library manages the Wi-Fi connection for you and handles HTTP requests and responses, with automatic data translation between JSON on the web and native data-types on the Arduino. On the web side, you work with your devices using JSON and a RESTful web API. Berg ensures message delivery in both directions, and tracks online/offline status for all your devices.

While we’re in this preview release, we don’t have a public Getting Started tutorial. Get in touch by email at info@bergcloud.com and we’ll send you GitHub download links, step-by-step instructions, and documentation.

20140430-151611.jpg

The web is where the smarts are

One of our core beliefs here at Berg is that the best technology to develop and run connected products is the web. Give a device a web API, then add – and iterate – behaviour and smarts by doing web development.

So that’s what we do. We give your Arduino project its own web API. Something we’re super focused on is the V2 Cloud API. We reckon it should be as simple to make a smart device as it is to build a website. It should be as simple to make a thousand devices smart as it is to make just that first one.

It’s how we built Little Printer… it’s a basic device with a web API, made smart by the website behind it. The “dumb” part was originally running on Arduino and now it’s running on its own module… but the smart website is the same website and has been developing since the beginning.

We already have a way to give this web API to connected devices. The Devshield is hardware we developed that snaps onto Arduinos. It’s Zigbee-based and bulletproof. It’s how we start prototyping ourselves.

But loads of people have been asking for Wi-Fi, so now we’re adding that too…

What’s new

Here’s what’s new…

  • You can now connect to Berg with Wi-Fi, and use the V2 Cloud API to manage and control your devices
  • Since we’re not the exclusive suppliers of hardware, it’s more widely available. Here’s your shopping list from Adafruit: Arduino Mega. Texas Instruments CC3000 Wi-Fi shield.
  • You’ll need the client libraries and instructions to get started… while we’re in this preview release, please email at info@bergcloud.com and we’ll sort you out.

Our Wi-Fi solution works exclusively with the CC3000 Arduino shield. We chose the CC3000 because it’s an awesome chip: It’s small, readily available, and cheap at volume. You can configure the network with an iPhone or Android app, which means you can distribute your smart device to users — perfect for prototyping. We also like that Texas Instruments are actively developing the CC3000 firmware, and we expect that to result in improved performance and stability.

Plus the Arduino shield itself is available from Adafruit, quality retailers of electronics and a huge developer community besides.

During development, we’ve made small improvements to the open source Arduino library for the CC3000, and also to libraries for websockets and JSON. We’re contributing these changes upstream starting today.

What’s next

What’s next? This Wi-Fi connector brings Berg to many more developers. We’re going to make the CC3000 shield as solid as our Devshields for development. So we’d love feedback on the documentation, APIs, and stability.

We’ll keep pushing towards our goals for the Berg platform, to make it:

  • dead simple to understand
  • dead simple to use
  • time-saving for developers of connected hardware
  • a place that brings hardware makers and web developers together

Let us know if you want in on the Wi-Fi preview!

Berg V2 beta: New Cloud API and new Device API

We’ve just shipped V2 of our APIs — if you create a new project in the Dev Center you can choose V2 and get access to… well, a whole ton of new stuff.

Simpler. Faster. More flexible.

Berg is the missing link. You’ve got the hardware. You’ve built the website. We do the rest. Add web connectivity to your Arduino with our Devshields. Then message and manage all your connected devices with the Cloud API, using familiar JSON. Once you go to production, we’ll supply client libraries so you can move – with no changes – to your preferred wireless solution. Berg is already being used to run thousands of Little Printers, and we’ve been collecting feedback from developers using V1 of the platform. Today we’re shipping the beta of V2, for Arduino, ARM mbed, and Raspberry Pi.

Here are the highlights:

  • New Cloud API! Simpler, more powerful. Claim devices, list devices, send commands, and poll for events, all through the complete REST API. No requirement for your users to visit Berg’s website… you handle claim codes directly. Easy development because you can operate the API entirely through the command line. And, when you’re ready, webhooks to get events from your devices quick.
  • New Device API! Now when your hardware sends an event, you simply call BERGCloud.sendEvent("my-event", payload), and the event name and payload get sent directly to your back-end web service. The same for receiving commands… no more having to define identifiers for commands and events in the Dev Center and at the top of your Arduino projects. Much easier.
  • New dev tools in Manage Projects to claim devices, and simulate commands and webhooks while you’re in development.
  • Way, way faster! An upgrade to the Bridge software as part of the Devkit that makes commands and events almost instantaneous: Underneath the new APIs, the platform is now using websockets, so you no longer have to wait several seconds for commands to travel from the web to your devices.

The upgrade guide has all the details.

We’re excited about this release. While the recent Dev Center refresh was about simplifying, this release is getting simpler still, adding flexibility to the Cloud API, and speed… all in response to feedback from our developers.

The new APIs are currently in “beta.”

So read the docs, make a new V2 project, have a go and let us know what you think!

What’s next? Well, these new APIs lay the groundwork for new ways to connect to Berg (coming soon). And we’ll keep pushing towards our goals for the Berg platform, to make it:

  • dead simple to understand
  • dead simple to use
  • time-saving for developers of connected hardware
  • a place that brings hardware makers and web developers together

Thanks for the feedback, and keep telling us what you need.

Getting there!