Browse Source

ok

master
Your Name 4 years ago
parent
commit
6e360cfdda
41 changed files with 554 additions and 3 deletions
  1. BIN
      Door_Chime/datasheets/2N7000-D.PDF
  2. +0
    -0
      Door_Chime/datasheets/TIP120-D.PDF
  3. BIN
      Door_Chime/datasheets/fairchild_2n7000.pdf
  4. +0
    -0
      Door_Chime/datasheets/lm124-n.pdf
  5. +0
    -0
      Door_Chime/datasheets/lm555.pdf
  6. +0
    -0
      Door_Chime/docs/1.aux
  7. +0
    -0
      Door_Chime/docs/1.log
  8. +0
    -0
      Door_Chime/docs/1.pdf
  9. +0
    -0
      Door_Chime/docs/1.tex
  10. +0
    -0
      Door_Chime/docs/1.tex~
  11. +0
    -0
      Door_Chime/docs/1.toc
  12. +0
    -0
      Door_Chime/docs/2.aux
  13. +0
    -0
      Door_Chime/docs/2.log
  14. +0
    -0
      Door_Chime/docs/2.pdf
  15. +0
    -0
      Door_Chime/docs/2.tex
  16. +0
    -0
      Door_Chime/docs/2.tex~
  17. +0
    -0
      Door_Chime/docs/2.toc
  18. +0
    -0
      Door_Chime/docs/3.aux
  19. +0
    -0
      Door_Chime/docs/3.log
  20. +0
    -0
      Door_Chime/docs/3.pdf
  21. +0
    -0
      Door_Chime/docs/3.tex
  22. +0
    -0
      Door_Chime/docs/3.tex~
  23. +0
    -0
      Door_Chime/docs/3.toc
  24. +0
    -0
      Door_Chime/docs/4.aux
  25. +3
    -3
      Door_Chime/docs/4.log
  26. BIN
      Door_Chime/docs/4.pdf
  27. +0
    -0
      Door_Chime/docs/4.tex
  28. +0
    -0
      Door_Chime/docs/4.toc
  29. +7
    -0
      Door_Chime/docs/5.aux
  30. +343
    -0
      Door_Chime/docs/5.log
  31. BIN
      Door_Chime/docs/5.pdf
  32. +99
    -0
      Door_Chime/docs/5.tex
  33. +96
    -0
      Door_Chime/docs/5.tex~
  34. +6
    -0
      Door_Chime/docs/5.toc
  35. +0
    -0
      Door_Chime/falstad/555tests
  36. +0
    -0
      Door_Chime/falstad/555tests_2
  37. +0
    -0
      Door_Chime/falstad/README
  38. +0
    -0
      Door_Chime/falstad/basic_amp_forfalstad
  39. +0
    -0
      Door_Chime/falstad/basic_amp_forfalstad_2
  40. +0
    -0
      Door_Chime/falstad/basic_functiongen_with_opamps
  41. +0
    -0
      Door_Chime/falstad/basic_functiongen_with_opamps2

BIN
Door_Chime/datasheets/2N7000-D.PDF View File


Door_Alarm/datasheets/TIP120-D.PDF → Door_Chime/datasheets/TIP120-D.PDF View File


BIN
Door_Chime/datasheets/fairchild_2n7000.pdf View File


Door_Alarm/datasheets/lm124-n.pdf → Door_Chime/datasheets/lm124-n.pdf View File


Door_Alarm/datasheets/lm555.pdf → Door_Chime/datasheets/lm555.pdf View File


Door_Alarm/docs/1.aux → Door_Chime/docs/1.aux View File


Door_Alarm/docs/1.log → Door_Chime/docs/1.log View File


Door_Alarm/docs/1.pdf → Door_Chime/docs/1.pdf View File


Door_Alarm/docs/1.tex → Door_Chime/docs/1.tex View File


Door_Alarm/docs/1.tex~ → Door_Chime/docs/1.tex~ View File


Door_Alarm/docs/1.toc → Door_Chime/docs/1.toc View File


Door_Alarm/docs/2.aux → Door_Chime/docs/2.aux View File


Door_Alarm/docs/2.log → Door_Chime/docs/2.log View File


Door_Alarm/docs/2.pdf → Door_Chime/docs/2.pdf View File


Door_Alarm/docs/2.tex → Door_Chime/docs/2.tex View File


Door_Alarm/docs/2.tex~ → Door_Chime/docs/2.tex~ View File


Door_Alarm/docs/2.toc → Door_Chime/docs/2.toc View File


Door_Alarm/docs/3.aux → Door_Chime/docs/3.aux View File


Door_Alarm/docs/3.log → Door_Chime/docs/3.log View File


Door_Alarm/docs/3.pdf → Door_Chime/docs/3.pdf View File


Door_Alarm/docs/3.tex → Door_Chime/docs/3.tex View File


Door_Alarm/docs/3.tex~ → Door_Chime/docs/3.tex~ View File


Door_Alarm/docs/3.toc → Door_Chime/docs/3.toc View File


Door_Alarm/docs/4.aux → Door_Chime/docs/4.aux View File


Door_Alarm/docs/4.log → Door_Chime/docs/4.log View File

@ -1,12 +1,12 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2019.8.17) 13 FEB 2020 12:00
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2019.8.17) 18 FEB 2020 02:32
entering extended mode entering extended mode
restricted \write18 enabled. restricted \write18 enabled.
%&-line parsing enabled. %&-line parsing enabled.
**/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/ **/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/
Door_Alarm/docs/4.tex
Door_Chime/docs/4.tex
(/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/D (/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/D
oor_Alarm/docs/4.tex
oor_Chime/docs/4.tex
LaTeX2e <2017/01/01> patch level 3 LaTeX2e <2017/01/01> patch level 3
Babel <3.9r> and hyphenation patterns for 3 language(s) loaded. Babel <3.9r> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls

BIN
Door_Alarm/docs/4.pdf → Door_Chime/docs/4.pdf View File


Door_Alarm/docs/4.tex → Door_Chime/docs/4.tex View File


Door_Alarm/docs/4.toc → Door_Chime/docs/4.toc View File


+ 7
- 0
Door_Chime/docs/5.aux View File

@ -0,0 +1,7 @@
\relax
\@writefile{toc}{\contentsline {section}{\numberline {1}Overview}{1}}
\@writefile{toc}{\contentsline {section}{\numberline {2}BOM}{1}}
\@writefile{toc}{\contentsline {section}{\numberline {3}Work Log: LM324, LM555, TIP120,125}{2}}
\@writefile{toc}{\contentsline {section}{\numberline {4}Door Magnet Reed Sensor}{3}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1}Buzzer or Bell}{3}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.2}Signal Mosfets for Actuator}{4}}

+ 343
- 0
Door_Chime/docs/5.log View File

@ -0,0 +1,343 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2019.8.17) 18 FEB 2020 02:38
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/
Door_Chime/docs/5.tex
(/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/D
oor_Chime/docs/5.tex
LaTeX2e <2017/01/01> patch level 3
Babel <3.9r> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
File: size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2016/10/09 v1.0u Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 99.
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2017/01/12 v0.06k Graphics/color for pdfTeX
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
)
\Gread@gobject=\count87
))
\Gin@req@height=\dimen103
\Gin@req@width=\dimen104
)
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
Package: caption 2016/02/21 v3.3-144 Customizing captions (AR)
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty
Package: caption3 2016/05/22 v1.7-166 caption3 kernel (AR)
Package caption3 Info: TeX engine: e-TeX on input line 67.
\captionmargin=\dimen105
\captionmargin@=\dimen106
\captionwidth=\dimen107
\caption@tempdima=\dimen108
\caption@indent=\dimen109
\caption@parindent=\dimen110
\caption@hangindent=\dimen111
)
\c@ContinuedFloat=\count88
)
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package xcolor Info: Driver file: pdftex.def on input line 225.
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352.
Package xcolor Info: Model `RGB' extended on input line 1364.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371.
)
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2010/09/12 v5.6 Page Geometry
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2016/05/14 v3.1 Provides the ifpdf switch
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty
Package: ifvtex 2016/05/16 v1.6 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
)
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
\Gm@cnth=\count89
\Gm@cntv=\count90
\c@Gm@tempcnt=\count91
\Gm@bindingoffset=\dimen112
\Gm@wd@mp=\dimen113
\Gm@odd@mp=\dimen114
\Gm@even@mp=\dimen115
\Gm@layoutwidth=\dimen116
\Gm@layoutheight=\dimen117
\Gm@layouthoffset=\dimen118
\Gm@layoutvoffset=\dimen119
\Gm@dimlist=\toks15
) (./5.aux)
\openout1 = `5.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count92
\scratchdimen=\dimen120
\scratchbox=\box26
\nofMPsegments=\count93
\nofMParguments=\count94
\everyMPshowfont=\toks16
\MPscratchCnt=\count95
\MPscratchDim=\dimen121
\MPnumerator=\count96
\makeMPintoPDFobject=\count97
\everyMPtoPDFconversion=\toks17
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO)
))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
38.
Package grfext Info: Graphics extension search list:
(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 456.
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
Package caption Info: Begin \AtBeginDocument code.
Package caption Info: End \AtBeginDocument code.
*geometry* detected driver: dvips
*geometry* verbose mode - [ preamble ] result:
* driver: dvips
* paper: custom
* layout: <same size as paper>
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* vratio: 1:1
* modes:
* h-part:(L,W,R)=(54.2025pt, 325.215pt, 54.2025pt)
* v-part:(T,H,B)=(79.49689pt, 491.43622pt, 79.49689pt)
* \paperwidth=433.62pt
* \paperheight=650.43pt
* \textwidth=325.215pt
* \textheight=491.43622pt
* \oddsidemargin=-18.06749pt
* \evensidemargin=-18.06749pt
* \topmargin=-29.7731pt
* \headheight=12.0pt
* \headsep=25.0pt
* \topskip=11.0pt
* \footskip=30.0pt
* \marginparwidth=59.0pt
* \marginparsep=10.0pt
* \columnsep=10.0pt
* \skip\footins=10.0pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \@twocolumnfalse
* \@twosidefalse
* \@mparswitchfalse
* \@reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <12> on input line 14.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 14.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 14.
(./5.toc
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <10.95> on input line 5.
)
\tf@toc=\write3
\openout3 = `5.toc'.
Underfull \hbox (badness 10000) in paragraph at lines 21--28
[]
Underfull \hbox (badness 10000) in paragraph at lines 21--28
[]
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <9> on input line 43.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 43.
Underfull \hbox (badness 10000) in paragraph at lines 31--47
[]
Underfull \hbox (badness 10000) in paragraph at lines 31--47
[]
Underfull \hbox (badness 10000) in paragraph at lines 31--47
[]
Underfull \hbox (badness 10000) in paragraph at lines 31--47
[]
Underfull \hbox (badness 10000) in paragraph at lines 31--47
[]
[1
Non-PDF special ignored!
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
Underfull \hbox (badness 10000) in paragraph at lines 50--55
[]
Overfull \hbox (40.48505pt too wide) in paragraph at lines 58--59
\OT1/cmr/m/n/10.95 cir-cuit works on-line (ref: https://www.eevblog.com/forum/b
eginners/simple-
[]
Overfull \hbox (7.57411pt too wide) in paragraph at lines 62--63
\OT1/cmr/m/n/10.95 https://electronics.stackexchange.com/questions/311648/obtai
ning-a-
[]
Overfull \hbox (1.12566pt too wide) in paragraph at lines 62--63
\OT1/cmr/m/n/10.95 triangle-wave-from-a-square-wave-using-a-lm324n-op-amp) and
these
[]
[2]
Overfull \hbox (51.67836pt too wide) in paragraph at lines 78--81
\OT1/cmr/m/n/10.95 https://www.allelectronics.com/item/sol-154/12vdc-push-type-
solenoid/1.html
[]
Overfull \hbox (19.25427pt too wide) in paragraph at lines 78--81
\OT1/cmr/m/n/10.95 per this dis-cus-sion: https://forum.sparkfun.com/viewtopic.
php?t=10308
[]
[3] [4] (./5.aux) )
Here is how much of TeX's memory you used:
3517 strings out of 494945
53314 string characters out of 6181032
118045 words of memory out of 5000000
6793 multiletter control sequences out of 15000+600000
10030 words of font info for 35 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
39i,8n,38p,727b,189s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/c
m/cmbx10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx
12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/s
hare/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr6.pfb></usr/share/tex
live/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb></usr/share/texlive/tex
mf-dist/fonts/type1/public/amsfonts/cm/cmr9.pfb>
Output written on 5.pdf (4 pages, 98283 bytes).
PDF statistics:
45 PDF objects out of 1000 (max. 8388607)
31 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

BIN
Door_Chime/docs/5.pdf View File


+ 99
- 0
Door_Chime/docs/5.tex View File

@ -0,0 +1,99 @@
\documentclass[11pt]{article}
%Gummi|065|=)
\usepackage{graphicx}
\usepackage{caption}
\usepackage{xcolor}
\usepackage[vcentering,dvips]{geometry}
\geometry{papersize={6in,9in},total={4.5in,6.8in}}
\title{\textbf{Door Alarm}}
\author{Steak Electronics}
\date{}
\begin{document}
\maketitle
\tableofcontents
\textcolor{green!60!blue!70}{
\section{Overview}}
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.
Functionality req'd:
\\
\\
Makes noise when door opened.
\\
\\
Able to be shut off with light switch.
\textcolor{green!60!blue!70}{
\section{BOM}}
Any audio amplifier loud enough will work. I'm going to use this one:
\\
\\
IS31AP4088A-QFLS2-EB
\\
\\
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.
\\
\\
MS-324-3-3-0500
\\
\\
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...
\\
\\
and the magnet,
57140-000
A speaker, although I have plenty in my junk bin.
AS07708PS-2-WR-R
\\
\\
That's a start.
\textcolor{green!60!blue!70}{
\section{Work Log: LM324, LM555, TIP120,125}}
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)
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 - it is a PNP. Oops.
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. I tried adjusting via the R between output 1 and inverting input for op amp 2, but this did not work as expected. I had long leads with a variable resistance box. Most likely, the issue.
Next, I will breadboard the triple 5 with the LM324 (which may be optional) and use that. I will 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. I would need a solution that will adjust how often the RST pin is switched, for some short period of time while the door magnet switch is active.
I might end up just using tone, if the 555 doesn't sound good.
\section{Door Magnet Reed Sensor}
I tried buying one from mouser,digikey but they are all small. Seems the standard is 28mm by 10mm or so. I didn't realize it until I purchased it, but it looks quite a bit smaller than I am used to. Not acceptable.
I spent some time looking at all the options. I was unable to find the bigger size. Even the imports from Sparkfun and Adafruit were small. There was a nice screw terminal omrom option but it was \$30. I opted for ebay where there were some used, brand name, sensors in the US. I found some for about \$5 each, including magnet AND the sensor (on mouser/digikey, you often have to get them separately).
\subsection{Buzzer or Bell}
I thought about a buzzer. Like, a ringer from a telephone. I didn't find them on mouser/digikey, but I did see a lot of piezo buzzers. Need to look again. Even better would be a bell, but that requires an actuator or a motor. I don't want to deal with moving parts, it will be more likely to break. Let's put that idea aside for another day.
Still, I like the idea of a bell, and an actuator to ring it...
I tried one on ebay. If that doesn't work there is this one:
https://www.allelectronics.com/item/sol-154/12vdc-push-type-solenoid/1.html
per this discussion: https://forum.sparkfun.com/viewtopic.php?t=10308
As for the bell, I will hold off until I know how the solenoid works.
\footnote{I decided that the sound of the bell is worth the risk of using moving parts.}
\subsection{Signal Mosfets for Actuator}
I have a solenoid, from ebay (actuator) and I've got a bell\footnote{I ring it in the morning... I ring it in the evening...}.
I tried some 2n7000 signal mosfets (to-92), and I am unable to get it to work. I think it's due to current limits (200mA). These, the 2n7000 have protection diodes built in, according to data sheet image.
In any case, I set up the small npn transistor with 1k to base (grounded) and a 12V battery, with the motor on the collector/drain side. What happens is that it doesn't switch (as it shouldn't) when base is grounded, but float the base, and it switches on, sometimes. Eventually, it will just turn on no matter what, whether base is grounded or not. As I mentioned, these to-92's can't handle the actuator.
I could always use a relay, but that wasn't the point. I'm trying to get the transistors to work. I also tried a TIP120, NPN, darlington mosfet, but this didn't work on the perf board, and I moved to the 2n7000.
In other news, the bell is looking like a better solution than the speaker I considered before. A bell is a better solution than tone(). More moving parts, but worth it.
\end{document}

+ 96
- 0
Door_Chime/docs/5.tex~ View File

@ -0,0 +1,96 @@
\documentclass[11pt]{article}
%Gummi|065|=)
\usepackage{graphicx}
\usepackage{caption}
\usepackage{xcolor}
\usepackage[vcentering,dvips]{geometry}
\geometry{papersize={6in,9in},total={4.5in,6.8in}}
\title{\textbf{Door Alarm}}
\author{Steak Electronics}
\date{}
\begin{document}
\maketitle
\tableofcontents
\textcolor{green!60!blue!70}{
\section{Overview}}
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.
Functionality req'd:
\\
\\
Makes noise when door opened.
\\
\\
Able to be shut off with light switch.
\textcolor{green!60!blue!70}{
\section{BOM}}
Any audio amplifier loud enough will work. I'm going to use this one:
\\
\\
IS31AP4088A-QFLS2-EB
\\
\\
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.
\\
\\
MS-324-3-3-0500
\\
\\
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...
\\
\\
and the magnet,
57140-000
A speaker, although I have plenty in my junk bin.
AS07708PS-2-WR-R
\\
\\
That's a start.
\textcolor{green!60!blue!70}{
\section{Work Log: LM324, LM555, TIP120,125}}
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)
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 - it is a PNP. Oops.
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. I tried adjusting via the R between output 1 and inverting input for op amp 2, but this did not work as expected. I had long leads with a variable resistance box. Most likely, the issue.
Next, I will breadboard the triple 5 with the LM324 (which may be optional) and use that. I will 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. I would need a solution that will adjust how often the RST pin is switched, for some short period of time while the door magnet switch is active.
I might end up just using tone, if the 555 doesn't sound good.
\section{Door Magnet Reed Sensor}
I tried buying one from mouser,digikey but they are all small. Seems the standard is 28mm by 10mm or so. I didn't realize it until I purchased it, but it looks quite a bit smaller than I am used to. Not acceptable.
I spent some time looking at all the options. I was unable to find the bigger size. Even the imports from Sparkfun and Adafruit were small. There was a nice screw terminal omrom option but it was \$30. I opted for ebay where there were some used, brand name, sensors in the US. I found some for about \$5 each, including magnet AND the sensor (on mouser/digikey, you often have to get them separately).
\subsection{Buzzer or Bell}
I thought about a buzzer. Like, a ringer from a telephone. I didn't find them on mouser/digikey, but I did see a lot of piezo buzzers. Need to look again. Even better would be a bell, but that requires an actuator or a motor. I don't want to deal with moving parts, it will be more likely to break. Let's put that idea aside for another day.
Still, I like the idea of a bell, and an actuator to ring it...
I tried one on ebay. If that doesn't work there is this one:
https://www.allelectronics.com/item/sol-154/12vdc-push-type-solenoid/1.html
per this discussion: https://forum.sparkfun.com/viewtopic.php?t=10308
As for the bell, I will hold off until I know how the solenoid works.
\footnote{I decided that the sound of the bell is worth the risk of using moving parts.}
\subsection{Signal Mosfets for Actuator}
I tried some 2n7000 signal mosfets (to-92), and I am unable to get it to work. I think it's due to current limits (200mA). These, the 2n7000 have protection diodes built in, according to data sheet image.
In any case, I set up the small npn transistor with 1k to base (grounded) and a 12V battery, with the motor on the collector/drain side. What happens is that it doesn't switch (as it shouldn't) when base is grounded, but float the base, and it switches on, sometimes. Eventually, it will just turn on no matter what, whether base is grounded or not. As I mentioned, these to-92's can't handle the actuator.
I could always use a relay, but that wasn't the point. I'm trying to get the transistors to work. I also tried a TIP120, NPN, darlington mosfet, but this didn't work on the perf board, and I moved to the 2n7000.
\end{document}

+ 6
- 0
Door_Chime/docs/5.toc View File

@ -0,0 +1,6 @@
\contentsline {section}{\numberline {1}Overview}{1}
\contentsline {section}{\numberline {2}BOM}{1}
\contentsline {section}{\numberline {3}Work Log: LM324, LM555, TIP120,125}{2}
\contentsline {section}{\numberline {4}Door Magnet Reed Sensor}{3}
\contentsline {subsection}{\numberline {4.1}Buzzer or Bell}{3}
\contentsline {subsection}{\numberline {4.2}Signal Mosfets for Actuator}{4}

Door_Alarm/falstad/555tests → Door_Chime/falstad/555tests View File


Door_Alarm/falstad/555tests_2 → Door_Chime/falstad/555tests_2 View File


Door_Alarm/falstad/README → Door_Chime/falstad/README View File


Door_Alarm/falstad/basic_amp_forfalstad → Door_Chime/falstad/basic_amp_forfalstad View File


Door_Alarm/falstad/basic_amp_forfalstad_2 → Door_Chime/falstad/basic_amp_forfalstad_2 View File


Door_Alarm/falstad/basic_functiongen_with_opamps → Door_Chime/falstad/basic_functiongen_with_opamps View File


Door_Alarm/falstad/basic_functiongen_with_opamps2 → Door_Chime/falstad/basic_functiongen_with_opamps2 View File


Loading…
Cancel
Save