To test this web application, a "DeviceControl" sketch is included in the Cumulocity Arduino library. The string you type in the web interface will be received from the Arduino GBoard and send via the serial connection to your computer.
I wanted to find a practical use for it. So I got a few LED matrices and Rainbowduinos to control them.
Problem with the small RAM
![]() |
| The simple Setup |
If you want to test the application you just have to go to https://developer.cumulocity.com/ui/arduino/
and log in with your M2M Developer Platform credentials. Then you have to look for the right device and in the "Device Control" section you can type something and send it to the Arduino. After a short time it will show up on the LED matrix.
Possible Use Case: Extension of the Plant Demo
Until now, this is not really a practical use case. It is just a demo. To use it more practical I could display the sensor data of my plant demo (temperature, moisture and light). If there is something wrong, maybe the moisture is to low, I would display an alarm.
The alarm would be fast and easy to implement. All that I need to do is to include a function that creates an operation if the moisture is to low. This would be done on the device which collects the data.
The alarm would be fast and easy to implement. All that I need to do is to include a function that creates an operation if the moisture is to low. This would be done on the device which collects the data.
Update - August 28th, 2013
I just noticed, that it is not possible with the Cumulocity Arduino Client to create an operation. So I had to extend this library that I can send an operation to the M2M Developer Platform. The modified library is on Bitbucket. Or you click here to Download the latest version as a Zip file. I also included an example where you can test this new feature.

No comments:
Post a Comment