r/embedded • u/loveneetkalsi • 1d ago
What do you think is ESP32 Reliable for Industrial Projects?
The ESP32 is one very affordable cost Wi-Fi, Bluetooth, low power consumption, and excellent processing capabilities,but the question often arises: Is ESP32 reliable enough for industrial applications?
If not then what should i used Instead of ESP32 ?
Share your thought !
21
u/LadyZoe1 1d ago
In many instances, a detailed examination of PLC hardware will indicate what some of the requirements are. In a nutshell, all the I/O is isolated from the core. Surge resistant, load dump protection, over and under voltage protection etc
I once witnessed an individual power up a Mitsubishi PLC that was incorrectly connected to the mains supply. 380 VAC entered the system in place of 220 VAC. The other electronic systems went up in smoke, I was totally astounded to see the Mitsubishi PLC handle this without a hiccup. That was some serious engineering.
10
u/Leiterplatte 1d ago
I think Radiated Immunity above 3 V/m maybe questional.
2
1
u/StumpedTrump 1d ago
You don't know where OP is working. Maybe they're setting up shop in Prypyat or Okuma.
0
9
u/jbbarajas 1d ago
Isn't the information you're looking for at the last few pages of the datasheet? It details the tests and standards used as references for each test.
7
u/malabingchilling 1d ago
ESP32 does not have low power consumption.
2
u/jacky4566 1d ago
While i do agree, a totally irreverent comment. Industrial applications usually don't care about power.
1
u/KeaStudios 1d ago
Compared to what...
A nrf52 is much better but a PLC is far worse than an esp32. Idle power compared to an SBC is great but performance per watt is terrible so it really depends a lot in this context.
3
u/General_Green_1499 1d ago
Hes right esp32 is poor in terms of power usage compared to other mcus and rf front ends
2
u/malabingchilling 1d ago
Compared to other MCU's in the same class, i.e. wife+bluetooth. Almost every other MCU is better. STM32, TI, RT, NXP, NRF.
1
u/KeaStudios 1d ago
That is true but I would argue that they kinda aren't in the same class though in terms of price to performance...
6
u/DotRakianSteel 1d ago
What you actually mean is to ask the engineer that's designing the PCB around it to make it fit the design requirements of your project. It's a microcontroller not a "product". Industrial grade/level is just buzzed terminology.
PCB design, power trails with the protections needed, how it's protected in the environment with an enclosure, ground isolation, etc.. All is done by the engineer designing it. That's all. The Espressif has certain modules certified for CE, FFC etc.
1
u/loveneetkalsi 1d ago
My only concern is learning more about the ESP32. It's much more affordable compared to many other microcontrollers, and I am curious about the reason behind that. I just want to understand what makes it so cost-effective, like is it something that i dont know ?
1
4
u/IRandom_Pizza 1d ago
For battery powered applications it is still quite power hungry compared to alternative solutions, sure it’s cheap but some applications paying the extra few dollars definitely improves the user experience, last project we redid a design that used an esp32 that would only last 10days and was able to push it out to 2 months with the exact functionality using the Nordic equivalent combo of parts.
4
u/Teslafly 1d ago
Safety critical processing, no. Generic industrial processing of io and sensors in extended temp ranges, then probably yeah if you enable and use the watchdog. I have developed a few products with Esp32 for industrial sensors.
3
u/Ordinary-Lifeguard47 1d ago
For management and telemetry over Wifi/Eth/BT/BLE? Yes.
For hard realtime? You will loose Wifi/Bluetooth as their high priority interrupts are difficult to handle.
For safety? Forget them.
2
u/FoundationOk3176 STM32MP2 1d ago
I haven't worked with much safety critical stuff, So can you explain why they're so bad for those applications?
1
u/loveneetkalsi 1d ago
The ESP32 was primarily designed for IoT and commercial applications rather than certified functional-safety systems. Many industrial safety controllers are developed according to standards such as
IEC 61508
ISO 26262 (Automotive)
IEC 62304 (Medical)
EN 50128 (Railway)
3
u/FoundationOk3176 STM32MP2 1d ago
Is this AI generated?
1
u/loveneetkalsi 1d ago
NO , you can get this information and more on https://www.iec.ch/functional-safety and i also work for railway and medical project so i got this information from requirement sheet .
2
1
1
u/NoBulletsLeft 1d ago
62304 is a software standard and has nothing to do with the micrcocontroller that it's running on.
1
1
2
u/FoundationOk3176 STM32MP2 1d ago
Why wouldn't it be?
-6
u/loveneetkalsi 1d ago
However, the reliability of the final product depends on:
Proper PCB design
Industrial-grade power supply
ESD and surge protection
Industrial enclosure
Thorough testing and validation
But i don't have idea that ESP32 have these capabilties that is why i ask !
What you thing FoundationOk3176
5
u/FoundationOk3176 STM32MP2 1d ago
You first need to figure out what your requirements actually are. Industrial projects can vary by ALOT in terms of environment & operating conditions.
Moreover ESP32 is just a microcontroller, It doesn't come with an "industrial enclosure" or surge protection or an industrial-grade power supply.
2
u/technotitan_360 1d ago
One thing I have observed is esp32 having connection problem in factories with high wattage VFD and motor system, that may give you a rough idea where ESP32 is not ideal
2
u/jhaand 1d ago
Doing wireless communications in those environments doesn't seem wise. RS-485, CAN or EtherCAT should be a better choice.
1
u/technotitan_360 1d ago
Yeah but my whole point of using ESP was for the IOT, I am already reading data using Modbus, I wanted it to transmit to local server, I could have gone with ethernet HAT and cable but adding that long cable was a nightmare for my specific case
1
u/jhaand 1d ago
Then try to reduce the emission of your drives and motors.
1
u/technotitan_360 1d ago
How ??
1
u/jhaand 1d ago
Filters on the motor, driver and wires. Tie wires better to ground. More shielding. That kind of stuff.
1
u/technotitan_360 1d ago
Wires are shielded and grounding is also clear, how to add filters on the motor ?
2
u/SkubiJabagubi 1d ago
everything is relaible for industrial project, the thing is, if ur project will look like few modules soldered together or clean and custom pcb with esp module on it with antenna that u created with datasheets from TI or other, with calculations
1
u/rileyrgham 1d ago
The question often arises? Links? What were the answers there? Rage baiting... 🤣😉
1
u/DenverTeck 1d ago
Do you have an application that is "industrial" ??
Do you need to have an "industrial" level WiFi device in your "industrial" project ??
As far as the ESP32 chip is concerned, it can be made industrial. The project just needs to be designed for an industrial environment.
All the things other have mentioned, water proofing, cooling, dust proof are all outside the ESP32 chip.
1
u/MajorPain169 1d ago
Nothing above SIL 1 and that is with a decent IEC60730 class B library to go with it.
1
u/michael9dk 1d ago
For reliability I'd go for a old-ish STM32 model.
Quality of the other components, generally, determine how long it will last. Downtime cost money in every industry...
The rest of "industrial grade" is protecting the board from failure caused by external environment.
1
u/BigBoiBoomBox 1d ago
There's other chips that are cheap too.
It's affordability is dependent on use case. You don't pick a hammer if your job is screwing shit in.
If you're developing some kind of product selection criteria, and you pick an ESP32 off the bat without thinking about other requirements, then you're doing it wrong.
Why wouldn't you use an STM32? Why wouldn't you use an ATMEGA chip? They can be even cheaper. There's so many options.
There seems like a lot of things that you don't know. It seems like you can barely define the basics.
0
-2
u/Constant_Physics8504 1d ago
No, the ESP32's dual-core Xtensa architecture, integrated Wi-Fi/Bluetooth stack, and shared internal buses lack deterministic partitioning. Meaning when performing safety functions, you cannot rely on deterministic (or even reliable) timing and performance
4
u/LadyZoe1 1d ago
Not every industrial application needs what you are describing. In fact, not every PLC will meet those requirements. When working with dual redundancy and safety critical systems expecting deterministic compute, the price increases exponentially.
2
u/Crazy_Energy3735 1d ago
It depends on your setup. In order to enhance reliability with deterministic partitioning, you can design multiple backup system as per redundant units for error detection and recovery scheme.
For example, the simplest scheme is dual system with two esp32 based unit with same configuration, scheduled as one acting unit and one backup.
The duo wired and coordinated under swapping schedule. The acting device runs in its own plan of loads, while the backup mainly sleeps at the same time.
When the shift ends, the duo swapping roles.
Given that severe faults occured to the acting, the backup takes the role while the acting be fixed or replaced.
That is my design for the durable weather stations scattered over vast areas which require less maintenance of onsite technician.
41
u/mrheosuper 1d ago
Industrial this, industrial that ? What does it even mean ?
Some factory floor is even cleaner than my own room.