Dear Rui, dear Sara, your program for the ESP32-CAM with Telegram; sending photos, control of outputs, reading sensors etc. works perfect (as all your programs), but I would like to replace the ESP32-CAM with the TTGO T-Journal cam.
When I compare the instructions for the ESP32-CAM and the TTGO T-Journal, there are however so many differences that I don’t see any possibilities to reprogram the “ESP32-CAM with Telegram” program that you made so that I can replace the ESP32-Cam camera with the TTGo T-journal cam.
Could you please give a hint of which part of the program to replace? Thanks very much in advance,
First, to better understand the differences between the ESP32-CAM and the TTGO T-JOurnal, I recommend taking a look at the following article, if you haven’t already:
You need to understand the following:
- the pin definition for the TTGO-T-JOurnal is different. So you must declare the correct pins to make the camera work. which are the following:
#define PWDN_GPIO_NUM 32
#define RESET_GPIO_NUM -1
#define XCLK_GPIO_NUM 27
#define SIOD_GPIO_NUM 25
#define SIOC_GPIO_NUM 23
#define Y9_GPIO_NUM 19
#define Y8_GPIO_NUM 36
#define Y7_GPIO_NUM 18
#define Y6_GPIO_NUM 39
#define Y5_GPIO_NUM 5
#define Y4_GPIO_NUM 34
#define Y3_GPIO_NUM 35
#define Y2_GPIO_NUM 17
#define VSYNC_GPIO_NUM 22
#define HREF_GPIO_NUM 26
#define PCLK_GPIO_NUM 21
- It has a smaller number of accessible pins. You can see the TTGO T-Journal pinout here. Notice that you can only control GPIOs 14, 13, 4, and 2.
- So, you need to choose from those available pins which ones you want to control, and which ones you’ll use for sensors.
I hope this helps.
If you point out the specific project you want to build, I can probably help you better.
Dear Sara, thanks for your quick reaction.
I’ll start from here and see how far I get.