Today, I will show you an IoT demo made with BBG, We upload the data to dweet.io and view the information on freeboard.io in real time. The full name of BBG is BeagleBone Green which is designed by SeeedStudio. BeagleBone Green is a low-cost, community-supported development platform for developers and hobbyists. Boot Linux in under 10 seconds and get started on development in less than 5 minutes with just a single USB cable. And more important, it’s compatible with Grove.
By the time you’re done with the demo you will gain the following experience:
- Be familiar with BBG;
- Master the dweet.io IoT cloud platform.
- Master the freeboard.io IoT cloud platform.
Now, let’s get started.
Freeboard can ridiculously simple dashboards for your devices. It's simple to build real-time, interactive dashboards and visualizations in minutes using the intuitive drag & drop interface.
Ready as shown in the figure below.
Maybe you also need a Acrylic board to fix the BBG and Grove Modules, click here to download the design drawings.
Connect Grove Modules to each other just as figure below shows.
Connect the BBG to network with a standard Ethernet cable. Then connect your BBG to the PC with an USB cable.
Hardware is ready now, we need to programming.
First, you should set the Grove - UART socket as a GPIO, If you don't know how to do it ,just follow this link.
You can download the example code by click here. Copy the “ExampleCode” folder to “/var/lib/cloud9”.
Install “Request” package by execute the following command.
Run the “iot_demo.py”, then you’ll find the OLED display is lit up.
Now, you can clilk here to view the data on freeboard.io, just as the picture below shows.
This project is made as an Open Source Project. It's a starting point. Let your creativity go wild with the mechanical, electrical and software design. Make the demo your own. Decorate it. Improve the work. No matter what, write a recipe about it.
To share and progress together.