Go Down

Topic: Arduino Uno Wifi - unstable network communication with MQTT server (Read 127 times) previous topic - next topic

bci

Dear All,

can somebody help me with retired Arduino Uno WiFi which hangs by the network communication with mqtt server ?

Arduino: https://store.arduino.cc/arduino-uno-wifi ?

I have built a communication between Arduino and Mosquitto MQTT server useing UnoWiFiDevEd Librarry within the same network.

Arduino subscribes to one topic (5 chars) and publish data on another topic (34 chars). Topic names are 6 chars long each.


When Arduino starts then publish data. After each message I have delay 100 ms. From time to time should receive message from mqtt.

PROBLEMS:
1. After publishing data, after ca. 10-50 sek. the transfer hangs and after next 3-30 sek. is continued and so on...
2. After ca 1 min. from Arduino start, the receiveing of messages from mqtt hangs.


Thank you in advanced for any suggestion how to increase stability of network communication between Arduino and MQTT server.


Best,
Bogdan



Juraj

The UnoWiFiDevEd library is simple and limiting, but stable. Has the board a good WiFi reception? The design of the PCB has some flaws, so the board is sensitive to touching the soldering points on the bottom side. Is it in good a environment, sitting in the holder, not touched?
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

bci

I bought the board as a original with the plastic stillage at the bottom of the board.

How can I identify where is the problem on the board ?

Is it possible to solve the hardwer problems of the arduino uno wifi or should I look for arduino uno wifi r2 ?

Thank you for help.



Juraj

I bought the board as a original with the plastic stillage at the bottom of the board.

How can I identify where is the problem on the board ?

Is it possible to solve the hardwer problems of the arduino uno wifi or should I look for arduino uno wifi r2 ?

Thank you for help.

it is not a serious problem. it only doesn't like touching the esp8266 pins soldering points on the bottom side.
 
I had my main Arduino project run one year on Uno WiFi. I replaced it only because I needed more memory, but the board is very good.

You can use Uno WiFi Dev Ed with better firmware and library, if OTA is not your priority.
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

bci

Stable OTA is a key point of my project. There will be continous transfer of data in both directions Arduino <--> MQTT server with max delay 100 ms and lower if possible.


Earlier I did the firmware update.

Do you have any info what and how should I check by soldering of esp8266 points on my board ?

Thank you.

Juraj

Stable OTA is a key point of my project. There will be continous transfer of data in both directions Arduino <--> MQTT server with max delay 100 ms and lower if possible.


Earlier I did the firmware update.

Do you have any info what and how should I check by soldering of esp8266 points on my board ?

Thank you.
Not, soldering. Soldering points. They are unprotected and some of them are on traces to esp8266 io pins.

Details about Uno WiFi Developer Edition https://github.com/jandrassy/UnoWiFiDevEdSerial1/wiki
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Go Up