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

69 lines
1.7 KiB

3 years ago
3 years ago
3 years ago
  1. \documentclass[11pt]{article}
  2. %Gummi|065|=)
  3. \usepackage{graphicx}
  4. \usepackage{caption}
  5. \usepackage{xcolor}
  6. \usepackage[vcentering,dvips]{geometry}
  7. \geometry{papersize={6in,9in},total={4.5in,6.8in}}
  8. \title{\textbf{}}
  9. \author{Steak Electronics}
  10. \date{}
  11. \begin{document}
  12. \maketitle
  13. %\tableofcontents
  14. \textcolor{green!60!blue!70}{
  15. \section{60Hz Divider}}
  16. \subsection{Counting the Hz}
  17. pseudo code goal:
  18. \begin{verbatim}
  19. Using 1Hz signal
  20. Start counting 1MHz every 1Hz
  21. when next cycle is received,
  22. display count
  23. start counting again
  24. \end{verbatim}
  25. That's all the objective is here. Easy with a micro, but goal is to complete using cmos or 74 logic.
  26. 4553 x 5
  27. 74hct132
  28. 1MHz clock (or 6MHz clock), or some variation thereof
  29. jk flip flop
  30. 74376 - quad jk flip flop
  31. 7476 - jk flip flop
  32. 1mhz clk will be main counter,
  33. 6 hz or 1 hz will be latch / reset
  34. \subsection{MAX7219 8 digit 7 LED segment Display Driver}
  35. Basic code tested with this was the LedControl arduino library.
  36. /begin{verbatim}
  37. /*
  38. Now we need a LedControl to work with.
  39. ***** These pin numbers will probably not work with your hardware *****
  40. pin 12 is connected to the DataIn
  41. pin 11 is connected to the CLK
  42. pin 10 is connected to LOAD
  43. We have only a single MAX72XX.
  44. */
  45. \end{verbatim}
  46. Some of the lines have to be edited to allow for all digits to be read, and
  47. also to lower intensity of display. I think also a component package (dark
  48. grey clear plastic bag) in front of the leds with intensity 1 is about right.
  49. \subsection{CPLD Programming}
  50. Using the XC9500XL series. This chip has some limitations - which are good.
  51. As you get faster clocks, you need bigger registers to handle parsing the clocks.
  52. bigger registers, use more power.
  53. \end{document}