Wifi Serial Port

Posted on
  1. WI232+ is a 1-port serial to Wi-Fi adapter that connects serial devices to 802.11 wireless networks quickly and easily. Simplify connectivity to devices where cabling is prohibited or mobility is required. Connect 2 WI232+ Wi-Fi adapters via a network to create a virtual serial connection around the world.
  2. 2pcs ESP8266 ESP-01 Serial Wireless Transceiver WiFi Module 1MB SPI Flash DC3.0-3.6V with 2pcs USB to ESP8266 ESP-01 Adapter Wireless Communication Microcontroller for Arduino 4.0 out of 5 stars 17 $9.99 $ 9.
  1. Wifi To Serial Converter
  2. Wireless Serial Link

I have microcontroller device which reads data from sensors and sends it via Serial to USB converter (ftdi232 cable). This Serial to USB converter is connected to ARMv7 mini-computer - CuBox with Ubuntu 13.04. I have also connected WiFi USB adapter to CuBox. Dell vostro 1510 network controller driver. I would like to read data from serial port and send it via WiFi and receive on Windows PC.

Make a converter that transform data from Serial to Wi-Fi/Ethernet and vice versa, by using Arduino.

  • 14 respects

Components and supplies

Arduino UNO
PHPoC Shield 2 for Arduino
PHPoC Smart RS232 Board
Wifi Serial Port

About this project

Why should we do it?


In the era of IoT, do you still own any serial device?

For me? Yes, I do. I have a Pan-tilt camera which only supports RS485 interface, and I am not gonna throw it away any time soon. There are tons of serial devices over there in the real world, not to mention that most of industrial devices still use serial interfaces. Serial communication is simple, cost-efficient, reliable, and can come to the rescue whenever you need to get the console access to the device.

But, we are living in the era of IoT! Isn't it great if we can add network capability to those serial devices, so that we are able to access them from wherever we want.

Here I will show you how I made a simple Ethernet to RS232 converter by using Arduino Uno and PHPoC Shield. TCP data that bypasses Ethernet connection can be transformed into serial data, and vice versa.

So, how to make it?

I use a Smart RS232 Board for serial interface. Along with a PHPoC Shield 2, they are stacked on an Arduino Uno.

Each Smart RS232 Board has an RS-232 port, and is addressed by ID, which can set by manually setting DIP switches. For example, in this project, the board is addressed as 1.

A PHPoC shield supports both Wi-Fi and Ethernet connectivity, but you can only choose either of them for network connection. In my project, I set up an Ethernet connection for PHPoC Shield.

With a small change in hardware setup, this can become a Wi-Fi/Ethernet to RS232/RS422/RS485 converter. Maybe with more effort, you can even make a Wi-Fi/Ethernet Serial gateway, since an Arduino board can carry up to 14 smart expansion boards, and by combining with a PHPoC shield, it can support up to 4 TCP connections simultaneously.

In my project, Arduino board with PHPoC shield works as a TCP client. That means, it can connect to a TCP server via Ethernet network. Well, TBH, you can just call my project 'TCP to Serial converter' as well.

Arduino code does the straightforward work: read the incoming data from serial, then forward it to TCP server, as well as read incoming data from TCP server and send it to serial.

You can take a look at the screenshot below for the demonstration:


Learn more about Arduino for Beginners


Arduino source code


  • 5 projects

Published on

April 30, 2019

Wifi To Serial Converter

Write a comment

Members who respect this project

and 6 others

See similar projects
you might like

Table of contents

Write a comment