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.

66 lines
2.2 KiB

5 years ago
  1. \documentclass[11pt]{article}
  2. %Gummi|065|=)
  3. \title{\textbf{Computer Switch Board}}
  4. \author{Steak Electronics}
  5. \date{03/17/19}
  6. \begin{document}
  7. \maketitle
  8. \tableofcontents
  9. \section{Requirements}
  10. \begin{itemize}
  11. \item large pcb board
  12. \item fused power input - EDIT: instead I will have a case around the nano, 3d printed, and have the case connect into the pcb, i.e. cutouts for the case in the pcb, and clips on case. the rest of the pcb will be fused somewhere, after the nano. but nano powers it.
  13. \item arduino nano
  14. \item switch to activate things
  15. \item rotary to change number
  16. \item 7 digit display to list number, and shift register, resistors
  17. \item explanation of what numbers do on board
  18. \item 3d printed cover over nano
  19. \end{itemize}
  20. \section{build notes}
  21. The 7 segment symbols are abstracted in kicad. Job security for engineers.
  22. The example gave a common Vcc, with all pins being connected to GND, and sinked when on.
  23. The data sheet of the 7seg, omits the schematic. but does show that it is common anode, or common vcc. Pin 3 is left out, but that is VCC.
  24. It's easier to use a 10 pin connector, then to decipher the abstracted symbols.
  25. \section{button choice - Arcade style button}
  26. Digikey has an arcade style button section. There is a 24mm and 30mm panel cutout. That appears to be the standard.
  27. I'll start with 30mm.
  28. \subsection{arcade pinout}
  29. A note on the button, the led positive is denoted by a red mark of paint on the pin. The switch is the middle, with a grey box holding it. Somewhat confusing. You can test the switch with a DMM.
  30. \section{Minimal\_Read3.py}
  31. \subsection{Troubleshooting}
  32. \subsubsection{/usr/bin/env: ?python?: No such file or directory}
  33. I received this error on a fresh install of GNU Linux. I found out that my distribution had only python3 by default, not python2. So apt-get install python
  34. There was also talk about line endings and carraige returns causing this error, but not in my case.
  35. \subsubsection{ImportError: No module named serial}
  36. Then after installing python, I needed,
  37. sudo apt-get install python-serial
  38. Another approach (much more stuff)
  39. sudo pip install pyserial
  40. I did the former.
  41. Oddly enough, my other install didn't need this. I wonder what installed python serial last time...
  42. \end{document}