Databoom supports connection with BeagleBone Black. The platform configuration consists of a few steps, after which it will be possible to transmit your data using the most appropriate client depending on your needs (HTTP, MQTT).
Connecting BeagleBone Black
- Connect the network cable to the card, and the card to your PC with the USB cable;
- Make sure you have the necessary drivers to connect with BeagleBone Black, found at https://beagleboard.org/getting-started#step2;
- Access the Black BeagleBone at http://192.168.7.2.
At this point, the connection with the card is complete. In order to run scripts in the board it is possible to follow two approaches. You can explore the BeagleBone Black directly from your PC and place your own script in an appropriate path, or access the preinstalled IDE on the card and write directly the code to execute.
To access the Cloud9 IDE, connect to http://192.168.7.2/Support/bone101/#cloud9 then click on the title Cloud9 IDE, or connecting directly to http://192.168.7.2:3000.
Once logged in you can start writing code.
You can implement different types of clients within the BeagleBone Black, like the HTTP client and the MQTT client. To install any missing modules necessary for the execution of scripts, you can interact directly with the BeagleBone via shell in Cloud9, using the command
Running a script on BeagleBone Black
Upon completion of the drafting of the code you can make the script execution automatic when the BeagleBone Black starts by saving the application in 'autorun' folder (/var/lib/cloud9/autorun).
The scripts can also be executed directly from the IDE via the play button, or from the shell of the BeagleBone with the command
Once the procedure has been completed, Databoom starts to record data from the BeagleBone. To examine your data and have a correct representation, follow the instructions in Edit/validation of a signal.