Question: How do I trigger a photo on a Raspberry Pi camera using a button?

warren is asking a question about raspberry-pi: Subscribe to answer questions on this topic

warren asked on December 15, 2017 17:07
457 | 1 answers | shortlink

Using the #raspberry-pi as a camera (#pi-camera) is cheap, lightweight, and easy to connect to projects like #infragram, the #lego-spectrometer, #timelapse, and others. But is there an easy way to connect a button and just use it as a point and shoot camera? I think there must be, using the "GPIO pins" -- any quick and easy guides to do this?

We could integrate this into the preflashed firmware being developed for the #basic-microscope project!

raspberry-pi infragram timelapse answered pi-camera raspberry-pi-infragram raspberry-pi-spectrometer basic-microscope lego-spectrometer

question:raspberry-pi question:pi-camera question:raspberry-pi-infragram question:raspberry-pi-spectrometer question:lego-spectrometer question:lego-spectrometer-challenge


Log in to comment

1 Answers

Here’s a basic guide to adding a tactile button to the GPIO pins:

For a neater package, i’d be tempted to try something like this:

I’m going to be tinkering with coding something like this myself so will report back.

Sign up or Login to post an answer to this question.