I’m Kyle, and I work on the hardware team at Tulip.
As mentioned in previous community posts, Phidgets are cost-effective, quick and easy to use versatile sensors which can be used in both small-scale or large-scale industrial settings. These sensors can be used in Node-RED which can send data from the sensors to your Tulip instance.
We’ve done this before using this method but now it’s even easier. Let me show you!
Recently at Tulip we have added the ability to connect Phidgets in Node-RED directly to your Edge MC using the Phidgets wired VINT hub by default. Previously, this functionality required a bunch of extra configuration and cost more since we were using the wireless hub .
In one afternoon, I was able to set up my EDGE MC with a Phidgets sensor to record temperature and humidity data in real time, which I could then view in an app I created in my Tulip instance.
I connected the Phidgets to my Edge MC over USB using the Phidgets VINT Hub (wired) and the Humidity Phidget. Once I connected my EDGE MC to Node-RED, I created machine attributes for temperature and humidity, both attributes were set as float types.
The Node-RED flow I am using can be seen below and I will include a JSON of my flow in a comment if you’d like to use it. Both Phidget-Humidity
and Phidget-Temperature
are Tulip machine-attr
nodes which send data to machine attribute endpoints using the Tulip Machine API.
By default all machine-attr
have an attribute source msg.payload
. We need to edit the attribute source of both of our machine-attr
nodes to include the name of the attribute we are associating the node with.
In my case the attributes I made in Tulip were humidity
and temperature
so I switched my Phidget-Humidity
and Phidget-Temperature
nodes attribute sources to msg.payload.humidity
and msg.payload.temperature
respectively.
You can see in the debug window on the right why we are doing this. msg.payload
is an object, nested inside this object are {temperature: [19.54]}
and {humidity: [41.01]}
. I want to send just the humidity and temperature values to Tulip, not the full object which is why I need to go one step inward and define msg.payload.humidity
and msg.payload.temperature
.
You can see how the temperature and humidity data from the Phidgets are able to be viewed as machineAPI data sources in Tulip with this quick app I created.
From scratch, this whole setup only took me a few hours to set up and required under $50 worth of sensors.
This can be a game changer on a large shop floor! You could measure sound across your facility to ensure employee health and adherence to OSHA guidelines using the sound Phidget. Or you could monitor vibration and movement on all of your machines using the accelerometer Phidget. You could even monitor if employees are at their station or where empty spots for pallets of new shipments to be placed in your warehouse using the sonar Phidget.This text will be hidden