GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ManiAkasapu/ESP-DCCEX-UDP-Bridge: ESP Sketch that receives DCC commands from any UDP sender and forward them to DCCEX via serial

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
ESP_WIFI_UDP
ESP_WIFI_UDP
 
 
WebThrottle_WIP
WebThrottle_WIP
 
 
.DS_Store
.DS_Store
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

About Sketch

This is generic ESP Sketch that can receive UDP data over Wifi. This can be used as command receiver for DCC++ or similar to technologies.

Hardware & Setup

  • ESP-01 (Tested) or similar module

Edit the following in the sketch so that it uses your own wifi details

IPAddress gateway(192, 168, 1, 1); // REPLACE YOUR GATEWAY
IPAddress subnet(255, 255, 255, 0); // SUBNET MASK

const char* ssid = "YOUR_BROADBAND_NAME";   // The SSID (name) of the Wi-Fi network you want to connect to
const char* password = "YOUR_PASSWORD";     // The password of the Wi-Fi network

unsigned int localUdpPort = 123;  // CHANGE THIS ACCORDING TO YOUR LIKING
char incomingPacket[255];  // buffer for incoming packets (can also reduce this)
char  replyPacket[] = "UDP Packet Received";  // a reply string to be sent back (you can customize this to your liking)

There are different ways uploading a sketch (ESP_WIFI_UDP.ino) to ESP. Some links below:

https://www.instructables.com/id/Getting-Started-With-Esp-8266-Esp-01-With-Arduino-/ https://create.arduino.cc/projecthub/ROBINTHOMAS/programming-esp8266-esp-01-with-arduino-011389

Connections - While running the ESP

ESP - Arduino

3.3v - 3.3v

GND - GND

EN - 3.3v

TX - RX

RX - TX

About

ESP Sketch that receives DCC commands from any UDP sender and forward them to DCCEX via serial

Resources

Readme
GPL-3.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.