Bear Metal Help

Claw

Power and wiring

Battery

The lugs marked + and − at the CAN end take the battery, at 16.3 to 53 V. The rest of the ratings are in Electrical .

The small hole on the inner edge of each battery lug takes a lead of an electrolytic capacitor across the battery: the positive lead in the + lug, the negative lead in the − lug.

The ESC needs only the battery to run. The 5V on the CAN connectors passes between CAN_A and CAN_B and does not reach the ESC.

Motor

The three lugs at the other end take the motor phases, one wire to each lug in any order. Swapping any two wires reverses the motor. DIR_REVERSED reverses it without rewiring, see Motor parameters .

CAN

The top side: CAN_B and CAN_A between the battery lugs, their pin labels 5V, Hi, Lo and GND beside CAN_A

CAN_A and CAN_B are on the top side, between the battery lugs. They are the same bus. Connect the autopilot or the previous device to one, and the next device to the other.

Both are JST GH, 1.25 mm pitch, 4 pins (SM04B-GHS-TB), with the same pinout:

Pin Signal
1 5V
2 CAN_H
3 CAN_L
4 GND

Pin 1 of CAN_A connects to pin 1 of CAN_B and to nothing else on the board. It passes the 5 V of the chain on to the devices beyond the ESC.

The pin order matches the Karu CAN ports , so a 4-pin JST GH cable wired pin to pin connects the two.

Termination

Terminate the bus with 120 Ω at each end. The ESC has a terminator that CAN_TERM_ENABLE switches, 0 (off) by default. Set it to 1 on an ESC at an end of the bus and leave it at 0 on every other ESC. The ESC applies the setting within a second, without a reboot.

Signal connector

The bottom side: the signal connector between the battery lugs, labelled Vsense, Isense, Tel, Sig and GND

The signal connector is on the bottom side, between the battery lugs. It takes DShot or PWM from the autopilot, and returns telemetry and the analogue battery voltage and current.

JST GH, 1.25 mm pitch, 5 pins (SM05B-GHS-TB).

Pin Label Signal Direction
1 Vsense VSENSE, battery voltage out
2 Isense ISENSE, battery current out
3 Tel TELEMETRY, serial out
4 Sig INPUT, DShot or PWM in
5 GND GND

Throttle input

Connect INPUT and GND to one motor output of the autopilot. INPUT accepts DShot or PWM, and the ESC detects which one arrives. Which inputs the ESC listens to is set by INPUT_SIGNAL_TYPE, see Choosing the input .

Telemetry

TELEMETRY sends a KISS telemetry frame at 115200 baud each time a DShot command asks for one. Connect it to the RX pin of a free serial port on the autopilot.

Battery voltage and current

VSENSE and ISENSE are analogue outputs for an autopilot ADC input:

Pin Scale At full scale
VSENSE battery voltage ÷ 19.33 2.74 V at 53 V
ISENSE 30 mV/A 3.3 V at 110 A

VSENSE is the battery divider itself, 33 kΩ over 1.8 kΩ, with a source impedance of 1.7 kΩ. An ADC input that loads it reads low. ISENSE is the output of the current-sense amplifier.

In PX4 set BAT1_V_DIV to 19.33 and BAT1_A_PER_V to 33.3 for an ADC input that reads the pins directly.

Wiring diagrams

The numbers above each connector are its pin numbers.

DroneCAN

The autopilot connects to CAN_A and the next device on the bus to CAN_B. The signal connector on the bottom side stays unconnected: set INPUT_SIGNAL_TYPE to 5, see Choosing the input .

Wiring diagram over the top side of Claw: battery positive to the + lug and negative to the − lug, an electrolytic capacitor across the small holes of the two lugs with its leads hopping over the CAN leads they cross, the three motor phases to the three lugs at the other end, CAN_A wired 5V, CAN_H, CAN_L, GND pin to pin to the autopilot CAN1 port, and CAN_B wired the same to the next ESC or device, or left free with CAN_TERM_ENABLE set to 1 on the last ESC of the bus

DShot or PWM

The signal connector on the bottom side connects to the autopilot. Sig and GND are the throttle input and are required. Tel and the two sense outputs are optional. CAN_A and CAN_B take a USB-CAN adapter to set the parameters, see Parameters .

Wiring diagram over the bottom side of Claw: battery negative to the − lug and positive to the other lug, an electrolytic capacitor across the small holes of the two lugs with its positive lead hopping over the signal leads it crosses, the three motor phases to the three lugs at the other end, and the 5-pin signal connector wired GND and Sig to a motor output of the autopilot, Tel to the RX pin of a serial port, and Isense and Vsense to two ADC inputs