EEVblog Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog Electronics Community Forum
»
General
»
Work Wanted
»
Serial over UDP using ESP8266
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: Serial over UDP using ESP8266 (Read 14927 times)
0 Members and 1 Guest are viewing this topic.
edgaras006
Contributor
Posts: 33
Country:
Serial over UDP using ESP8266
«
on:
October 08, 2023, 04:28:24 am »
Hello,
I need serial over UDP using ESP8266 module Wroom-02. I managed to make it receive data, but am unable to send it. Receiving end will be windows 11 machine, data rate 500K baud.
This job has no dead line, but the sooner the better.
Logged
YTusername
Regular Contributor
Posts: 88
Country:
Re: Serial over UDP using ESP8266
«
Reply #1 on:
October 16, 2023, 07:27:11 am »
This is something done by the ESP community before. There is a project called
esp-link
for implementing a WiFi-Serial bridge with a dashboard. I've made a tutorial regarding this,
found here
.
Logged
My blog:
https://atadiat.com/en
, My Lab:
https://atadiat.com/lab/
edgaras006
Contributor
Posts: 33
Country:
Re: Serial over UDP using ESP8266
«
Reply #2 on:
October 18, 2023, 12:42:48 pm »
Thank you. I had searched a lot, but failed to find this one. I will fallow tutorial and hopefully it works.
Logged
Psi
Super Contributor
Posts: 10383
Country:
Re: Serial over UDP using ESP8266
«
Reply #3 on:
November 03, 2023, 09:24:19 am »
How are you programming the ESP8266? What libraries?
I did some UDP TX/RX on an ESP once using arduino to hack something together quickly.
I think it was a ESP32 but it was very trivial to send/receive data over UDP and should be identical for ESP8266.
I have no idea if the arduino backend can handle 500K baud.
Even if you don't want to program it in arduino, can be useful to test and confirm everything else in your setup is not the problem for UDP tx/rx.
Don't want to spend 5 hours chasing a UDP coding bug only to find it was actually the windows firewall blocking receiving commands etc..
«
Last Edit: November 03, 2023, 09:33:31 am by Psi
»
Logged
Greek letter 'Psi' (not Pounds per Square Inch)
edgaras006
Contributor
Posts: 33
Country:
Re: Serial over UDP using ESP8266
«
Reply #4 on:
November 03, 2023, 08:32:04 pm »
Georgy.Moshkin helped my to figure this out. He found AT commands firmware which works with windows 11 and it did. Before that I tried programming Arduino, but it took ages to connect and did not transmit messages. Only reception worked. I also thought that it was windows firewall, but it was not. AT firmware + standard commands works wonders.
Also AT firmware connect to DHCP Wifi much faster than arduino code and draws significantly less power, and supports UART speeds I need.
Logged
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog Electronics Community Forum
»
General
»
Work Wanted
»
Serial over UDP using ESP8266
There was an error while thanking
Thanking...
EEVblog Main Site
EEVblog on Youtube
EEVblog on Twitter
EEVblog on Facebook
EEVblog on Odysee