• Stars
    star
    332
  • Rank 126,957 (Top 3 %)
  • Language
  • License
    MIT License
  • Created about 4 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ESP32 TouchDown

ESP32 TouchDown

Where to buy?

Available from:

FreeTouchDeck

Your ESP32 TouchDown comes with FreeTouchDeck pre-installed. Check out this simple start guide: With FreeTouchDeck pre-installed

ESP32 TouchDown

ESP32 TouchDown

While working on FreeTouchDeck, I really wanted to use capacitive touch. Unfortunately, most modules I could find were resistive touch and capacitive touch has a much nicer user experience. While I was designing, it made sense to put the ESP32 on the board itself, removing the need for an ESP32 Dev board. I wanted to take full advantage of the ESP32 wireless capabilities (Wifi, BLE) so I included a battery management circuit. ESP32 TouchDown can run off of a LiPo battery and also charge it. Here is a full list of the features:

  • ESP32-WROOM-32D
  • ILI9488 480*320 TFT screen in 4-wire SPI mode
  • FT62x6 Capacitive Touch Controller
  • APK2112 3.3V regulator (On V1.1 of the board an AP7365 is used, see changelog.txt)
  • MCP73831 battery management IC (On V1.1 of the board a Shouding SD8016 is used, see changelog.txt)
  • CP2102 USB-to-UART bridge
  • USB-C connector
  • microSD card holder
  • Battery voltage divider connected to GPIO35
  • Passive buzzer connected to GPIO26
  • 12 unused GPIO's broken out
  • Stemma / JST-PH I2C connector

ESP32 TouchDown works out of the box (as ESP32 Dev Module) with the Arduino IDE, providing you have installed the ESP32 Arduino Core. If you have not, this is where you can find it: https://github.com/espressif/arduino-esp32.

Documentation:

Documentation can be found in the Wiki.

TFT screen and touch controller

ESP32 TouchDown uses an 480x320 screen with an ILI9488 (datasheet) driver. There are numerous drivers out there, but I found TFT_eSPI by Bodmer the most versatile. https://github.com/Bodmer/TFT_eSPI.

Pins used by the TFT screen are:

  • GPIO2 -> DC_RS
  • GPIO4 -> TFT_RESET
  • GPIO15 -> TFT_CS
  • GPIO18 -> SPI Clock
  • GPIO23 -> SDI (MOSI)

The TFT backlight anode (positive supply) is selectable via a jumper on the back. You can either power it directly from 3.3V or use GPIO32. By default, the positive source is GPIO32. You can this pin and use PWM to control the backlight brightness.

Note: On V1.1 of the board the jumpers used are with bridged pads. So by default have no solder blob. See changelog.txt

TFT Backlight Select

The touch controller is a FocalTech FT62x6 (datasheet). The first batch uses an FT6236 and the second batch of boards has the FT6206. Both have the same I2C address of 0X38. I made an Arduino IDE library available here: https://github.com/DustinWatts/FT6236. This library also supports the FT6202.

Pins used by the FT62x6 are:

  • GPIO21 -> I2C data
  • GPIO22 -> I2C clock
  • GPIO27 -> IRQ

GPIO Breakout

The following GPIO's are broken out on the header:

  • GPIO 12
  • GPIO 13
  • GPIO 14
  • GPIO 16
  • GPIO 17
  • SCK (GPIO 18, used as SPI clock)
  • SDO (GPIO 19, used as SPI MOSI)
  • SDA (GPIO 21, used as I2C data)
  • SCL (GPIO 22, used as I2C clock)
  • SDI (GPIO 23, used as SPI MISO)
  • GPIO 33
  • GPIO 34 (note: INPUT only!)

SD Card

The following pins are used by the SD card holder:

  • GPIO 25 --> CD/DAT3
  • GPIO 23 --> CMD
  • GPIO 18 --> CLK
  • GPIO 19 --> DAT0

CD (card detect) DAT1 and DAT2 are not connected.

Uploading code to the ESP32 TouchDown

For FreeTouchDeck installation instructions see: https://github.com/DustinWatts/FreeTouchDeck/wiki/1.-Installation

For other code: The ESP32 TouchDown uses the same configuration as an ESP32 Dev Module. So you can use those board definitions to upload your own code to the ESP32 TouchDown: Arduino IDE board settings

Open Source

Everything about the ESP32 TouchDown is open source. This means I provide you will all the designs I make. In this repository, you will find the KiCad project, including schematic, and board layout. Also, the complete BOM is available to you. I have included the datasheets of all the hardware used.

License                   OSHW

Support Me

If you like what I am doing, there are a number of ways you can support me.

Platform Link
Twitter You can follow me on Twitter: @dustinwattsnl
YouTube You can subscribe to my channel on Youtube: /dustinWatts
Patreon You can support me by becoming a patron on Patreon: https://www.patreon.com/dustinwatts
PayPal.me You can make a one time donation using PayPal.me: https://www.paypal.me/dustinwattsnl

Help

For quick access to help you can join my Discord server where I have a dedicated #esp32-touchdown channel. https://discord.gg/RE3XevS

More Repositories

1

FreeTouchDeck

For interfacing with Windows/macOS/Linux using an ESP32, a touchscreen and BLE.
C
587
star
2

Bluetooth-System-Monitor

A handy little system information monitor using and ESP32 + ILI9488 TFT. Receives data over Serial Bluetooth.
C
42
star
3

Pico-Matrix-Touch-Keyboard

A touchscreen matrix using an 3.5" ILI9488 TFT with resistive touch and a Raspberry Pi Pico
C++
39
star
4

ESP32_TFT_Combiner

A PCB making it easy to combine an ESP32 and a TFT Touchsceen.
35
star
5

FT6236

Arduino Library for the FocalTech FT6236. Also works with ESP boards.
C++
30
star
6

FreeTouchDeck-Helper

A simple app (Windows, MacOS, Linux) that gives shell access to your FreeTouchDeck.
JavaScript
15
star
7

YouTubeLiveChat

NodeJS app to get chat messages from a live stream on YouTube
JavaScript
10
star
8

ESP32-S3_TFT_Combiner

A PCB making it easy to combine an ESP32-S3 and an ILI9488 TFT + XPT2046 Touchsceen.
C
6
star
9

FocalTech_Touch

Library for the FocalTech touch controllers
C++
3
star
10

active-window-follow

NodeJS app that polls the active window and sends it to your FreeTouchDeck
JavaScript
3
star
11

freetouchdeck-install

Easy installation of FreeTouchDeck for ESP32 TouchDown
Python
2
star
12

YouTube-LiveChatUsers

Lists livechat users by first message instead of by name. Refreshes at a certain interval.
JavaScript
2
star
13

small_logos

Small Logos for personla use
1
star
14

ESP32-TouchDown-S3

ESP32 TouchDown S3, with an ESP32-S3, ILI9448 TFT and capacitive touchscreen (FT62*6 controller)
C
1
star
15

YouTubeAPI_example

An example on how to use the YouTube Live Chat API.
C++
1
star