Hello, I want to create my own car alarm from scratch. I know a D-Latch memory circuit using a SN7404 and a DM7400. However, there is a problem.. How can I reduce the voltage and current to not fry my D-latch circuit, or any other sensitive components I may use? I was thinking of using LM 317 as a voltage regulator and a current regulator. I did some research on my battery it is a 12V with a capacity of 78Ah. Im not sure if the 317 can even handle the current of the battery. Can anybody give me some tips?