Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published