From dfc4316d0a6ce0aee4be5d803fb8ed196a90b868 Mon Sep 17 00:00:00 2001 From: Alan <60433566+alanesq@users.noreply.github.com> Date: Tue, 29 Dec 2020 08:41:21 +0000 Subject: [PATCH] Update README.md --- README.md | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0eed75f..d924ba6 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,20 @@ http://x.x.x.x/img Show most recent image saved to sd card http://x.x.x.x/img?img=1 Show image number 1 on sd card http://x.x.x.x/rgb Captures an image and converts to RGB data (will not work with the highest resolution images as there is not enough memory) + + +GPIO PINS: +The main io pins available for general use are 13 and 12 (12 must not be high at boot) +14, 2 & 15 should also be available if you are not using the SD Card +You can use 1 and 3 if you do not use Serial +More info: https://randomnerdtutorials.com/esp32-cam-ai-thinker-pinout/ +BTW-You can use an MCP23017 io expander chip on pins 12 and 13 to give you 16 general purpose gpio pins +Note: If using an sd card you this will normally stop you using pins 12, 13 and the led on 4 +but if you put it in to 1-bit mode it allows you to carry on using these pins +The command to use 1-bit mode in the Arduino IDE is: SD_MMC.begin("/sdcard", true) +see an example of its use here: https://github.com/alanesq/esp32cam-demo +pin 16 is used for psram but you may get away with using it as input for a button etc.? + ---------------- @@ -73,16 +87,6 @@ https://github.com/alanesq/CameraWifiMotion I have heard reports of these modules getting very warm when in use although I have not experienced this myself, I suspect it may be when streaming video for long periods? May be worth bearing in mind. -GPIO PINS: -Main io pins available for general use are 13 and 12 (12 must not be high at boot) -14, 2 & 15 should also be available if you are not using the SD Card -You can use 1 and 3 if you do not use Serial -More info: https://randomnerdtutorials.com/esp32-cam-ai-thinker-pinout/ -BTW-You can use an MCP23017 io expander chip on pins 12 and 13 to give you 16 general purpose gpio pins -Note: If using an sd card you this will normally stop you using pins 12, 13 and the led on 4 -but if you put it in to 1-bit mode it allows you to carry on using these pins -The command to use 1-bit mode in the Arduino IDE is: SD_MMC.begin("/sdcard", true) -see an example of its use here: https://github.com/alanesq/esp32cam-demo -pin 16 is used for psram but you may get away with using it as input for a button etc.? + https://github.com/alanesq/esp32cam-demo