Arduino Sensor Library


Using a combination of the OpenSensorHub (OSH) Arduino helper classes ( and the Adafruit Unified Sensor Library ( ), it is straightforward to develop drivers to enable all supported Arduino sensors to register with OSH SOS-T. Most took no more than 10-15 minutes to add.

When properly configured, these Arduino sensors can push observations to an OSH node over WiFi using the transactional components of an SOS service (SOS-T). Then all of the power of OSH is available, including storage, processing, and serving of the data through standard web or IoT interfaces.

To use supported Arduino sensors for OSH, one would:

  1. The SOS-T server which will receive the data, is referenced in the sketch within the newSOSClient method call. e.g. sos = new SOSClient(client,, 8181, /sensorhub/sos);  
  2. flash the Arduino “sketch” file for the appropriate sensor onto the board
  3. restart the Arduino board; it will then register with OSH and send observations until you power it off
%d bloggers like this: