You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
2.6 KiB

4 years ago
  1. \documentclass[11pt]{article}
  2. %Gummi|065|=)
  3. \usepackage{graphicx}
  4. \usepackage{caption}
  5. \usepackage{xcolor}
  6. \usepackage[vcentering,dvips]{geometry}
  7. \geometry{papersize={6in,9in},total={4.5in,6.8in}}
  8. \title{\textbf{Door Alarm}}
  9. \author{Steak Electronics}
  10. \date{}
  11. \begin{document}
  12. \maketitle
  13. \tableofcontents
  14. \textcolor{green!60!blue!70}{
  15. \section{Overview}}
  16. Client wants a door alarm. Let's do a few transistors, an audio amplifier board, a magnet and magnetic reed switch, along with a light switch.
  17. Functionality req'd:
  18. \\
  19. \\
  20. Makes noise when door opened.
  21. \\
  22. \\
  23. Able to be shut off with light switch.
  24. \textcolor{green!60!blue!70}{
  25. \section{BOM}}
  26. Any audio amplifier loud enough will work. I'm going to use this one:
  27. \\
  28. \\
  29. IS31AP4088A-QFLS2-EB
  30. \\
  31. \\
  32. I think I have speakers and transistors. I'll need a magnetic reed switch and magnet. They should be black, as the door is black.
  33. \\
  34. \\
  35. MS-324-3-3-0500
  36. \\
  37. \\
  38. let's also try 59140-1-S-03-A,\footnote{A and F ending letters on this, A is tinned, F untinned leads} as first co. doesn't make the matched magnets...
  39. \\
  40. \\
  41. and the magnet,
  42. 57140-000
  43. A speaker, although I have plenty in my junk bin.
  44. AS07708PS-2-WR-R
  45. \\
  46. \\
  47. That's a start.
  48. \section{Work Log: LM324, LM555, TIP120,125}
  49. I spent a bit on this during the evening. I tried first with a LM324, in falstad (sim software) to see if I could make a function gen, out of 3 op amps. I was unable to get the sim to work, although reportedly the circuit works online (ref: https://www.eevblog.com/forum/beginners/simple-analog-function-generator-design/msg1174548/\#msg1174548)
  50. I decided instead, to simulate a triple 5 with a LM324, to finally a transistor output, and this worked in sim. I breadboarded the circuit however, the output was not switching correctly. It turned out later, that I had not read my TIP125 close enough - that was the PNP Q.
  51. Before realizing this error, I breadboarded two op amps, (ref: https://electronics.stackexchange.com/questions/311648/obtaining-a-triangle-wave-from-a-square-wave-using-a-lm324n-op-amp) and these were able to make the square / triangle wave without issue. Not practical in this situation however, as the freq. is low.
  52. Next, I will breadboard the triple 5 with the LM324 (which may be optional) and use that. I may throw in an Arduino to switch the triple 5 on/off via the RST pin. This will allow for some adjustment of tone.\footnote{I could just use the tone() function on the Uno, and have a transistor handle the output, but the goal of this project was to lean more towards the analog.} Future improvements would be to get some way of removing the Arduino from the project, and keeping it analog.
  53. \end{document}