Open main menu

DAVE Developer's Wiki β

Changes

Dashboards
== Implementation ==
The implementation is suitable for a production environment. Unlike what we did for [[MISC-TN-021: SBCSPG and ThingsBoard IoT|this TN]], in this case the ThingsBoard IoT platform was installed on the cloud, specifically on a an AWS EC2 instance running Ubuntu Linux. The following diagram shows the complete solution. [[File:ATE monitoring SBCSPG ThingsBoard.png|center|thumb|1000x1000px]] Technically, the gateway can communicate with the ATE using different physical links and protocols. In the example under discussion, the physical link is Ethernet and the protocol is Modbus/TCP. The gateway retrieves periodically some data regarding the robotic arm used to move the device under test (DUT). These data are [https://www.universal-robots.com/articles/ur/interface-communication/modbus-server/ exposed by the PLC governing the arm] and are documented in detail [https://s3-eu-west-1.amazonaws.com/ur-support-site/16377/ModBus%20server%20data.pdf here].
=== ThingsBoard IoT configuration ===
TBDTo install ThingsBoard IoT platform on an EC2 instance, [https://thingsboard.io/docs/user-guide/install/cluster/aws-self-hosted-setup/ these instructions] were followed.
=== ThingsBoard IoT gateway configuration ===
TBDTo run this esample, the most important module to configure was the [https://thingsboard.io/docs/iot-gateway/config/modbus/ Modbus connector]. The following box shows the resulting configuration file needed to poll some variables of the arm's joints (namely temperatures and currents).<syntaxhighlight lang="json">
armbian@sbcspg:~$ cat /etc/thingsboard-gateway/config/modbus.json
{
== Dashboards ==
TBD ThingsBoard IoT allows to create easily custom dashboards to visualize data. At [http://ec2-15-160-47117-190174.eu-south-1.compute.amazonaws.com:8080/dashboard/1178fb20-e56d-11ec-8592-e3cb29424137?publicId=28967df0-e56d-11ec-8592-e3cb29424137 this link] such a dashboard is available showing some temperatures and currents of the arm's joints.[[File:ATE monitoring SBCSPG ThingsBoard dashboard2.png|center|thumb|600x600px]]
4,650
edits