Skip to content

Commit

Permalink
Update readme with better pinout config
Browse files Browse the repository at this point in the history
  • Loading branch information
kjkoning committed Mar 29, 2021
1 parent 8ec9c29 commit 8b9e361
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,25 @@ Currently a work in progress.
Built using VS Code with Platform.IO.

#### Currently supported hardware
- ESP32 dev board
- Olimex ESP32-PoE, or other ESP32 dev board
- ILI9341 compatible 320x240 TFT touchscreen

#### Basic setup instructions
1. Wire the TFT touchscreen to the ESP32. Default pin selection below, but can be changed in libdeps/esp32dev/TFT_eSPI/User_Setup.h
###### For a standard ESP32 dev board, use these settings in User_Setup.h:
- TFT_MISO 19
- TFT_MOSI 23
- TFT_SCLK 18
- TFT_CS 15
- TFT_DC 2
- TFT_RST 4
- TOUCH_CS 21

![alt text](https://github.com/kjk2010/AmpliPi-Touchscreen-Keypad/blob/main/docs/ESP32-to-TFT-pin-assignment.jpg?raw=true)
1. Wire the TFT touchscreen to the ESP32.
2. Clone this Github project
3. Edit the default pin selection in libdeps/esp32dev/TFT_eSPI/User_Setup.h

###### For an Olimex ESP32-POE board, use these settings in User_Setup.h:
###### For an Olimex ESP32-PoE board, use these settings in User_Setup.h:
- TFT_MISO 16
- TFT_MOSI 36
- TFT_MOSI 5
- TFT_SCLK 14
- TFT_CS 15
- TFT_DC 2
- TFT_RST 4
- TOUCH_CS 13

2. Clone this Github project
3. Configure Wifi settings and AmpliPi host IP in src/Keypad-Touchscreen.cpp
![alt text](https://github.com/kjk2010/AmpliPi-Touchscreen-Keypad/blob/main/docs/ESP32-to-TFT-pin-assignment.jpg?raw=true)

4. Upload to ESP32
5. Upload Filesystem Image to ESP32 (this uploads files in the data folder to the ESP32's file system)

Expand Down
Binary file modified docs/ESP32-to-TFT-pin-assignment.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8b9e361

Please sign in to comment.