r/CheapYellowDisplay • u/deva_nagari • 14d ago
CYD and Camera module?
Sorry I'm a beginner: I've seen someone using a thermal cam with the CYD and I know that there are the ESP32-Cam combinations.
Are there camera modules I can (simply) connect to the CYD? It's okay if the cam are crappy or have low framerate. I know there are those flat-wire O2640 cameras and there are USB Modules on amazon. I don't really see how I could connect the flat wire to CYD, but would the USB modules work? For example this one is listed as "compatible for ESP32-S3" https://amzn.eu/d/03SpopHi
Sorry, for asking stupid Questions, but would this camera module only work with usb or can I use one of the other 4 pin connector ports? I see "SPI" and "UART" on the board images here https://amzn.eu/d/0d6kUeFC
I'm just trying to figure out what to buy...
4
u/EmbeddedNerd_com 14d ago
You're not asking stupid questions at all! 🙂
The important thing here is that the classic CYD (ESP32-2432S028) is not the same as an ESP32-S3 board.
A few things to keep in mind:
If your goal is simply to experiment with a camera and a CYD, I'd first look at an external ESP32-CAM or ESP32-S3 camera board and communicate with the CYD over Wi-Fi.
I also have a guide covering the CYD hardware, pinout and capabilities that might help: https://embeddednerd.com/cheap-yellow-display-cyd-esp32-guide/
One important detail: which exact CYD version do you have? There are several hardware revisions, and that can make a difference.
2
u/rattushackus 14d ago
The problem is that the CYD boards have very few GPIO pins available. It's relatively easy to connect I2C peripherals but SPI is hard unless you are willing to take a soldering iron to the board to modify it.
The thermal camera you saw was probably an MLX90640 that uses I2C. However this is a very low resolution and I2C is too slow for high resolution cameras. If you want a reasonable quality image a CYD probably isn't a great choice. You would be better off with an S3 cam board and a separate display board.
1
u/deva_nagari 14d ago
For context, I want to build a beginner's Cyberdeck with my daughter and the CYD does the heavy lifting on the hardware side out of the box :) My idea was to make a little note/drawing device and it would be incredible if we can also snap low-fi photos and draw on them.