Update Test StandOverview authored by Reid Schneyer's avatar Reid Schneyer
......@@ -11,11 +11,4 @@ Brandon write this part since he designed it?
same as above
# The Electronics
The stand currently uses an [Adafruit Trinket M0](https://www.adafruit.com/product/3500) to read the analog voltage from the MA3 absolute rotary encoder, calculate the position from that analog voltage, then send the position data over serial to wherever it is needed.
Below is the schematic for the test stand controller board:![schematic](uploads/f42be851e9d4bca5b6c03dc012f643ac/schematic.PNG)
The circuit is fairly straightforward. `J0` is the three pin connector used to connect to the MA3 encoder. Pin 1 is connected to ground, pin 2 is the analog output, and pin 3 is connected to the `USB` pin of the Trinket, which is directly connected to the 5V pin on the micro USB port, and is able to supply the required 5V to the sensor, even though the Trinket uses 3.3V logic. Resistors `R0` and `R1` make up a simple [voltage divider](<https://forum.arduino.cc/t/analog-level-converter/557065>). This divider scales the encoder's 0-5V output to a 0-3.3V output that the Trinket is able to use. Finally, `R2` and `SW0` are used as a way to set the "home" reading, with `R2` acting as a pull-down resistor.
![sd_test_stand_top](uploads/d4ea68ed6cb3cdd0859f99ce72790a74/sd_test_stand_top.png)
\ No newline at end of file
See here: https://git.ece.iastate.edu/danc/MicroCART/-/wikis/Test-Stand/Electronics
\ No newline at end of file