Difference between revisions of "Trim Controller"

From Bearhawk
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Idea for vendor to make the boards
+
=Possible configurations=
https://www.pcbway.com/
 
  
Trim system controller is based on this board:
+
* Input pins: 24, 11, 23, 10
 +
* Input pins with external pull up: 9, 22
  
https://www.rugged-circuits.com/microcontroller-boards/ruggeduino-smalls-tcrmx
+
==Button combos==
  
Which has the same pinout of this board:
+
===Single or dual elevator trim with neutral and trim wheel===
 +
* Pilot and co-pilot: UP pin 24
 +
* Pilot and co-pilot: Down pin 11
 +
* Pilot and co-pilot: Neutral pin 23
 +
* Trim wheel: pin 9 and 22
  
[[File:uno.jpg|500px]]
+
===Single or dual elevator trim with neutral and trim wheel and speed sense===
 +
* Pilot and co-pilot: UP pin 24
 +
* Pilot and co-pilot: Down pin 11
 +
* Pilot and co-pilot: Neutral pin 23
 +
* Trim wheel: pin 9 and 22
 +
* Speed sensor: pin 10
  
Power supply circuit:
+
===Single Elevator and Single rudder/aileron trim with neutral===
 +
* Pilot and co-pilot: UP pin 24
 +
* Pilot and co-pilot: Down pin 11
 +
* Pilot and co-pilot: Neutral pin 23
 +
* Pilot and co-pilot: Rudder or aileron up pin 9 (requires external pull up resistor)
 +
* Pilot and co-pilot: Rudder or aileron down pin 22 (requires external pull up resistor)
 +
* Pilot and co-pilot: Rudder or aileron neutral pin 10
  
:[[File:ClipCapIt-220222-144720.PNG]]
+
===Single Elevator with neutral and Single rudder/aileron with speed sense===
 +
* Pilot and co-pilot: UP pin 24
 +
* Pilot and co-pilot: Down pin 11
 +
* Pilot and co-pilot: Neutral pin 23
 +
* Pilot and co-pilot: Rudder or aileron up pin 9 (requires external pull up resistor)
 +
* Pilot and co-pilot: Rudder or aileron down pin 22 (requires external pull up resistor)
 +
* Speed sensor: pin 10
  
We also need the following:
+
===Fixed===
 
+
* Master warning: pin 21
* (1) DRV8871 Motor controller
+
* Master caution: pin 8
* (1) digital pot MCP4651 (not MCP[1|2]XX because those are SPI which needs more pins)
+
* Autopilot input: pin 7 and 20
 
+
* Analog output for trim position: pin 6 and 19
Inputs are:
+
* Trim A sense and power: pin 1, 14, 2, 15, and 16
 
+
* Trim B sense and power: pin 3, 4, 5, 17, and 18
ADC
 
# ADC for linear resistor 1
 
# ADC for linear resistor 2
 
# ADC 4 for i2c
 
# ADC 5 for i2c
 
 
 
Digital
 
# Encoder A
 
# Encoder B
 
# Trim up (both up/down goto neutral)
 
# Trim down (both up/down goto neutral)
 
# Trim up (both up/down goto neutral)
 
# Trim down (both up/down goto neutral)
 
# Motor IN 1
 
# motor IN 2
 
# transistor for sinking current to discrete input.
 

Latest revision as of 20:12, 27 January 2024

Possible configurations

  • Input pins: 24, 11, 23, 10
  • Input pins with external pull up: 9, 22

Button combos

Single or dual elevator trim with neutral and trim wheel

  • Pilot and co-pilot: UP pin 24
  • Pilot and co-pilot: Down pin 11
  • Pilot and co-pilot: Neutral pin 23
  • Trim wheel: pin 9 and 22

Single or dual elevator trim with neutral and trim wheel and speed sense

  • Pilot and co-pilot: UP pin 24
  • Pilot and co-pilot: Down pin 11
  • Pilot and co-pilot: Neutral pin 23
  • Trim wheel: pin 9 and 22
  • Speed sensor: pin 10

Single Elevator and Single rudder/aileron trim with neutral

  • Pilot and co-pilot: UP pin 24
  • Pilot and co-pilot: Down pin 11
  • Pilot and co-pilot: Neutral pin 23
  • Pilot and co-pilot: Rudder or aileron up pin 9 (requires external pull up resistor)
  • Pilot and co-pilot: Rudder or aileron down pin 22 (requires external pull up resistor)
  • Pilot and co-pilot: Rudder or aileron neutral pin 10

Single Elevator with neutral and Single rudder/aileron with speed sense

  • Pilot and co-pilot: UP pin 24
  • Pilot and co-pilot: Down pin 11
  • Pilot and co-pilot: Neutral pin 23
  • Pilot and co-pilot: Rudder or aileron up pin 9 (requires external pull up resistor)
  • Pilot and co-pilot: Rudder or aileron down pin 22 (requires external pull up resistor)
  • Speed sensor: pin 10

Fixed

  • Master warning: pin 21
  • Master caution: pin 8
  • Autopilot input: pin 7 and 20
  • Analog output for trim position: pin 6 and 19
  • Trim A sense and power: pin 1, 14, 2, 15, and 16
  • Trim B sense and power: pin 3, 4, 5, 17, and 18