Arduino-l3dgecomm – Integrating L3DGEWorld and Arduino

arduino l3dgecomm

L3DGEWorld is a tool for monitoring and interacting with networks and computer systems. Within a 3D world, entities bounce, spin, scale and otherwise change. These entities all represent an entity in another context – be it a server, phone, router or other monitorable device. The visual transformations represent various characteristics of these entities, such as packets per second, CPU load, memory usage or temperature. The use of visual characteristics to represent important metrics allows an administrator to quickly see an overview of their systems, and especially whether there are any anomalies.

arduino l3dgecomm

Input and output is taken to/from daemons using l3dgecomm. Previously, it has been used to monitor UPS systemssuper computers and Asterisk, as well as its original implementation, monitoring greynets.

arduino-l3dgecomm allows for an all-new type of input and output to L3DGEWorld, implementing l3dgecomm for the Arduino. Monitor and interact with the real world from within a 3D game world! This page aims to demonstrate some example use cases of arduino-l3dgecomm and document how to use it.

Download arduino-l3dgecomm from the L3DGEWorld downloads page


For a tutorial on how to set up an Arduino and L3DGEWorld environment to replicate these examples, visit the l3dgecomm tutorial page.

Example usage

Temperature monitoring

It is trivial for the Arduino to monitor temperature. With a merely a thermistor and a resistor to form a voltage divider, the analog in functionality of the Arduino can tell the temperature.

With this, you can cheaply monitor your data centre’s temperatures, see how hot rooms in your house are, or monitor plants in your greenhouse.

L = new l3dgecomm( l3dgeIP, l3dgePort ); char buf[20]; sprintf(buf, “%i”, analogRead(0)); L->sendUpdate(1,L3DGE_METRIC_SPIN, L3DGE_FIELD_RATE, buf);

Light monitoring

Likewise, identical code and wiring can be used to utilise light as an input. Perhaps it could be a very basic system for seeing if certain rooms are occupied, or to catch the office thief taking food from the fridge.

In the following video, we assume that a normal state is darkness (finger over the sensor). When someone turns the lights on (removes the finger), an alert state happens, and the L3DGE node spins really fast. a


Read more: Arduino-l3dgecomm – Integrating L3DGEWorld and Arduino

Leave a Comment

Your email address will not be published. Required fields are marked *