Skip to content

costa-victor/esp32-gpio_control_by_sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 GPIO control with sockets

This application allows you to control your ESP32 GPIO state through sockets using a menu on the terminal.

Requirements

For this application i'm using:

  • ESP32 DevKit v1
  • 3 LED's with 330 Ohm resistors
  • ESP-IDF
$ idf.py --version
ESP-IDF v4.2-dirty

How to use

Run the ESP32 application to get an IP address:

I (11581) WiFi Conection: - IPv4 address: 192.168.1.104

In folder client at tcp_client.c, add the IP address here

server.sin_addr.s_addr = inet_addr("YOUR-ESP-IP-ADDRESS");

So, just run tcp_client.c and have fun :)

Demonstration

Client side / Server side img1

Running app

gif1

Before send commands / After send commands

drawing drawing

About

Control your ESP32 GPIO state through sockets using ESP-IDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published