Arduino Pin Setup - giokincade/autolocator GitHub Wiki

Inputs

  1. Pushbutton: Record
  2. Pushbutton: Play
  3. Pushbutton: Stop
  4. Pushbutton: Rewind
  5. Pushbutton: Fast Forward
  6. Pushbutton: 1
  7. Pushbutton: 2
  8. Pushbutton: 3
  9. Pushbutton: 4
  10. Pushbutton: 5
  11. Pushbutton: 6
  12. Pushbutton: 7
  13. Pushbutton: 8
  14. Pushbutton: 9
  15. Pushbutton: 0
  16. Pushbutton: Store
  17. Pushbutton: Recall
  18. Pushbutton: Locate
  19. Pushbutton: Reset
  20. Pushbutton: Return To Zero
  21. Pushbutton: Speed Toggle
  22. Tape Machine: Pulse
  23. Tape Machine: Pulse Direction

Outputs

  1. LCD
  2. Tape Machine: Record Switch
  3. Tape Machine: Play Switch
  4. Tape Machine: Stop Switch
  5. Tape Machine: Fast Forward Switch
  6. Tape Machine: Rewind Switch
  7. Tape Machine: Motor Enable
  8. Tape Machine: Motor Direction
  9. Tape Machine: Motor Speed 0-10V

Arduino Digital Pin Assignments (up to 14 with Uno)

  1. D0 OUTPUT: Multiplexer 1 A
  2. D1 OUTPUT: Multiplexer 1 B
  3. D2 OUTPUT: Multiplexer 1 C
  4. D3 OUTPUT: Multiplexer 1 D
  5. D4 OUTPUT: Multiplexer 2 A
  6. D5 OUTPUT: Multiplexer 2 B
  7. D6 OUTPUT: Multiplexer 2 C
  8. D7 OUTPUT: Multiplexer 2 D
  9. D8 OUTPUT: Record Switch
  10. D9 OUTPUT: Play Switch
  11. D10 OUTPUT: Stop Switch
  12. D11 OUTPUT: Fast Forward Switch
  13. D12 OUTPUT: Rewind Switch
  14. D13 OUTPUT: Motor Switch

Arduino Analog Pin Assignments (up to 6 with Uno)

  1. A0 INPUT: Multiplexer 1 COM
  2. A1 INPUT: Multiplexer 2 COM
  3. A2 OUTPUT: Motor direction (digital)
  4. A3 OUTPUT: Motor speed (voltage should be amped in another circuit)
  5. LCD analog as digital?
  6. LCD analog as digital?

Notes

  • This setup uses x2 CD4067BE multiplexers. Each one uses 4 digital pins and 1 analog pin and allows us to have 16 digital inputs
  • I'm pretty sure I'm missing some of the machine commands we need to be able to send, for example controlling the motor directly. Can you add to the list of inputs/outputs?
  • Exact LCD component has not been decided yet so I'm not sure how many pins it'll require.
  • We're cutting it close to maxing out our pins. We may need to use a shift register to add 8 outputs. If we do, the 74HC164 should be enough.