#Remapping resources

49 messages · Page 1 of 1 (latest)

hard wagon
#

in this board, 3 motors are wired, and a servo to LED pad. I'm not using Motor 4 and 5, and UART2.
I still need to connect another servo and a brushed ESC(Used to turn on a device). Can I do that utilizing left over resources ?

resource

resource BEEPER 1 B02
resource MOTOR 1 B04
resource MOTOR 2 B05
resource MOTOR 3 B06
resource MOTOR 4 B07
resource MOTOR 5 B03
resource SERVO 1 A08
resource PPM 1 A03
resource SERIAL_TX 1 A09
resource SERIAL_TX 2 A02
resource SERIAL_RX 1 A10
resource SERIAL_RX 2 A03
resource I2C_SCL 1 B08
resource I2C_SDA 1 B09
resource LED 1 C13
resource SPI_SCK 1 A05
resource SPI_SCK 2 B13
resource SPI_MISO 1 A06
resource SPI_MISO 2 B14
resource SPI_MOSI 1 A07
resource SPI_MOSI 2 B15
resource CAMERA_CONTROL 1 B10
resource ADC_BATT 1 B00
resource ADC_CURR 1 B01
resource FLASH_CS 1 A15
resource OSD_CS 1 B12
resource GYRO_EXTI 1 A01
resource GYRO_CS 1 A04
resource USB_DETECT 1 C15

worthy sierra
#

What FC?

#

Can you post a full dump?

#

What input does the brushed ESC require?

hard wagon
hard wagon
worthy sierra
#

What FC is it? Do you have a wiring guide?

#

If you're not using UART2, you should be able to use the TX2 and RX2 pads for servo/PWM output

#

A02 and A03 (TX2 and RX2) can be mapped to TIM2, TIM5, and TIM9

hard wagon
#

but UART1 should work for that I believe.

worthy sierra
hard wagon
worthy sierra
#

Either should work, but we'll need to assign timer resources for UART1

#

The config already has them assigned for UART2

hard wagon
#

okay, I'll put back Rx to UART1

worthy sierra
#

Wiring servo and brushed ESC to UART2:

resource SERIAL_RX 2 NONE
resource SERVO 2 A02
resource SERVO 3 A03
save```
hard wagon
#

in which pad should I solder the esc signal wire, to rx or tx ?

hard wagon
worthy sierra
#

RSSI for ELRS? Yes, it comes via CRSF telemetry

hard wagon
worthy sierra
#

What?

#

Servos should be closed loop

hard wagon
#

It's a Triflight setup on BF

worthy sierra
#

Are open loop servos even supported by BF? I've never heard of that

#

It does not look like this FC has any ADC pads broken out, so that won't be possible

hard wagon
#

Thanks brother

hard wagon
#

@worthy sierra The servo is working but the esc is not. I couldn't get it to work, I've tried to remap motor 4 to servo 3 but it didn't work too

worthy sierra
hard wagon
worthy sierra
#

What does the manual say?

hard wagon
#

I'm trying now via LED STRIP, I've remapped motor 4 to an LED strip

#

i don't have it anymore..

worthy sierra
#

Google exists

hard wagon
#

Signal : ppm

worthy sierra
#

How are you powering the ESC? Are any LEDs on?

#

Usual calibration procedure is to power on the ESC when throttle is at max, wait for a blink, lower throttle to min, wait for a blink

hard wagon
worthy sierra
#

Can the step down converter supply enough power?

hard wagon
worthy sierra
#

Have you calibrated the ESC?

hard wagon