Page 1 of 1

Restart camera from raspberry pi zero

Posted: Wed Jun 13, 2018 12:40 pm
by Tica2
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

Re: Restart camera from raspberry pi zero

Posted: Wed Jun 13, 2018 12:55 pm
by kwagyeman
Hi, in OpenMV IDE see Tools -> Reset OpenMV Cam.

Re: Restart camera from raspberry pi zero

Posted: Wed Jun 13, 2018 1:02 pm
by Tica2
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,

Re: Restart camera from raspberry pi zero

Posted: Wed Jun 13, 2018 1:08 pm
by kwagyeman

Re: Restart camera from raspberry pi zero

Posted: Wed Jun 13, 2018 1:33 pm
by Tica2
Thanks Nyamekye,
is working perfect!

Petrica Chiriac