Customers regularly ask us whether we don't want, by any chance, to build a module to measure [insert a physical quantity here]. Sometimes, we jump into it, but we sometimes also decline because the resulting module would be too specific. Therefore, we would likely be unable to sell enough modules to amortize the development costs. We thought about the issue, and we think that we have a reasonable solution.
In fact, we have two solutions. They are the Yocto-4-20mA-Rx, a module allowing you to interface sensors with a 4-20mA current loop as output, and the Yocto-0-10V-Rx for sensors with a 0-10V output.
The 4-20mA standard
Relatively unknown to the general public, the 4-20mA standard is widely used in the industry. There is a multitude of sensors working on this principle: telemeters, gas detectors, humidity sensors, pressure sensors, position sensors, etc.. You name it.
The working principle is very simple: the sensor varies its power consumption between 4 and 20mA depending on the value it is measuring. Therefore, to know the measured value, you only need to measure the sensor power consumption. It does give the feel of an obsolete technology in our day and age when everything is digital, but it's smarter than it looks. As the information is transmitted as a current loop (and not a voltage), the quality of the transmission wire has minor impact on the measures. Therefore, it is a robust and precise method. You can even put the sensor very far away from the reading module. Some sensors work up to one kilometer away.
A pressure sensor, a angle sensor, and a distance sensor, all in 4-20mA
One small issue: the sensors are often expensive because they are designed for the industrial world, and therefore are resistant to everything.
The Yocto-4-20mA-Rx
The Yocto-4-20mA-Rx module enables you to read the output of these sensors and to transfer it by USB. The module has a 6x2cm board with two inputs, so you can read two inputs simultaneously: this is luxury. Each input also has a third wire, enabling a 23V power supply independent of the measuring loop to power sensors that require more current than is available on the 4-20mA loop. It is also an isolated module: the current loop is electrically isolated from the USB bus.
The Yocto-4-20mA-Rx
Small luxury, the Yocto-4-20mA-Rx not only provides you with the power consumption of your sensor, it is able to automatically convert it. You only need to configure it by providing the values corresponding to the two bounds 4 and 20mA. No need for you to do anything else. Magic!
Here is a short demo with some 4-20mA sensors.
The Yocto-0-10V-Rx
The Yocto-0-10V-Rx is the twin of the Yocto-4-20mA-Rx. It works in exactly the same way, but with sensors with a 0..10V output. Working on voltage makes it somewhat less precise than the Yocto-4-20mA-Rx because this time, the wire resistance between the sensor and the Yocto-0-10V-Rx has an influence on the measure quality. So, avoid to put the sensors too far away from the module.
The Yocto-0-10V-Rx, differences with the Yocto-4-20mA-Rx are subtle
You are now able to interface many new things, have fun.