Code Monkey home page Code Monkey logo

Comments (4)

DustinWatts avatar DustinWatts commented on July 24, 2024

Hi HaViGit!

I think you mean TouchDown, but that's ok I understand ;) Could you try it with the example from the FT6236 library called: simple_touch.ino? That is the most basic touch sketch/test there is.

Also have a look at the output of the serial monitor to see if any errors, show up. If you test it with the example I pointed you to above, also please post the output between the serial monitor (pay attention! That script still outputs serial data on 9600 so you might need to change it. This will be fixed in the new release)?

If you put the output of the serial monitor between thee back ticks (```) before the first line and the last line it will make it better readable, like this:

X Coordinate: 24
Y Coordinate: 267
X Coordinate: 24
Y Coordinate: 271
etc... 
etc... 
etc...

You could also check if the little 6 pin FPC connector still makes a good connection to the smaller FPC board, this is used for touch and might have some loose.

from esp32-touchdown.

HaViGit avatar HaViGit commented on July 24, 2024

Thanks for your quick response. You are probably right with the correct name, I must have been mistaken. For me it's just a very nicely designed piece of hardware that I'm happy with ;-)

The sketch simple_touch.ino works and shows the coordinates in the serial monitor. So far so good... The sketch ESP32_TouchDown_Drawing.ino shows the text "Start touching to start drawing." on the display but there is no response to touch, neither on the display nor in the serial monitor. Same with ESP32_TouchDown_Keyboard.ino, the keyboard is shown but no output on the screen or in the serial monitor.

I've checked the connector, it seems fine but otherwise simple_touch.ino might not have worked either I think. Hopefully you have some suggestions.

from esp32-touchdown.

HaViGit avatar HaViGit commented on July 24, 2024

Not sure if this is important but below the content of my current User_Setup.h file:

// ILI9488 using 4-wire SPI and using an FT6206 touch controller

#define USER_SETUP_ID 204

#define ILI9488_DRIVER

#define TFT_BL   32
#define TFT_BACKLIGHT_ON HIGH

#define TFT_MISO 19
#define TFT_MOSI 23
#define TFT_SCLK 18
#define TFT_CS   15
#define TFT_DC    2
#define TFT_RST   4

#define TOUCH_CS 21

#define LOAD_GLCD
#define LOAD_FONT2
#define LOAD_FONT4
#define LOAD_FONT6
#define LOAD_FONT7
#define LOAD_FONT8
#define LOAD_GFXFF

#define SMOOTH_FONT

#define SPI_FREQUENCY  27000000
#define SPI_READ_FREQUENCY  20000000
#define SPI_TOUCH_FREQUENCY  2500000

from esp32-touchdown.

DustinWatts avatar DustinWatts commented on July 24, 2024

Thanks for your quick response. You are probably right with the correct name, I must have been mistaken. For me it's just a very nicely designed piece of hardware that I'm happy with ;-)

The sketch simple_touch.ino works and shows the coordinates in the serial monitor. So far so good... The sketch ESP32_TouchDown_Drawing.ino shows the text "Start touching to start drawing." on the display but there is no response to touch, neither on the display nor in the serial monitor. Same with ESP32_TouchDown_Keyboard.ino, the keyboard is shown but no output on the screen or in the serial monitor.

I've checked the connector, it seems fine but otherwise simple_touch.ino might not have worked either I think. Hopefully you have some suggestions.

Since the example from the FT6236 library works, maybe some of my sketches broke. I will have to check the sketches and see if they work on my end.

BTW, the User_setup.h has nothing to do with the touch functions of the capacitive touch used on the ESP32 TouchDown. But it is good to post as much information as you can 😉

from esp32-touchdown.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.