I am currently trying to trigger a MAPIR Survey3 NDVI Camera with a PWM Signal. The camera is connected via this HDMI trigger cable. For the camera to trigger I need a 2 ms PWM signal. I have given this PWM signal to the camera via a push button.
I have tried this python script:
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(4, GPIO.OUT)
p = GPIO.PWM(4, 350)
p.start(66)
Camera should click picture whenever PWM signal is recieved. The problem is that when I press the button, sometimes the picture gets clicked (means it get triggered) and sometimes not (not trigger occurs?y this problem occurs ?
Please update your question.
and also about the physical connection. I have no idea what the 'HDMI PM trigger cable' is and to me it sounds as if you're not connecting to GPIO4 at all. And again: edit your question with any mods and updates.