Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Two VisionBonnets on RPi #348

Closed
kodukulav opened this issue May 1, 2018 · 6 comments
Closed

Two VisionBonnets on RPi #348

kodukulav opened this issue May 1, 2018 · 6 comments
Labels

Comments

@kodukulav
Copy link

Hi @dmitriykovalev @weiranzhao ,

For my project, I'd like to interface two vision bonnets to RPi. I studied the existing interface and it seems the Pi communicates with Bonnet using SPI protocol. Going a bit deeper, Pi has one dedicated SPI interface and two chip select signals. So, technically, we can connect two SPI devices to the Pi and arbitrate the data transfer between the devices. I'm building a physical system with the aforementioned configuration.

My question is: Is there an API on the software side to arbitrate between the devices?

Thanks,
Venky

@lleonid
Copy link

lleonid commented May 1, 2018 via email

@kodukulav
Copy link
Author

Hi @lleonid

Thanks for your response.

(1) Is the current kernel driver open sourced? How hard is it to modify the current kernel driver to support multiple Vision Bonnets?

(2) Would it be possible to share the details of GPIO pins that are used for communication between Pi and Vision Bonnet?

(3) For my project, I want to run distributed inference of a neural network between two VisionBonnets. Ideally, I'd like to have a single operating system/host to control the Vision Bonnets. I wonder if this can be possible if I connect two Pis using a ethernet cable.

Thanks,
Venky

@lleonid
Copy link

lleonid commented May 2, 2018 via email

@kodukulav
Copy link
Author

Hi @lleonid ,

Thanks for your answers.

(3) I realized that there are very limited interfaces (Bluetooth and WiFi) on RPi Zero W to connect to another RPi Zero W. Can you give me some pointers on how to get started?

Thanks,
Venky

@dmitriykovalev
Copy link
Contributor

Pi Zero has Ethernet-other-USB capability. One option is to connect one Pi Zero into another one using USB cable (and USB OTG adapter). Another option is to connect both of them into network switch/hub. There are other options, everything probably depends on your use case.

@kodukulav
Copy link
Author

Thanks for the pointers. Another option is stack the VisionBonnets on Pi3 boards and connect the Pi3 boards using a ethernet cable. I'm closing this issue for now. One can always re-open this if they want.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants