kopia lustrzana https://github.com/alanesq/esp32cam-demo
Update README.md
rodzic
f5e55e61b2
commit
3b36e7078b
21
README.md
21
README.md
|
@ -95,19 +95,20 @@ as data (http://x.x.x.x/rgb).
|
|||
resolution images as there is not enough memory)
|
||||
|
||||
GPIO PINS:
|
||||
<br>The available pins are very limited on the esp32cam, my best understanding is:
|
||||
<br>If using the sd card (must be in 1-bit mode) the main io pins available for general use are 13 and 12
|
||||
<br>(12 must not be high at boot), 14, 2 & 15 should also be available if you are not using the SD Card.
|
||||
<br>You can also use pins 1 and 3 if you do not use Serial.
|
||||
<br>Pin 4 is the onboard flash LED which you could possibly remove and use this pin for i/o but again sd card
|
||||
<br>needs to be in 1-bit mode if you are using it otherwise the sd-card uses pin 4. pin 33 is another onboard
|
||||
<br>led which could possibly be used?
|
||||
<br>More info: https://randomnerdtutorials.com/esp32-cam-ai-thinker-pinout/
|
||||
|
||||
<br> 13 free (used by sd card but free if using 1 bit mode)
|
||||
<br> 12 free (must be low at boot, used by sd card but free if using 1 bit mode)
|
||||
<br> 14 used by sd card (useable is SPI clock?)
|
||||
<br> 2 used by sd card (useabke as SPI MISO?)
|
||||
<br> 15 used by sd card (might be usable as SPI CS??)
|
||||
<br> 1 serial - output only?
|
||||
<br> 3 serial - input only?
|
||||
<br> 4 has the illumination/flash led on it - led could be removed and use as output?
|
||||
<br> 33 onboard led - possibly remove led and use as gpio?
|
||||
<br>Some great info here: https://github.com/raphaelbs/esp32-cam-ai-thinker/blob/master/docs/esp32cam-pin-notes.md
|
||||
<br>BTW-You can use an MCP23017 io expander chip on pins 12 and 13 to give you 16 general purpose gpio pins, this requires the adafruit MCP23017 library to be installed.
|
||||
<br>Pin 16 is used for psram but you may get away with using it as input for a button etc.?
|
||||
<br>Note: I have been told there may be issues reading files when sd-card is in 1-bit mode, I have only used it for writing them myself.
|
||||
|
||||
Some great info here: https://github.com/raphaelbs/esp32-cam-ai-thinker/blob/master/docs/esp32cam-pin-notes.md
|
||||
|
||||
----------------
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue