Difference between revisions of "Trim Controller"

From Bearhawk
Jump to navigation Jump to search
Line 17: Line 17:
  
 
* (1) DRV8871 Motor controller
 
* (1) DRV8871 Motor controller
* (1) digital pot
+
* (1) digital pot MCP4651 (not MCP[1|2]XX because those are SPI which needs more pins)
  
 
Inputs are:
 
Inputs are:
Line 30: Line 30:
 
# Encoder A
 
# Encoder A
 
# Encoder B
 
# Encoder B
 +
# Trim up (both up/down goto neutral)
 +
# Trim down (both up/down goto neutral)
 
# Trim up (both up/down goto neutral)
 
# Trim up (both up/down goto neutral)
 
# Trim down (both up/down goto neutral)
 
# Trim down (both up/down goto neutral)
 
# Motor IN 1
 
# Motor IN 1
 
# motor IN 2
 
# motor IN 2
# transistor for driving discrete active high to > 8v
+
# transistor for sinking current to discrete input.

Revision as of 19:36, 10 December 2023

Idea for vendor to make the boards https://www.pcbway.com/

Trim system controller is based on this board:

https://www.rugged-circuits.com/microcontroller-boards/ruggeduino-smalls-tcrmx

Which has the same pinout of this board:

Uno.jpg

Power supply circuit:

ClipCapIt-220222-144720.PNG

We also need the following:

  • (1) DRV8871 Motor controller
  • (1) digital pot MCP4651 (not MCP[1|2]XX because those are SPI which needs more pins)

Inputs are:

ADC

  1. ADC for linear resistor 1
  2. ADC for linear resistor 2
  3. ADC 4 for i2c
  4. ADC 5 for i2c

Digital

  1. Encoder A
  2. Encoder B
  3. Trim up (both up/down goto neutral)
  4. Trim down (both up/down goto neutral)
  5. Trim up (both up/down goto neutral)
  6. Trim down (both up/down goto neutral)
  7. Motor IN 1
  8. motor IN 2
  9. transistor for sinking current to discrete input.