Restart camera from raspberry pi zero

Discussion related to "under the hood" OpenMV topics.
Tica2
Posts: 3
Joined: Wed Jun 13, 2018 12:33 pm

Restart camera from raspberry pi zero

Postby Tica2 » Wed Jun 13, 2018 12:40 pm

Hi,
I have connected OpenMV camera to Raspberry pi zero over USB cable.
Serial is working fine, also I can edit and update main.py
Now if I disconnect and connect USB cable OpenMV camera start to run new main.py program.
But I want to do that from Raspberry pi without disconnect and connect USB cable.

Thanks,
Petrica Chiriac
User avatar
kwagyeman
Posts: 2283
Joined: Sun May 24, 2015 2:10 pm

Re: Restart camera from raspberry pi zero

Postby kwagyeman » Wed Jun 13, 2018 12:55 pm

Hi, in OpenMV IDE see Tools -> Reset OpenMV Cam.
Nyamekye,
Tica2
Posts: 3
Joined: Wed Jun 13, 2018 12:33 pm

Re: Restart camera from raspberry pi zero

Postby Tica2 » Wed Jun 13, 2018 1:02 pm

ohh no UI for raspberry pi zero, I have only ssh access on pi. pi is on robot power by batteries.
I need a programmatic way to reset ...

Thanks,
User avatar
kwagyeman
Posts: 2283
Joined: Sun May 24, 2015 2:10 pm

Re: Restart camera from raspberry pi zero

Postby kwagyeman » Wed Jun 13, 2018 1:08 pm

Nyamekye,
Tica2
Posts: 3
Joined: Wed Jun 13, 2018 12:33 pm

Re: Restart camera from raspberry pi zero

Postby Tica2 » Wed Jun 13, 2018 1:33 pm

Thanks Nyamekye,
is working perfect!

Petrica Chiriac

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests