Skip to content

A very basic setup for an ESP32 that allows it to be used as a discord bot

License

Notifications You must be signed in to change notification settings

LeHuman/ESP32-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 Discord Bot - WIP

A very basic setup for an ESP32 that allows it to be used as a discord bot

How to Use

Use the VSCode Espressif IDF extension for easier config and programming

Hardware Required

This setup was built around a ESP DEVKITV1 which uses the ESP-WROOM-32

Configure the project

  • Open the project configuration menu (idf.py menuconfig)
  • Configure various Discord bot details under "ESP config"

Build and Flash

Build the project and flash it to the board, then run monitor tool to view serial output:

idf.py -p PORT flash monitor

(To exit the serial monitor, type Ctrl-].)

See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.

Example Output

I (482) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (2492) example_connect: Ethernet Link Up
I (4472) tcpip_adapter: eth ip: 192.168.2.137, mask: 255.255.255.0, gw: 192.168.2.2
I (4472) example_connect: Connected to Ethernet
I (4472) example_connect: IPv4 address: 192.168.2.137
I (4472) example_connect: IPv6 address: fe80:0000:0000:0000:bedd:c2ff:fed4:a92b
I (4482) WEBSOCKET: Connecting to ws://echo.websocket.org...
I (5012) WEBSOCKET: WEBSOCKET_EVENT_CONNECTED
I (5492) WEBSOCKET: Sending hello 0000
I (6052) WEBSOCKET: WEBSOCKET_EVENT_DATA
W (6052) WEBSOCKET: Received=hello 0000

About

A very basic setup for an ESP32 that allows it to be used as a discord bot

Topics

Resources

License

Stars

Watchers

Forks

Languages