- This topic has 4 replies, 2 voices, and was last updated 2 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
Hi Leonardo,
GPIO15 is the standard CS, and it’s used for SD, so you must change it.
Bye Renzo
More
3D Printer 3D printer upgrade ABB Arduino Arduino IDE Arduino SAMD boards Aurora AWS CNC Cyclone PCB Factory Cyclone PCB Factory how to build It Display DynamoDB E32 E70 EByte esp01 esp32 esp8266 File System Firmware i2c Library LoRa MicroPython Milling PCB My PCB Networking PCB pinout Power saving Raspberry Pi REST API RF rp2040 SD Card Sensors Sleep and Wake UP SPI STM32 Temperature Tutorial Web Server Wemos D1 mini WiFi