I've been working with the ESP32 P4 Function EV dev kit and LOVE the fast display updates with the MIPI DSI LCD.
This is going to be perfect for a automotive digital dash, since the P4 supports 3 TWAI controllers.
I would like to add wireless sensors for oil pressure, brake line pressure, etc using ESPNOW and display them on the MIPI DSI LCD.
Soooo, does the esp-hosted-mcu support ESPNOW?
The examples show WIFI and Bluetooth.
-OR- since ESPNOW uses wifi, do I just need to add those functions to the ESP32 P4 wifi examples?
Thanks in advance for any clarity you can provide!
Does ESP-HOSTED-MCU support ESPNOW?
Re: Does ESP-HOSTED-MCU support ESPNOW?
Short answer. ESPNOW works.
ESPNOW is an special configuration for WiFi, using standard 802.11
At the end of it you achieve a longer range when you do not need much data to be transmitted (smaller package size) creating something alike a WSN.
You will probably need to add this configuration to the code as if programing ESP-IDF.
However. ESP-NOW sometimes presents loose of packets, so you may miss some data of sensors in a QOS 0 connection.
To be honest, if i were working on a car. I would go for CAN. Something wired on a bus. Where data is not lost and you can stablish priorities and messages to know if something is work¡ing as expected.
So yeah, you can achieve ESP-NOW in your system. But doing so, your sensor may experience heavy problems that you may not notice in time.
ESPNOW is an special configuration for WiFi, using standard 802.11
At the end of it you achieve a longer range when you do not need much data to be transmitted (smaller package size) creating something alike a WSN.
You will probably need to add this configuration to the code as if programing ESP-IDF.
However. ESP-NOW sometimes presents loose of packets, so you may miss some data of sensors in a QOS 0 connection.
To be honest, if i were working on a car. I would go for CAN. Something wired on a bus. Where data is not lost and you can stablish priorities and messages to know if something is work¡ing as expected.
So yeah, you can achieve ESP-NOW in your system. But doing so, your sensor may experience heavy problems that you may not notice in time.
-
DreadNaught
- Posts: 10
- Joined: Thu May 09, 2024 1:17 am
Re: Does ESP-HOSTED-MCU support ESPNOW?
Thank you for this detailed post.
I agree that CAN bus /TWAI is a more solid/stable solution, but by using bluetooth/wifi/ESPNOW wires don't need to be routed from the engine bay, through the firewall, to the inside of the car. On newer cars, this is not a quick or easy job and if not done correctly, water can leak in.
I've been testing a bluetooth (nimBLE) oil pressure sensor for the last 3 years, and it has worked perfectly.
BUT the "many to one" aspect of the ESPNOW has my interest.
Over the next few days, I'll continue to work on this.
I agree that CAN bus /TWAI is a more solid/stable solution, but by using bluetooth/wifi/ESPNOW wires don't need to be routed from the engine bay, through the firewall, to the inside of the car. On newer cars, this is not a quick or easy job and if not done correctly, water can leak in.
I've been testing a bluetooth (nimBLE) oil pressure sensor for the last 3 years, and it has worked perfectly.
BUT the "many to one" aspect of the ESPNOW has my interest.
Over the next few days, I'll continue to work on this.
Who is online
Users browsing this forum: Amazon [Bot], Applebot, ChatGPT-User, Qwantbot and 3 guests