Skip to content

TTGO T-Controller ESP Arduino Framework code, using PlatformIO.

License

Notifications You must be signed in to change notification settings

marf41/Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Controller

Status - WIP: ESP-NOW transmitter for range testing

TTGO T-Controller ESP Arduino Framework code, using PlatformIO.

image

More details on the module.

Libraries:

Building and flashing

Clone repository and enter directory:

git clone https://github.com/marf41/Controller
cd Controller

Set your Wi-Fi SSID and password - create file include/wifi.hpp with:

const char* wifissid = "YOUR_SSID_HERE";
const char* wifipass = "YOUR_PASSWORD_HERE";

WARNING: This file is in .gitignore, so it will NOT be commited to git.

Adjust COM port in platformio.ini (COMx in Windows, /dev/ttyXXX in Linux):

[env:serial]
upload_port = COM3
upload_speed = 115200

Plug microUSB cable into the board, and flash it:

platformio run -t upload -e serial

After upload and reboot, it should connect to WiFi and display assigned IP on OLED.

On subsequent uploads, You can set its IP in platformio.ini:

[env:ota]
upload_protocol = espota
upload_port = 192.168.0.15

And upload wirelessly using:

platformio run -t upload -e ota

About

TTGO T-Controller ESP Arduino Framework code, using PlatformIO.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published