the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
icon

DIY Car Dashcam w/ Raspberry Pi on off switch


Post ReplyPost New Topic
< Prev Topic Next Topic >
frank121 
Member - Posts: 2
Member spacespace
Joined: December 20, 2017
Posted: December 20, 2017 at 2:58 PM / IP Logged Link to Post Post Reply Quote frank121
I am planning on building a dashcam with a raspberry pi. The plan is to have the RPi connected to a battery or fuse connection for constant power and to use the ignition line as an input for a relay to toggle the unit on and off. This is so the card does not become corrupted from improper shutdown.
The RPi has 2 pins when shorted allow this to happen. I have found a tutorial on coding and it states to use a momentary switch to short the pins. Short the pins on, short the pins off.
What I would like to do is make a relay to short the pins momentarily when the ignition is on, and short them again when the ignition is turned off. I was looking at the wiring diagrams on this site and found momentary action, but am I able to do this when input is applied and disconnected?
Any help is greatly appreciated!
frank121 
Member - Posts: 2
Member spacespace
Joined: December 20, 2017
Posted: December 20, 2017 at 6:53 PM / IP Logged Link to Post Post Reply Quote frank121
Additionally I have reviewed the following pages:
Momentary Positive Output when Positive Switch Turned Off
Constant to Momentary Output - Positive Input/Positive Output
But I still cannot figure out a way to get the action of both, if it is even possible.

If you wish to post a reply to this topic, you must first login.
If you are not already registered, you must first register.

  Printable version Printable version Post ReplyPost New Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

  •  
Search the12volt.com
Follow the12volt.com Follow the12volt.com on Facebook
Friday, March 29, 2024 • Copyright © 1999-2024 the12volt.com, All Rights Reserved Privacy Policy & Use of Cookies
Disclaimer: *All information on this site ( the12volt.com ) is provided "as is" without any warranty of any kind, either expressed or implied, including but not limited to fitness for a particular use. Any user assumes the entire risk as to the accuracy and use of this information. Please verify all wire colors and diagrams before applying any information.

Secured by Sectigo
the12volt.com spacer
the12volt.com spacer
the12volt.com spacer
Support the12volt.com
Top
the12volt.com spacer
the12volt.com spacer