|
@ -0,0 +1,63 @@ |
|
|
|
|
|
|
|
|
|
|
|
\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{}} |
|
|
|
|
|
\author{Steak Electronics} |
|
|
|
|
|
\date{} |
|
|
|
|
|
\begin{document} |
|
|
|
|
|
|
|
|
|
|
|
\maketitle |
|
|
|
|
|
|
|
|
|
|
|
%\tableofcontents |
|
|
|
|
|
\textcolor{green!60!blue!70}{ |
|
|
|
|
|
\section{60Hz Divider}} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\subsection{Counting the Hz} |
|
|
|
|
|
pseudo code goal: |
|
|
|
|
|
\begin{verbatim} |
|
|
|
|
|
Using 1Hz signal |
|
|
|
|
|
Start counting 1MHz every 1Hz |
|
|
|
|
|
when next cycle is received, |
|
|
|
|
|
display count |
|
|
|
|
|
start counting again |
|
|
|
|
|
\end{verbatim} |
|
|
|
|
|
That's all the objective is here. Easy with a micro, but goal is to complete using cmos or 74 logic. |
|
|
|
|
|
|
|
|
|
|
|
4553 x 5 |
|
|
|
|
|
74hct132 |
|
|
|
|
|
1MHz clock (or 6MHz clock), or some variation thereof |
|
|
|
|
|
jk flip flop |
|
|
|
|
|
74376 - quad jk flip flop |
|
|
|
|
|
7476 - jk flip flop |
|
|
|
|
|
1mhz clk will be main counter, |
|
|
|
|
|
6 hz or 1 hz will be latch / reset |
|
|
|
|
|
|
|
|
|
|
|
\subsection{MAX7219 8 digit 7 LED segment Display Driver} |
|
|
|
|
|
Basic code tested with this was the LedControl arduino library. |
|
|
|
|
|
|
|
|
|
|
|
/begin{verbatim} |
|
|
|
|
|
/* |
|
|
|
|
|
Now we need a LedControl to work with. |
|
|
|
|
|
***** These pin numbers will probably not work with your hardware ***** |
|
|
|
|
|
pin 12 is connected to the DataIn |
|
|
|
|
|
pin 11 is connected to the CLK |
|
|
|
|
|
pin 10 is connected to LOAD |
|
|
|
|
|
We have only a single MAX72XX. |
|
|
|
|
|
*/ |
|
|
|
|
|
\end{verbatim} |
|
|
|
|
|
Some of the lines have to be edited to allow for all digits to be read, and |
|
|
|
|
|
also to lower intensity of display. I think also a component package (dark |
|
|
|
|
|
grey clear plastic bag) in front of the leds with intensity 1 is about right. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\end{document} |
|
|
|
|
|
|