Using SPI with AI thinker ESP-32-cam
Posted: Mon Apr 29, 2019 7:34 am
Does anyone know how to use SPI with ESP-32 cam? I'm currently integrating an RFID reader with the esp-32 cam.
I have a PIN diagram here:
https://www.seeedstudio.site/media/cata ... 32cam3.jpg)
but it doesn't have the data for the SPI pins like the one I have for my other devboard here:
https://www.shenzhen2u.com/NodeMCU-32S
I did find a table for the SPI pins from the Espressif docs, but since the VSPI pins aren't in the esp32-cam, I ended up using HSPI, but it doesn't seem to work.
https://docs.espressif.com/projects/esp ... aster.html
I found a schematic diagram, but unfortunately I can't read schematics since I come from a software engineering background:
https://github.com/SeeedDocument/forum_ ... M_V1.6.pdf
However, I did try to read it to the best of my ability, and I think the top right part (P1, P2) correspond to the header pins of the devboard. Incidentally, none of them are SDA, etc. (like shown in the esp32 module standalone of the left).
Does that mean I can't use it if the header pins don't have it and it's being used by the sdcard? The blurb for the devboard says it supports SPI, but I'm not sure how to use the SPI lines if it's not exposed as a header pin.
I have a PIN diagram here:
https://www.seeedstudio.site/media/cata ... 32cam3.jpg)
but it doesn't have the data for the SPI pins like the one I have for my other devboard here:
https://www.shenzhen2u.com/NodeMCU-32S
I did find a table for the SPI pins from the Espressif docs, but since the VSPI pins aren't in the esp32-cam, I ended up using HSPI, but it doesn't seem to work.
https://docs.espressif.com/projects/esp ... aster.html
I found a schematic diagram, but unfortunately I can't read schematics since I come from a software engineering background:
https://github.com/SeeedDocument/forum_ ... M_V1.6.pdf
However, I did try to read it to the best of my ability, and I think the top right part (P1, P2) correspond to the header pins of the devboard. Incidentally, none of them are SDA, etc. (like shown in the esp32 module standalone of the left).
Does that mean I can't use it if the header pins don't have it and it's being used by the sdcard? The blurb for the devboard says it supports SPI, but I'm not sure how to use the SPI lines if it's not exposed as a header pin.