Skip to content

hardcodedjoy/esp32-tcp-server-demo

Repository files navigation

ESP32 TCP Server Demo

Control your ESP32 board directly from your Android phone using the RoboRemo app.

Overview

This project demonstrates bi-directional, real-time communication between an ESP32 and a mobile device. The ESP32 acts as both a WiFi Access Point and a TCP Server, allowing for low-latency control without needing an external router.

Features

  • Connectivity: Uses WiFi (TCP Server mode).
  • No Internet Required: ESP32 creates its own WiFi Access Point (AP).
  • Real-time Control: Bi-directional data flow for sensors and actuators.
  • Versatile: Can be extended for IoT devices, robotics, and remote monitoring.

How It Works

  1. ESP32 Setup: The board creates a WiFi Access Point and initializes a TCP Server.
  2. Phone Connection: Connect your Android phone to the WiFi network created by the ESP32.
  3. RoboRemo Configuration: Set RoboRemo to connect as a TCP Client to the ESP32's IP address.
  4. Communication: Send and receive commands in real-time.

Supported Protocols

While this demo focuses on TCP Server via WiFi, RoboRemo also supports:

  • Bluetooth (RFCOMM / BLE)
  • WiFi (UDP / TCP Client / TCP Server)
  • USB Serial

New to TCP?

Read What is TCP

Releases

No releases published

Packages

 
 
 

Languages