Skip to content

Commit dd76363

Browse files
authored
Merge pull request #6 from easytarget/psram
Add pins definition for M5STACK_NO_PSRAM;
2 parents 0112f2f + f93c7a2 commit dd76363

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

camera_pins.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,26 @@
102102
//#define LED_OFF LOW //
103103
//#define LAMP_PIN x // LED FloodLamp.
104104

105+
// Common M5 Stack without PSRAM
106+
#elif defined(CAMERA_MODEL_M5STACK_NO_PSRAM)
107+
#define PWDN_GPIO_NUM -1
108+
#define RESET_GPIO_NUM 15
109+
#define XCLK_GPIO_NUM 27
110+
#define SIOD_GPIO_NUM 25
111+
#define SIOC_GPIO_NUM 23
112+
#define Y9_GPIO_NUM 19
113+
#define Y8_GPIO_NUM 36
114+
#define Y7_GPIO_NUM 18
115+
#define Y6_GPIO_NUM 39
116+
#define Y5_GPIO_NUM 5
117+
#define Y4_GPIO_NUM 34
118+
#define Y3_GPIO_NUM 35
119+
#define Y2_GPIO_NUM 17
120+
#define VSYNC_GPIO_NUM 22
121+
#define HREF_GPIO_NUM 26
122+
#define PCLK_GPIO_NUM 21
123+
// Note NO PSRAM,; so maximum working resolution is XGA 1024×768
124+
105125

106126
// AI Thinker
107127
// https://github.com/SeeedDocument/forum_doc/raw/master/reg/ESP32_CAM_V1.6.pdf

esp32-cam-webserver.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
//#define CAMERA_MODEL_ESP_EYE
2626
//#define CAMERA_MODEL_M5STACK_PSRAM
2727
//#define CAMERA_MODEL_M5STACK_WIDE
28+
//#define CAMERA_MODEL_M5STACK_NO_PSRAM
2829
#define CAMERA_MODEL_AI_THINKER
2930

3031
// Select camera module used on the board

0 commit comments

Comments
 (0)