• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Setup larger CYD boards

Q&A Forum › Setup larger CYD boards
0 Vote Up Vote Down
jesper.bartholdy asked 7 months ago

I have been following the course on the CYD board ESP32 2432S028 (resistive board), this has worked really fine and I have made a nice  UI. Since the board was a bit small for my purpose, I recently bought a larger CYD board, ESP32S3 4827S043 (resistive board), but I have not been able to make this board work. I have tried to adapt the code for the 2.8 board, but it shows only white screen and the touch is not working. Any suggestions on what I need to change?

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 7 months ago

Hi.
What changes have you made until now?
Regards,
Sara

0 Vote Up Vote Down
jesper.bartholdy answered 7 months ago

The only modifications I have made are changing the dimensions of the board in the code to match my 4.3-inch board. I have tested both the calibration sketch and the “hello world” sketch; neither was able to print on the screen and get input from the touch screen.
I have been able to make the board work with a code based on the “XPT2046_Touchscreen” and “SPI” 
like this:

#include <XPT2046_Touchscreen.h>
#include <SPI.h>

// Define pin connections
#define T_CS 10   // Chip Select for touch screen
#define T_IRQ -1  // Optional, can be set to a GPIO if using an interrupt for touch detection

// Set up the XPT2046 touch screen with CS pin
XPT2046_Touchscreen ts(T_CS, T_IRQ);

 
 

0 Vote Up Vote Down
Sara Santos Staff answered 7 months ago

You also probably need to set the board dimensions on the User_setup file and check if the pinout on the User_setup file matches the one of your board.
 
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.