- This topic has 4 replies, 2 voices, and was last updated 3 years, 8 months ago by .
- You must be logged in to reply to this topic.
Hello, I need to connect an ESP 32 CAM with MB in an EBYTE E19 915 mhz, my goal would be to take pictures and send via lora to a gateway.
If anyone can help me with connecting the wires for communication between the two I would be grateful.
diagrams and objects.
Hi Leonardo,
you can use a custom SPI interface with the relative pin
/*
Default SPI
#define HSPI_MISO 12
#define HSPI_MOSI 13
#define HSPI_SCLK 14
#define HSPI_SS 15
*/
SPIClass * hspi = NULL;
void setup() {
hspi = new SPIClass(HSPI);
// sck, miso, mosi, ss
hspi->begin(HSPI_SCLK, HSPI_MISO, HSPI_MOSI, 16);
}
In the example, I use the same SPI pin but a dedicated CS for activation.
I didn’t test It but I think It’s ok.
As you can see in the pinout on the same SPI pins there is the SD.
Bye Renzo
It is true ?
Hi Leonardo,
GPIO15 is the standard CS, and it’s used for SD, so you must change it.
Bye Renzo
More
