Hello everyone,
Actually I'm working on getting data from a web page of a controller device and analyze it ,
Which card is better to use in terms of speed and synchronization of data in real time ? ESP8266 or arduino
Ethernet shield ?
Hello everyone,
Actually I'm working on getting data from a web page of a controller device and analyze it ,
Which card is better to use in terms of speed and synchronization of data in real time ? ESP8266 or arduino
Ethernet shield ?
I doubt there is any material difference, but you may need to be aware that the two are for different purposes. The ESP8266 is for WiFi communication, and the W5100 is for Ethernet communication.
Yes, I know the difference in terms of type communication
I have a problem with getting data in real time
I tried the ethernet shield but the http response is too slow
use standalone esp8266.
you read the data with HTTP? it is no ideal for microcontrollers. are there other possibilities? Modbus?
The power controller device can communicate in Modbus/TCP
My idea was to search the specific data on the html page of the device using a get request and textFinder
libray.
Do you see that a Modbus communication is better ? Could you give me more details please
Thank you
I read Modbus TCP of solar inverter on Uno with ESP8266 without a Modbus library. The attached code from my project is not ideal, but have a look.
Modbus.ino (3.6 KB)
Thank you very much
But I don't understand why are you using an arduino Uno with the ESP8266
The ESP8266 is standalone, isn't it ?
Why Uno with ESP? I have many attached things, among them 2 analog sensors and 2 230 VAC relays which need 5 V to hold the coil. And I can switch to Ethernet shield by couple of #ifdefs.
I think any HTTP delays you see are due to the power controller itself, not the network device that you attach to it. There are reasons why you might want to use an Arduino with an ESP and not an ESP stand alone. For example, the ESP runs a network protocol stack that can interfere with real time response. The ESP is a 3.3V device and so needs circuitry to interface with 5V devices. Some Arduino have many more pins available than the ESP.
Also you are just turning LEDs on and off? How realtime do you really need that to be?
LamySae:
I don't think the ESP is a good choice for the CDP circutor ( controller dynamic Power)
Could you give me your opinion ?
One more reason for Uno in my project is PWM. I read somewhere that on ESP it is disturbed by WiFi handling interrupts.
The CDP does what my Fronius Symo does, so the projects are similar. With Arduino Uno WiFi I regulate a 2 kW heating to consume the power that would otherwise go to public grid. I read the Modbus TCP data over WiFi, but I plan to move on to Modbus RTU over RS485. But the ESP stays. It handles monitoring (telnet, web page) and sketch upload.