Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-CAM and HX8357D Driver - No go? #3531

Open
perigalacticon opened this issue Oct 28, 2024 · 0 comments
Open

ESP32-CAM and HX8357D Driver - No go? #3531

perigalacticon opened this issue Oct 28, 2024 · 0 comments

Comments

@perigalacticon
Copy link

perigalacticon commented Oct 28, 2024

  1. Connect ESP32-CAM to the Adafruit 3.5" TFT display with HXD8357D using ESP32-CAM std SPI pins. Try using the provided user setup for HXD8357D (Setup15_HX8357D.h). However, in this setup, the SPI pins are not defined. I tried adding in the definitions for MOSI - 13, MISO - 12, SCK - 14. I copied the file to User_Setup.h in the library folder. No matter what I try to display in the sketch including several library examples, nothing is displayed except a white screen, there are no errors and I confirmed that the sketch loop is running. I have used Adafruit GFX libraries to test the display it and they run fine, using the same pins as when trying to use the TFT_eSPI library.

  2. Arduino version: v1.1.19

  3. TFT_eSPI library version: 2.5.43 (latest).

  4. Board package version: various, v3.0.5 (latest) has many compilation errors, see attached file, v2.0.0 has none.

  5. Proccesor: AI Thinker ESP32-CAM.

  6. TFT driver: HXD8357D - https://www.adafruit.com/product/2050

  7. Interface type: SPI.

Plus further information as appropriate to the problem:

  1. TFT to processor connections: MISO - 12, MOSI - 13, SCK - 14, CS - 15, D/C - 2, RST - n/c, Lite - n/c. Tried 3.3v and 5v power.
  2. A zip file containing your setup file (just drag and drop in message window - do not paste in long files!)
  3. A zip file containing a simple and complete example sketch: Can use any TFT_eSPI provided example sketch.
  4. Screen shot pictures: nothing is shown, just a white screen on the LCD display always.

The latest library and boards manager does not want to compile for the ESP32-CAM. For a ILI9341 tft display I also got compilation errors with the current esp32 boards version, but no errors if running previous esp32 boards version 2.0.0. I want to use this display to display the output of the OV2640 camera on Halloween!

TFT_eSPI.zip

@perigalacticon perigalacticon changed the title ESP32-CAM and HXD8357D Driver - No go? ESP32-CAM and HX8357D Driver - No go? Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant