Arduino Pin Setup - giokincade/autolocator GitHub Wiki
Inputs
Pushbutton: Record
Pushbutton: Play
Pushbutton: Stop
Pushbutton: Rewind
Pushbutton: Fast Forward
Pushbutton: 1
Pushbutton: 2
Pushbutton: 3
Pushbutton: 4
Pushbutton: 5
Pushbutton: 6
Pushbutton: 7
Pushbutton: 8
Pushbutton: 9
Pushbutton: 0
Pushbutton: Store
Pushbutton: Recall
Pushbutton: Locate
Pushbutton: Reset
Pushbutton: Return To Zero
Pushbutton: Speed Toggle
Tape Machine: Pulse
Tape Machine: Pulse Direction
Outputs
LCD
Tape Machine: Record Switch
Tape Machine: Play Switch
Tape Machine: Stop Switch
Tape Machine: Fast Forward Switch
Tape Machine: Rewind Switch
Tape Machine: Motor Enable
Tape Machine: Motor Direction
Tape Machine: Motor Speed 0-10V
Arduino Digital Pin Assignments (up to 14 with Uno)
D0 OUTPUT: Multiplexer 1 A
D1 OUTPUT: Multiplexer 1 B
D2 OUTPUT: Multiplexer 1 C
D3 OUTPUT: Multiplexer 1 D
D4 OUTPUT: Multiplexer 2 A
D5 OUTPUT: Multiplexer 2 B
D6 OUTPUT: Multiplexer 2 C
D7 OUTPUT: Multiplexer 2 D
D8 OUTPUT: Record Switch
D9 OUTPUT: Play Switch
D10 OUTPUT: Stop Switch
D11 OUTPUT: Fast Forward Switch
D12 OUTPUT: Rewind Switch
D13 OUTPUT: Motor Switch
Arduino Analog Pin Assignments (up to 6 with Uno)
A0 INPUT: Multiplexer 1 COM
A1 INPUT: Multiplexer 2 COM
A2 OUTPUT: Motor direction (digital)
A3 OUTPUT: Motor speed (voltage should be amped in another circuit)
LCD analog as digital?
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.