diff --git a/DC_Brushed_Windmill/docs/1.aux b/DC_Brushed_Windmill/docs/1.aux new file mode 100644 index 0000000..01231e0 --- /dev/null +++ b/DC_Brushed_Windmill/docs/1.aux @@ -0,0 +1,3 @@ +\relax +\@writefile{toc}{\contentsline {section}{\numberline {1}Overview}{1}} +\@writefile{toc}{\contentsline {section}{\numberline {2}Requirements}{1}} diff --git a/DC_Brushed_Windmill/docs/1.log b/DC_Brushed_Windmill/docs/1.log new file mode 100644 index 0000000..8a79c1b --- /dev/null +++ b/DC_Brushed_Windmill/docs/1.log @@ -0,0 +1,271 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2019.8.17) 5 MAR 2020 23:17 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/ +DC_Brushed_Windmill/docs/1.tex + +(/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/D +C_Brushed_Windmill/docs/1.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 +) (./1.aux) +\openout1 = `1.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: +* 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. +(./1.toc) +\tf@toc=\write3 +\openout3 = `1.toc'. + +LaTeX Font Info: Try loading font information for OMS+cmr on input line 24. + (/usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd +File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions +) +LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10.95> not available +(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 24. + [1 +Non-PDF special ignored! + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] +(./1.aux) ) +Here is how much of TeX's memory you used: + 3523 strings out of 494945 + 53502 string characters out of 6181032 + 117054 words of memory out of 5000000 + 6799 multiletter control sequences out of 15000+600000 + 8452 words of font info for 30 fonts, out of 8000000 for 9000 + 14 hyphenation exceptions out of 8191 + 39i,6n,38p,335b,189s stack positions out of 5000i,500n,10000p,200000b,80000s +< +/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb> +Output written on 1.pdf (1 page, 60330 bytes). +PDF statistics: + 28 PDF objects out of 1000 (max. 8388607) + 19 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) + diff --git a/DC_Brushed_Windmill/docs/1.pdf b/DC_Brushed_Windmill/docs/1.pdf new file mode 100644 index 0000000..59ddb37 Binary files /dev/null and b/DC_Brushed_Windmill/docs/1.pdf differ diff --git a/DC_Brushed_Windmill/docs/1.tex b/DC_Brushed_Windmill/docs/1.tex new file mode 100644 index 0000000..05af52e --- /dev/null +++ b/DC_Brushed_Windmill/docs/1.tex @@ -0,0 +1,34 @@ + +\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{DC Brushed Windmill}} +\author{Steak Electronics} +\date{} +\begin{document} + +\maketitle + +\tableofcontents +\textcolor{green!60!blue!70}{ +\section{Overview}} +I would like to build a windmill. I want it as simple as possible, so DC Brushed Motor, and all parts replaceable. I'm building this with the expectation it might get stolen. + +\section{Requirements} +I need the following items. +\begin{itemize} +\item DC Brushed motor, with easily accessible brushes (so they can be replaced). + +\item Easily sourceable Windmill Blades +\end{itemize} +In addition, since I have access to my companies resources, I can fiberglass the blades. I will 3d print a water resistant enclosure, and I will power something. Ideally, I will take current readings. + +For the DC Motor, it's not easy to find ones with brush access panels, as the majority of hobby motors seem to require disassembly, but I did find one on ebay in the US for about \$10-20. + + +\end{document} + diff --git a/DC_Brushed_Windmill/docs/1.tex~ b/DC_Brushed_Windmill/docs/1.tex~ new file mode 100644 index 0000000..b10de52 --- /dev/null +++ b/DC_Brushed_Windmill/docs/1.tex~ @@ -0,0 +1,59 @@ + +\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. + + + +\end{document} + diff --git a/DC_Brushed_Windmill/docs/1.toc b/DC_Brushed_Windmill/docs/1.toc new file mode 100644 index 0000000..e8c9a83 --- /dev/null +++ b/DC_Brushed_Windmill/docs/1.toc @@ -0,0 +1,2 @@ +\contentsline {section}{\numberline {1}Overview}{1} +\contentsline {section}{\numberline {2}Requirements}{1} diff --git a/DC_Brushed_Windmill/docs/2.aux b/DC_Brushed_Windmill/docs/2.aux new file mode 100644 index 0000000..01231e0 --- /dev/null +++ b/DC_Brushed_Windmill/docs/2.aux @@ -0,0 +1,3 @@ +\relax +\@writefile{toc}{\contentsline {section}{\numberline {1}Overview}{1}} +\@writefile{toc}{\contentsline {section}{\numberline {2}Requirements}{1}} diff --git a/DC_Brushed_Windmill/docs/2.log b/DC_Brushed_Windmill/docs/2.log new file mode 100644 index 0000000..8a5cb52 --- /dev/null +++ b/DC_Brushed_Windmill/docs/2.log @@ -0,0 +1,271 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2019.8.17) 6 MAR 2020 00:01 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/ +DC_Brushed_Windmill/docs/2.tex + +(/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/D +C_Brushed_Windmill/docs/2.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 +) (./2.aux) +\openout1 = `2.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: +* 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. + +Underfull \hbox (badness 10000) in paragraph at lines 25--27 + + [] + +LaTeX Font Info: Try loading font information for OMS+cmr on input line 28. +(/usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd +File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions +) +LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10.95> not available +(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 28. + [1 +Non-PDF special ignored! + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] +[2] (./2.aux) ) +Here is how much of TeX's memory you used: + 3518 strings out of 494945 + 53462 string characters out of 6181032 + 118054 words of memory out of 5000000 + 6798 multiletter control sequences out of 15000+600000 + 8144 words of font info for 29 fonts, out of 8000000 for 9000 + 14 hyphenation exceptions out of 8191 + 39i,6n,38p,742b,189s stack positions out of 5000i,500n,10000p,200000b,80000s + +Output written on 2.pdf (2 pages, 50382 bytes). +PDF statistics: + 27 PDF objects out of 1000 (max. 8388607) + 18 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) + diff --git a/DC_Brushed_Windmill/docs/2.pdf b/DC_Brushed_Windmill/docs/2.pdf new file mode 100644 index 0000000..41b7d0f Binary files /dev/null and b/DC_Brushed_Windmill/docs/2.pdf differ diff --git a/DC_Brushed_Windmill/docs/2.tex b/DC_Brushed_Windmill/docs/2.tex new file mode 100644 index 0000000..8a9e21e --- /dev/null +++ b/DC_Brushed_Windmill/docs/2.tex @@ -0,0 +1,44 @@ + +\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{DC Brushed Windmill}} +\author{Steak Electronics} +\date{} +\begin{document} + +\maketitle + +%\tableofcontents +\textcolor{green!60!blue!70}{ +\section{Overview}} +I would like to build a windmill. I want it as simple as possible, so DC Brushed Motor, and all parts replaceable. I'm building this with the expectation it might get stolen. + +From what I can see, Windmills are not as efficient as solar (more moving parts which means maintenance, wind can be finicky so power output is not stable), but windmills are beautiful moving things, and a joy to behold. I must make one. They are just cool. + +\textcolor{green!60!blue!70}{ +\section{Requirements}} +I need the following items. +\\ +\begin{itemize} +\item DC Brushed motor, with easily accessible brushes (so they can be replaced). + +\item Easily sourceable Windmill Blades +\end{itemize} +In addition, since I have access to my companies resources, I can fiberglass the blades. I will 3d print a water resistant enclosure, and I will power something. Ideally, I will take current readings. + +For the DC Motor, it's not easy to find ones with brush access panels, as the majority of hobby motors seem to require disassembly, but I did find one on ebay in the US for about \$10-20. For windmill blades, there are a few options. I don't have easy access to woodworking equipment, so I can't yet make my own, but that would be viable (if I joined a hackerspace). Another option is to reuse existing fan blades. It turns out that ceiling fans are commonly available on craigslist where I live, so they can be obtained there either free, or for very cheap. Even if the fan is in parts, the blades are all I need. + +Finally, I have dealt with windmills once before for work, so I know I will need the following other items: +\begin{itemize} +\item strong metal wire bracing to hold the windmill in place +\item as large as possible tower to hold the blade in the air +\end{itemize} + + +\end{document} + diff --git a/DC_Brushed_Windmill/docs/2.tex~ b/DC_Brushed_Windmill/docs/2.tex~ new file mode 100644 index 0000000..8fbf8da --- /dev/null +++ b/DC_Brushed_Windmill/docs/2.tex~ @@ -0,0 +1,44 @@ + +\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{DC Brushed Windmill}} +\author{Steak Electronics} +\date{} +\begin{document} + +\maketitle + +\tableofcontents +\textcolor{green!60!blue!70}{ +\section{Overview}} +I would like to build a windmill. I want it as simple as possible, so DC Brushed Motor, and all parts replaceable. I'm building this with the expectation it might get stolen. + +From what I can see, Windmills are not as efficient as solar (more moving parts which means maintenance, wind can be finicky so power output is not stable), but windmills are beautiful moving things, and a joy to behold. I must make one. They are just cool. + +\textcolor{green!60!blue!70}{ +\section{Requirements}} +I need the following items. +\\ +\begin{itemize} +\item DC Brushed motor, with easily accessible brushes (so they can be replaced). + +\item Easily sourceable Windmill Blades +\end{itemize} +In addition, since I have access to my companies resources, I can fiberglass the blades. I will 3d print a water resistant enclosure, and I will power something. Ideally, I will take current readings. + +For the DC Motor, it's not easy to find ones with brush access panels, as the majority of hobby motors seem to require disassembly, but I did find one on ebay in the US for about \$10-20. For windmill blades, there are a few options. I don't have easy access to woodworking equipment, so I can't yet make my own, but that would be viable (if I joined a hackerspace). Another option is to reuse existing fan blades. It turns out that ceiling fans are commonly available on craigslist where I live, so they can be obtained there either free, or for very cheap. Even if the fan is in parts, the blades are all I need. + +Finally, I have dealt with windmills once before for work, so I know I will need the following other items: +\begin{itemize} +\item strong metal wire bracing to hold the windmill in place +\item as large as possible tower to hold the blade in the air +\end{itemize} + + +\end{document} + diff --git a/DC_Brushed_Windmill/docs/2.toc b/DC_Brushed_Windmill/docs/2.toc new file mode 100644 index 0000000..e8c9a83 --- /dev/null +++ b/DC_Brushed_Windmill/docs/2.toc @@ -0,0 +1,2 @@ +\contentsline {section}{\numberline {1}Overview}{1} +\contentsline {section}{\numberline {2}Requirements}{1} diff --git a/DC_Brushed_Windmill/docs/3.tex~ b/DC_Brushed_Windmill/docs/3.tex~ new file mode 100644 index 0000000..4210784 --- /dev/null +++ b/DC_Brushed_Windmill/docs/3.tex~ @@ -0,0 +1,67 @@ + +\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. + +\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 - that was the PNP Q. + +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. + +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. + + +\end{document} + diff --git a/DC_Brushed_Windmill/docs/5.tex~ b/DC_Brushed_Windmill/docs/5.tex~ new file mode 100644 index 0000000..a643c67 --- /dev/null +++ b/DC_Brushed_Windmill/docs/5.tex~ @@ -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} + diff --git a/DC_Brushed_Windmill/docs/6.tex~ b/DC_Brushed_Windmill/docs/6.tex~ new file mode 100644 index 0000000..cda66bb --- /dev/null +++ b/DC_Brushed_Windmill/docs/6.tex~ @@ -0,0 +1,103 @@ + +\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. + +EDIT: I was able to get expected results from the 2N7000, by not forgetting the diode across the motor. Put gate low, it is off. Put gate high, it is on. However, it latches. I have to put the gate low again in order to get it to turn off... + +A solution to rememdy this is to hold the base/gate at ground with a 2.2K R, then short the base HI (12V here) to turn it on (quickly, and shortly) before letting it go back to ground. Seems to work with no ringing at GND after coil is off. Or, just use an arduino and wire to IO. + +In other news, the bell is looking like a better solution than the speaker I considered before. More moving parts, but worth it. + + + +\end{document} + diff --git a/DC_Brushed_Windmill/docs/7.tex~ b/DC_Brushed_Windmill/docs/7.tex~ new file mode 100644 index 0000000..bba301f --- /dev/null +++ b/DC_Brushed_Windmill/docs/7.tex~ @@ -0,0 +1,108 @@ + +\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. + +EDIT: I was able to get expected results from the 2N7000, by not forgetting the diode across the motor. Put gate low, it is off. Put gate high, it is on. However, it latches. I have to put the gate low again in order to get it to turn off... + +A solution to rememdy this is to hold the base/gate at ground with a 2.2K R, then short the base HI (12V here) to turn it on (quickly, and shortly) before letting it go back to ground. Seems to work with no ringing at GND after coil is off. Or, just use an arduino and wire to IO. + +Also, I definitely did blow some of the Mosfets, without the diode on the motor. They have their own protection, but that isn't enough by itself. + +In other news, the bell is looking like a better solution than the speaker I considered before. More moving parts, but worth it. + +\section{Basic Circuit Ready} +I have built the circuit with a to220 mosfet, with 12V on the source, and powered by a 5V IO from an Arduino uno going through a 1K resistor before hitting the gate. It hits the gate at 1.3V about. Around 1Volt, it lightly sets off the actuator, 1.06V the actuator is fully activated. + +Wanted to use a 555, but no time for that today. Next step is to build the enclosure around everything, so the bell is hit correctly. Wood may be too much of a fire hazard. Need to think about this. Looking up building materials that are resilient to fire comes up with stone, basically. Glass, concrete, stucco, gypsum, and brick. I like the glass option. I think I will go with that. Not going to be easy, but fireproof. I have a lot of glass hanging around after demoing some windows. Another option might be to use some drywall, and build something with joint compound. A type of wall box... Hm... Easier than glass. Either that or a plastic box, larger than I have. + +\end{document} + diff --git a/DC_Brushed_Windmill/docs/8.tex~ b/DC_Brushed_Windmill/docs/8.tex~ new file mode 100644 index 0000000..a889c94 --- /dev/null +++ b/DC_Brushed_Windmill/docs/8.tex~ @@ -0,0 +1,115 @@ + +\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. + +EDIT: I was able to get expected results from the 2N7000, by not forgetting the diode across the motor. Put gate low, it is off. Put gate high, it is on. However, it latches. I have to put the gate low again in order to get it to turn off... + +A solution to rememdy this is to hold the base/gate at ground with a 2.2K R, then short the base HI (12V here) to turn it on (quickly, and shortly) before letting it go back to ground. Seems to work with no ringing at GND after coil is off. Or, just use an arduino and wire to IO. + +Also, I definitely did blow some of the Mosfets, without the diode on the motor. They have their own protection, but that isn't enough by itself. + +In other news, the bell is looking like a better solution than the speaker I considered before. More moving parts, but worth it. + +\section{Basic Circuit Ready} +I have built the circuit with a to220 mosfet, with 12V on the source, and powered by a 5V IO from an Arduino uno going through a 1K resistor before hitting the gate. It hits the gate at 1.3V about. Around 1Volt, it lightly sets off the actuator, 1.06V the actuator is fully activated. + +Wanted to use a 555, but no time for that today. Next step is to build the enclosure around everything, so the bell is hit correctly. Wood may be too much of a fire hazard. Need to think about this. Looking up building materials that are resilient to fire comes up with stone, basically. Glass, concrete, stucco, gypsum, and brick. I like the glass option. I think I will go with that. Not going to be easy, but fireproof. I have a lot of glass hanging around after demoing some windows. Another option might be to use some drywall, and build something with joint compound. A type of wall box... Hm... Easier than glass. Either that or a plastic box, larger than I have. Or, metal box. + +\subsection{Breaking the Actuator} +Actuators are like brushed motors, in that there is a connection from the coil. I have a jigsaw with two brushes on the side. They are these carbon blocks. Actuators are the same, yet the spring is the brush. + +Today I was assembling everything for final deployment, and I accidentally hit the spring with a screwdriver. The spring broke, and I was unable to find a replacement in my box of springs. + +Replacement part needed. It also turns out that the actuator wasn't really loud enough. I'm goint to spec one that is a bit stronger. + +\end{document} + diff --git a/Door_Chime/docs/10.aux b/Door_Chime/docs/10.aux new file mode 100644 index 0000000..27009f1 --- /dev/null +++ b/Door_Chime/docs/10.aux @@ -0,0 +1,10 @@ +\relax +\@writefile{toc}{\contentsline {section}{\numberline {1}Door Chime}{1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.1}BOM}{1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.2}Work Log: LM324, LM555, TIP120,125}{2}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3}Door Magnet Reed Sensor}{3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {1.3.1}Buzzer or Bell}{3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {1.3.2}Signal Mosfets for Actuator}{3}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.4}Basic Circuit Ready}{4}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {1.4.1}Breaking the Actuator}{5}} +\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Early build.\relax }}{6}} diff --git a/Door_Chime/docs/10.log b/Door_Chime/docs/10.log new file mode 100644 index 0000000..70b7918 --- /dev/null +++ b/Door_Chime/docs/10.log @@ -0,0 +1,359 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2019.8.17) 6 MAR 2020 00:00 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/ +Door_Chime/docs/10.tex + +(/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/D +oor_Chime/docs/10.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 +) (./10.aux) +\openout1 = `10.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: +* 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. + +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) <10.95> on input line 43. +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 80--83 +\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 80--83 +\OT1/cmr/m/n/10.95 per this dis-cus-sion: https://forum.sparkfun.com/viewtopic. +php?t=10308 + [] + +[3] [4] +Underfull \hbox (badness 10000) in paragraph at lines 119--121 + + [] + +<../pics/DSCN2702.JPG, id=22, 803.0pt x 602.25pt> +File: ../pics/DSCN2702.JPG Graphic file (type jpg) + +Package pdftex.def Info: ../pics/DSCN2702.JPG used on input line 122. +(pdftex.def) Requested size: 321.1943pt x 240.89572pt. + + +Package caption Warning: \captionsetup{type*=...} or \captionof +(caption) outside box or environment on input line 123. +See the caption package documentation for explanation. + + +Overfull \hbox (12.97931pt too wide) in paragraph at lines 122--123 +[][] + [] + +[5] [6 <../pics/DSCN2702.JPG>] (./10.aux) ) +Here is how much of TeX's memory you used: + 3525 strings out of 494945 + 53492 string characters out of 6181032 + 118045 words of memory out of 5000000 + 6801 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,39p,805b,203s stack positions out of 5000i,500n,10000p,200000b,80000s + +Output written on 10.pdf (6 pages, 254338 bytes). +PDF statistics: + 52 PDF objects out of 1000 (max. 8388607) + 35 compressed objects within 1 object stream + 0 named destinations out of 1000 (max. 500000) + 6 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/Door_Chime/docs/10.pdf b/Door_Chime/docs/10.pdf new file mode 100644 index 0000000..0f58da7 Binary files /dev/null and b/Door_Chime/docs/10.pdf differ diff --git a/Door_Chime/docs/10.tex b/Door_Chime/docs/10.tex new file mode 100644 index 0000000..e01729a --- /dev/null +++ b/Door_Chime/docs/10.tex @@ -0,0 +1,126 @@ + +\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{Door Chime}} +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}{ +\subsection{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}{ +\subsection{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. + +\textcolor{green!60!blue!70}{ +\subsection{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). + +\textcolor{green!60!blue!70}{ +\subsubsection{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.} + +\textcolor{green!60!blue!70}{ +\subsubsection{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. + +EDIT: I was able to get expected results from the 2N7000, by not forgetting the diode across the motor. Put gate low, it is off. Put gate high, it is on. However, it latches. I have to put the gate low again in order to get it to turn off... + +A solution to rememdy this is to hold the base/gate at ground with a 2.2K R, then short the base HI (12V here) to turn it on (quickly, and shortly) before letting it go back to ground. Seems to work with no ringing at GND after coil is off. Or, just use an arduino and wire to IO. + +Also, I definitely did blow some of the Mosfets, without the diode on the motor. They have their own protection, but that isn't enough by itself. + +In other news, the bell is looking like a better solution than the speaker I considered before. More moving parts, but worth it. + +\textcolor{green!60!blue!70}{ +\subsection{Basic Circuit Ready}} +I have built the circuit with a to220 mosfet, with 12V on the source, and powered by a 5V IO from an Arduino uno going through a 1K resistor before hitting the gate. It hits the gate at 1.3V about. Around 1Volt, it lightly sets off the actuator, 1.06V the actuator is fully activated. + +Wanted to use a 555, but no time for that today. Next step is to build the enclosure around everything, so the bell is hit correctly. Wood may be too much of a fire hazard. Need to think about this. Looking up building materials that are resilient to fire comes up with stone, basically. Glass, concrete, stucco, gypsum, and brick. I like the glass option. I think I will go with that. Not going to be easy, but fireproof. I have a lot of glass hanging around after demoing some windows. Another option might be to use some drywall, and build something with joint compound. A type of wall box... Hm... Easier than glass. Either that or a plastic box, larger than I have. Or, metal box. + +\textcolor{green!60!blue!70}{ +\subsubsection{Breaking the Actuator}} +Actuators are like brushed motors, in that there is a connection from the coil. I have a jigsaw with two brushes on the side. They are these carbon blocks. Actuators are the same, yet the spring is the brush. + +Today I was assembling everything for final deployment, and I accidentally hit the spring with a screwdriver. The spring broke, and I was unable to find a replacement in my box of springs. + +Replacement part needed. It also turns out that the actuator wasn't really loud enough. I'm goint to spec one that is a bit stronger. I've purchased a 1Amp rated one, instead of a 300mA rated one. + +Other than that, everything is built. +\\ + +\includegraphics[scale=0.4]{../pics/DSCN2702.JPG} +\captionof{figure}{Early build.} + +\end{document} + diff --git a/Door_Chime/docs/10.tex~ b/Door_Chime/docs/10.tex~ new file mode 100644 index 0000000..a5cb6c0 --- /dev/null +++ b/Door_Chime/docs/10.tex~ @@ -0,0 +1,121 @@ + +\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{Door Chime}} +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}{ +\subsection{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}{ +\subsection{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. + +\subsection{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). + +\subsubsection{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.} + +\subsubsection{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. + +EDIT: I was able to get expected results from the 2N7000, by not forgetting the diode across the motor. Put gate low, it is off. Put gate high, it is on. However, it latches. I have to put the gate low again in order to get it to turn off... + +A solution to rememdy this is to hold the base/gate at ground with a 2.2K R, then short the base HI (12V here) to turn it on (quickly, and shortly) before letting it go back to ground. Seems to work with no ringing at GND after coil is off. Or, just use an arduino and wire to IO. + +Also, I definitely did blow some of the Mosfets, without the diode on the motor. They have their own protection, but that isn't enough by itself. + +In other news, the bell is looking like a better solution than the speaker I considered before. More moving parts, but worth it. + +\subsection{Basic Circuit Ready} +I have built the circuit with a to220 mosfet, with 12V on the source, and powered by a 5V IO from an Arduino uno going through a 1K resistor before hitting the gate. It hits the gate at 1.3V about. Around 1Volt, it lightly sets off the actuator, 1.06V the actuator is fully activated. + +Wanted to use a 555, but no time for that today. Next step is to build the enclosure around everything, so the bell is hit correctly. Wood may be too much of a fire hazard. Need to think about this. Looking up building materials that are resilient to fire comes up with stone, basically. Glass, concrete, stucco, gypsum, and brick. I like the glass option. I think I will go with that. Not going to be easy, but fireproof. I have a lot of glass hanging around after demoing some windows. Another option might be to use some drywall, and build something with joint compound. A type of wall box... Hm... Easier than glass. Either that or a plastic box, larger than I have. Or, metal box. + +\subsubsection{Breaking the Actuator} +Actuators are like brushed motors, in that there is a connection from the coil. I have a jigsaw with two brushes on the side. They are these carbon blocks. Actuators are the same, yet the spring is the brush. + +Today I was assembling everything for final deployment, and I accidentally hit the spring with a screwdriver. The spring broke, and I was unable to find a replacement in my box of springs. + +Replacement part needed. It also turns out that the actuator wasn't really loud enough. I'm goint to spec one that is a bit stronger. + +Other than that, everything is built. +\\ + +\includegraphics[scale=0.4]{../pics/DSCN2702.JPG} +\captionof{figure}{Early build.} + +\end{document} + diff --git a/Door_Chime/docs/9.aux b/Door_Chime/docs/9.aux new file mode 100644 index 0000000..e2d84ad --- /dev/null +++ b/Door_Chime/docs/9.aux @@ -0,0 +1,10 @@ +\relax +\@writefile{toc}{\contentsline {section}{\numberline {1}Overview}{1}} +\@writefile{toc}{\contentsline {section}{\numberline {2}BOM}{2}} +\@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}} +\@writefile{toc}{\contentsline {section}{\numberline {5}Basic Circuit Ready}{5}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.1}Breaking the Actuator}{5}} +\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Early build.\relax }}{6}} diff --git a/Door_Chime/docs/9.log b/Door_Chime/docs/9.log new file mode 100644 index 0000000..b1dfe97 --- /dev/null +++ b/Door_Chime/docs/9.log @@ -0,0 +1,365 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2019.8.17) 5 MAR 2020 23:58 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/ +Door_Chime/docs/9.tex + +(/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2020/D +oor_Chime/docs/9.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 +) (./9.aux) +\openout1 = `9.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: +* 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. +(./9.toc +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <10.95> on input line 5. +) +\tf@toc=\write3 +\openout3 = `9.toc'. + + +Underfull \hbox (badness 10000) in paragraph at lines 21--28 + + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 21--28 + + [] + +[1 +Non-PDF special ignored! + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] +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 + + [] + + +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] [3] +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 + [] + +[4] [5] +Underfull \hbox (badness 10000) in paragraph at lines 114--116 + + [] + +<../pics/DSCN2702.JPG, id=25, 803.0pt x 602.25pt> +File: ../pics/DSCN2702.JPG Graphic file (type jpg) + +Package pdftex.def Info: ../pics/DSCN2702.JPG used on input line 117. +(pdftex.def) Requested size: 321.1943pt x 240.89572pt. + + +Package caption Warning: \captionsetup{type*=...} or \captionof +(caption) outside box or environment on input line 118. +See the caption package documentation for explanation. + + +Overfull \hbox (12.97931pt too wide) in paragraph at lines 117--118 +[][] + [] + +[6 <../pics/DSCN2702.JPG>] (./9.aux) ) +Here is how much of TeX's memory you used: + 3528 strings out of 494945 + 53499 string characters out of 6181032 + 118045 words of memory out of 5000000 + 6801 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,39p,786b,189s stack positions out of 5000i,500n,10000p,200000b,80000s + +Output written on 9.pdf (6 pages, 257578 bytes). +PDF statistics: + 52 PDF objects out of 1000 (max. 8388607) + 35 compressed objects within 1 object stream + 0 named destinations out of 1000 (max. 500000) + 6 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/Door_Chime/docs/9.pdf b/Door_Chime/docs/9.pdf new file mode 100644 index 0000000..005fd8e Binary files /dev/null and b/Door_Chime/docs/9.pdf differ diff --git a/Door_Chime/docs/9.tex b/Door_Chime/docs/9.tex new file mode 100644 index 0000000..8d5fa11 --- /dev/null +++ b/Door_Chime/docs/9.tex @@ -0,0 +1,121 @@ + +\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. + +EDIT: I was able to get expected results from the 2N7000, by not forgetting the diode across the motor. Put gate low, it is off. Put gate high, it is on. However, it latches. I have to put the gate low again in order to get it to turn off... + +A solution to rememdy this is to hold the base/gate at ground with a 2.2K R, then short the base HI (12V here) to turn it on (quickly, and shortly) before letting it go back to ground. Seems to work with no ringing at GND after coil is off. Or, just use an arduino and wire to IO. + +Also, I definitely did blow some of the Mosfets, without the diode on the motor. They have their own protection, but that isn't enough by itself. + +In other news, the bell is looking like a better solution than the speaker I considered before. More moving parts, but worth it. + +\section{Basic Circuit Ready} +I have built the circuit with a to220 mosfet, with 12V on the source, and powered by a 5V IO from an Arduino uno going through a 1K resistor before hitting the gate. It hits the gate at 1.3V about. Around 1Volt, it lightly sets off the actuator, 1.06V the actuator is fully activated. + +Wanted to use a 555, but no time for that today. Next step is to build the enclosure around everything, so the bell is hit correctly. Wood may be too much of a fire hazard. Need to think about this. Looking up building materials that are resilient to fire comes up with stone, basically. Glass, concrete, stucco, gypsum, and brick. I like the glass option. I think I will go with that. Not going to be easy, but fireproof. I have a lot of glass hanging around after demoing some windows. Another option might be to use some drywall, and build something with joint compound. A type of wall box... Hm... Easier than glass. Either that or a plastic box, larger than I have. Or, metal box. + +\subsection{Breaking the Actuator} +Actuators are like brushed motors, in that there is a connection from the coil. I have a jigsaw with two brushes on the side. They are these carbon blocks. Actuators are the same, yet the spring is the brush. + +Today I was assembling everything for final deployment, and I accidentally hit the spring with a screwdriver. The spring broke, and I was unable to find a replacement in my box of springs. + +Replacement part needed. It also turns out that the actuator wasn't really loud enough. I'm goint to spec one that is a bit stronger. + +Other than that, everything is built. +\\ + +\includegraphics[scale=0.4]{../pics/DSCN2702.JPG} +\captionof{figure}{Early build.} + +\end{document} + diff --git a/Door_Chime/docs/9.tex~ b/Door_Chime/docs/9.tex~ new file mode 100644 index 0000000..1981420 --- /dev/null +++ b/Door_Chime/docs/9.tex~ @@ -0,0 +1,117 @@ + +\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. + +EDIT: I was able to get expected results from the 2N7000, by not forgetting the diode across the motor. Put gate low, it is off. Put gate high, it is on. However, it latches. I have to put the gate low again in order to get it to turn off... + +A solution to rememdy this is to hold the base/gate at ground with a 2.2K R, then short the base HI (12V here) to turn it on (quickly, and shortly) before letting it go back to ground. Seems to work with no ringing at GND after coil is off. Or, just use an arduino and wire to IO. + +Also, I definitely did blow some of the Mosfets, without the diode on the motor. They have their own protection, but that isn't enough by itself. + +In other news, the bell is looking like a better solution than the speaker I considered before. More moving parts, but worth it. + +\section{Basic Circuit Ready} +I have built the circuit with a to220 mosfet, with 12V on the source, and powered by a 5V IO from an Arduino uno going through a 1K resistor before hitting the gate. It hits the gate at 1.3V about. Around 1Volt, it lightly sets off the actuator, 1.06V the actuator is fully activated. + +Wanted to use a 555, but no time for that today. Next step is to build the enclosure around everything, so the bell is hit correctly. Wood may be too much of a fire hazard. Need to think about this. Looking up building materials that are resilient to fire comes up with stone, basically. Glass, concrete, stucco, gypsum, and brick. I like the glass option. I think I will go with that. Not going to be easy, but fireproof. I have a lot of glass hanging around after demoing some windows. Another option might be to use some drywall, and build something with joint compound. A type of wall box... Hm... Easier than glass. Either that or a plastic box, larger than I have. Or, metal box. + +\subsection{Breaking the Actuator} +Actuators are like brushed motors, in that there is a connection from the coil. I have a jigsaw with two brushes on the side. They are these carbon blocks. Actuators are the same, yet the spring is the brush. + +Today I was assembling everything for final deployment, and I accidentally hit the spring with a screwdriver. The spring broke, and I was unable to find a replacement in my box of springs. + +Replacement part needed. It also turns out that the actuator wasn't really loud enough. I'm goint to spec one that is a bit stronger. + +Other than that, everything is built. + +\end{document} + diff --git a/Door_Chime/docs/9.toc b/Door_Chime/docs/9.toc new file mode 100644 index 0000000..809659e --- /dev/null +++ b/Door_Chime/docs/9.toc @@ -0,0 +1,8 @@ +\contentsline {section}{\numberline {1}Overview}{1} +\contentsline {section}{\numberline {2}BOM}{2} +\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} +\contentsline {section}{\numberline {5}Basic Circuit Ready}{5} +\contentsline {subsection}{\numberline {5.1}Breaking the Actuator}{5} diff --git a/Door_Chime/docs/fin.tex b/Door_Chime/docs/fin.tex new file mode 100644 index 0000000..6e5b2d0 --- /dev/null +++ b/Door_Chime/docs/fin.tex @@ -0,0 +1,117 @@ + +\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. + +EDIT: I was able to get expected results from the 2N7000, by not forgetting the diode across the motor. Put gate low, it is off. Put gate high, it is on. However, it latches. I have to put the gate low again in order to get it to turn off... + +A solution to rememdy this is to hold the base/gate at ground with a 2.2K R, then short the base HI (12V here) to turn it on (quickly, and shortly) before letting it go back to ground. Seems to work with no ringing at GND after coil is off. Or, just use an arduino and wire to IO. + +Also, I definitely did blow some of the Mosfets, without the diode on the motor. They have their own protection, but that isn't enough by itself. + +In other news, the bell is looking like a better solution than the speaker I considered before. More moving parts, but worth it. + +\section{Basic Circuit Ready} +I have built the circuit with a to220 mosfet, with 12V on the source, and powered by a 5V IO from an Arduino uno going through a 1K resistor before hitting the gate. It hits the gate at 1.3V about. Around 1Volt, it lightly sets off the actuator, 1.06V the actuator is fully activated. + +Wanted to use a 555, but no time for that today. Next step is to build the enclosure around everything, so the bell is hit correctly. Wood may be too much of a fire hazard. Need to think about this. Looking up building materials that are resilient to fire comes up with stone, basically. Glass, concrete, stucco, gypsum, and brick. I like the glass option. I think I will go with that. Not going to be easy, but fireproof. I have a lot of glass hanging around after demoing some windows. Another option might be to use some drywall, and build something with joint compound. A type of wall box... Hm... Easier than glass. Either that or a plastic box, larger than I have. Or, metal box. + +\subsection{Breaking the Actuator} +Actuators are like brushed motors, in that there is a connection from the coil. I have a jigsaw with two brushes on the side. They are these carbon blocks. Actuators are the same, yet the spring is the brush. + +Today I was assembling everything for final deployment, and I accidentally hit the spring with a screwdriver. The spring broke, and I was unable to find a replacement in my box of springs. + +Replacement part needed. It also turns out that the actuator wasn't really loud enough. I'm goint to spec one that is a bit stronger. + +Other than that, everything is built. + +\end{document} + diff --git a/Door_Chime/docs/fin2.tex b/Door_Chime/docs/fin2.tex new file mode 100644 index 0000000..c54bbcf --- /dev/null +++ b/Door_Chime/docs/fin2.tex @@ -0,0 +1,4 @@ + + +test mport + diff --git a/Door_Chime/movies/DSCN2703.webm b/Door_Chime/movies/DSCN2703.webm new file mode 100644 index 0000000..502ea13 Binary files /dev/null and b/Door_Chime/movies/DSCN2703.webm differ diff --git a/EL_Wire/pics/DSCN2737.JPG b/EL_Wire/pics/DSCN2737.JPG new file mode 100644 index 0000000..a3a54a1 Binary files /dev/null and b/EL_Wire/pics/DSCN2737.JPG differ diff --git a/EL_Wire/pics/DSCN2738.JPG b/EL_Wire/pics/DSCN2738.JPG new file mode 100644 index 0000000..ef3b308 Binary files /dev/null and b/EL_Wire/pics/DSCN2738.JPG differ diff --git a/EL_Wire/pics/DSCN2739.JPG b/EL_Wire/pics/DSCN2739.JPG new file mode 100644 index 0000000..0555b7c Binary files /dev/null and b/EL_Wire/pics/DSCN2739.JPG differ diff --git a/EL_Wire/pics/DSCN2740.JPG b/EL_Wire/pics/DSCN2740.JPG new file mode 100644 index 0000000..0497a0f Binary files /dev/null and b/EL_Wire/pics/DSCN2740.JPG differ