Huzzah Feather ESP8266 with MAX3232 as RS232 to wifi device

How to set up an RS232 serial port with this specific hardware, so you can then use it with any RS232 device.

Dec 23, 2020

5124 views

2 respects

Components and supplies

1

MAX3232 Board

1

BREADBOARD GENERAL PURPOSE 3 inch x 2 inch

1

Null modem cable or DB9 connectors and make your own

1

Adafruit Feather HUZZAH with ESP8266 WiFi

Tools and machines

1

Soldering iron (generic)

Apps and platforms

1

Arduino IDE

Project description

Code

RS232Dylos.ino

arduino

Skeleton code to show how to communicate from a Huzzah Feather ESP8266 to an RS232 port using a MAX3232 Board. This code just reads whatever it gets on the RS232 port, and prints it to the USB serial port. But it would be easy to extend, to read and write to any RS232 device, and then say send the results over wi-fi.

RS232Dylos.ino

arduino

Skeleton code to show how to communicate from a Huzzah Feather ESP8266 to an RS232 port using a MAX3232 Board. This code just reads whatever it gets on the RS232 port, and prints it to the USB serial port. But it would be easy to extend, to read and write to any RS232 device, and then say send the results over wi-fi.

Downloadable files

Wiring diagram

Shows connections to be made, same colour code wires as the photo of the real thing.

Wiring diagram

Image

Physical layout and wiring

I made two identical boards (one as spare). Topside shows layout of parts, and bottom side shows wiring connections. Excuse my messy soldering. As long as it works ...

Physical layout and wiring

Image

Wiring diagram

Shows connections to be made, same colour code wires as the photo of the real thing.

Wiring diagram

Image

Comments

Only logged in users can leave comments

higgsino

0 Followers

0 Projects

0