In the field
Sensors, actuators and machines. A microcontroller, for example an STM32 or an ESP32, reads the measurements and drives the outputs.
The path of the data
Sensors, actuators and machines. A microcontroller, for example an STM32 or an ESP32, reads the measurements and drives the outputs.
The data leaves: over cable, Wi-Fi or a mobile network, or first over a fieldbus to a gateway that takes it onto the network.
It receives the messages, checks who sent them, stores the data and sends commands and settings back to the devices.
Dashboards, history, alerts and, where useful, analysis with artificial intelligence, from a browser or an app.
New machines and existing ones
A new device can connect on its own: an ESP32, for example, has Wi-Fi on board. Machines that already exist, instead, usually talk over a fieldbus, a link designed to let boards and machines communicate. In these cases you add a gateway: a small device that speaks the bus on one side and the network on the other.
The gateway is also the right place for a first pass on the data: filtering it, queuing it when the network is down, sending only changes instead of every reading.
The hardware
To read sensors, switch a relay and talk to the network, a microcontroller is almost always enough. STM32 is a very large family, often chosen for control and precise timing. ESP32 chips have Wi-Fi and Bluetooth built in, which makes them handy for connected devices.
An FPGA is a chip whose logic you design yourself. It is needed when many things must happen at the same instant with very precise timing, for example processing fast signals. It is more flexible and more powerful at these tasks, but it costs more and calls for different skills. The two often live side by side in the same product.
Communication
Device and server have to agree on how they talk. Two common choices: HTTPS, the same protocol websites use, handy when the device sends data now and then; and MQTT, a lightweight protocol in which devices publish messages on topics and the server receives them, suited to many devices that stay connected. Whatever the choice, three rules apply:
Security
And it often sits somewhere you do not control. The basic rules:
No device is one hundred per cent secure. These rules reduce the risk and limit the damage if a device is tampered with.
Updates
A device in the field lives for years, and sooner or later its firmware needs updating: for a bug, a new feature, a security fix. Remote updates, often called OTA (over the air), avoid sending a technician on site. They must be designed carefully, because a failed update can stop a device that is far away.
Our experience
We have been designing electronics and firmware since the days of the Merlino and Singularity FPGA boards, and today we work with STM32, ESP32, FPGAs and with CAN, Modbus and RS485 buses, in sectors such as automotive, agriculture, industry and automation, logistics and regulated gaming machines. Much of this work is white-label: our customers put their name on it, and that is why we do not cite it.
On the software side we build the web and cloud applications that receive the data. We use MQTT and remote (OTA) updates in our projects. Having both parts in the same team avoids the most common problem in these projects: a device and a server each designed on its own, that only meet at the end.
Limits
Frequently asked questions
Often yes, if they have a fieldbus or an output the data can be read from. You add a gateway that reads the bus and sends the data to the server, without touching the machine's logic.
It depends on where the device is. Cable is the most stable, Wi-Fi is handy inside a well-covered building, a mobile network is for devices that are far away or on the move. In every case the firmware must cope with periods without a network.
In the cloud or on a server of yours. The choice follows the same criteria as any web application: who looks after it, where the data must stay, how many devices are connected.
Yes, in two places: on the server, to analyse the collected data and flag anomalies, or on the device, with small models that decide without waiting for the network.
Whether it is a new board or a machine that has been running for years, tell us what it has to do: we will propose the path from the field to the screen. We reply within 24 working hours.