On 08/06/18 20:22, druck wrote:
> On 08/06/2018 16:09, RobH wrote:
>> I have put together a motion sensor with a camera on a PiZero. I got
>> it working fine for a the first few days, then it just stopped
>> working. I then ordered a new motion sensor, but the problem still
>> remains.
>>
>> I ran this raspstill -k to check the sensor and camera were working,
>> but they are not, and told to check the camera cable.
>
> Check one thing at a time. Do a raspistill without the -k to check if
> the camera is working, then check if the sensor. You may want to give
> some sort of information on how the sensor is set up, I assume from the
> -k that it generating a key press?
>
> ---druck
Thanks for the reply and I did raspistill on it's own and that returned
numerous options. I tried raspistill -s, but got the same error message
about check all connections.
If it means anything, the camera red led is lit, which I assume the
camera is working. How can I check the sensor?
I have checked the gpio pins and they are reading what they should, ie
5v between live and ground, and 0v between motion pin and the 5v pin.
The sensor is set up by Vcc to pin 2, 5v pin on the PiZero, then the
ground from the sensor is connected to Pin 6 , while the motion sensor
pin is connected to BCM Pin 4 or pin 7 on the PiZero.
Thanks
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|