Enthernet Code
DIIDevHeads IoT Integration Server
•Created by Daniel kalu on 8/23/2024 in #edge-networking
Switching Between Two ESP-CAM Boards on a Single TFT Display via SPI
Yes @Daniel kalu , it's possible to share the
SPI
bus between the two ESP-CAM
boards, but you'll need to manage the SPI
bus and the CS
lines carefully. One approach is to use a multiplexer
or an analog
switch to select which camera is connected to the TFT
display at a time. This allows you to keep both cameras connected but only one active on the bus, Another method is to manually control the CS
line, ensuring only one ESP-CAM
is communicating with the TFT
at any given time. This way, you can maintain a high frame rate
and switch between cameras with minimal delay. Implementing a software solution to handle the bus arbitration would be essential for seamless switching.4 replies