Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.3v gpio trigger #229

Open
lemon2007lemon opened this issue Aug 23, 2024 · 5 comments
Open

3.3v gpio trigger #229

lemon2007lemon opened this issue Aug 23, 2024 · 5 comments

Comments

@lemon2007lemon
Copy link

hello all,

so complete noob here, i downloaded one of the prebuilt images and have set it up to suit my needs apart from one thing.

i can get the application to accept commands from the gpio when shorted to GND but have found that the sensors i will be using to trigger actually output 3.3v so is there a setting or could an option be implemented to trigger on pins when 3.3v is supplied?

i have messed with a few options but video_looper seems to always turn the pins high again.

again im a noob and this is my first try on the pi platform

thanks everyone

@tofuSCHNITZEL
Copy link
Collaborator

It is no problem to change it in the python code that sets up and handles the gpio.
The gist is:
Ssh into your install, clone the repo, edit the video_lopper.py, run the install script.
But I can see that an ini option for this would also be a good addition.

@lemon2007lemon
Copy link
Author

thank you so much for your reply

ah well that would be fantastic, as i say im completely new to this, could you please me an idea what to change in video_looper.py to achieve the needed result.

massive thanks!

@tofuSCHNITZEL
Copy link
Collaborator

I have implemented an ini setting in the next branch
https://github.com/adafruit/pi_video_looper/tree/next

you can clone the next branch to your pi and run the install - would be great if you can test if it works and then I will release it on the main branch

@lemon2007lemon
Copy link
Author

oh wow thats great thank you.

tested and working fine, i do however have a problem with bogus triggers, tried pull up and down combinations but still having a floater issue lol

thank you so much!

@tofuSCHNITZEL
Copy link
Collaborator

Hm what exactly are you connecting to the gpios? Do they have a common ground?

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

No branches or pull requests

2 participants