Seite 1 von 1

Technical data XS motor ?

Verfasst: 18 Mai 2017, 09:50
von hvn
Hi,

I want to control an XS motor by RaspberryPi. On Arduino I'm able to control the XS motor just fine by adjusting voltage as well as pulsewidthmodulation (pwm),

However, on the RPi the pwm doesn't fully do its job . I'm using 2 different pwm libraries. One recommended to control a pwm motor seems not to work. The other for controlling an LED does work but doesn't do anything on the motor. Which makes me wonder what the exact technical data for pwm is for the XS motor. Can someone tell me of should I ask ft support?

Thanks,

hvn

Re: Technical data XS motor ?

Verfasst: 18 Mai 2017, 14:39
von davidrpf
Hi,

Do you directly connect the XS motor to one of the PWM GPIO Pins of the Raspberry Pi / Arduino? If yes, you can badly damage your microcontroller because the current might be too high.

If no what kind of H-bridge / Relais / MOSFET do you use? Basically, a PWM library to fade a LED should be fine as long as the transistor is supplied with 9 Volts.

Best regards
David

Re: Technical data XS motor ?

Verfasst: 18 Mai 2017, 14:56
von hvn
Hi,

No..never directly. Whenever I connect something to the GPIO, there's always at least a resistor in between. In this case, there's a resistor/transitor circuit between the GPIO and the motor as recommended by various info sources. I would prefer an H-bridge, but the hardware I found online isn't/wasn't available anymore. Still stands the question: since the (RPIO.PWM) library has been tested (by someone) it apparently works. And yes, the LED gives no problem (wiringpi library).

Thanks

hvn

Re: Technical data XS motor ?

Verfasst: 18 Mai 2017, 19:49
von thkais
Hi,

do you use PWM-frequencies in kHz-range?
Try out 100-200 Hz (not kHz)

Re: Technical data XS motor ?

Verfasst: 19 Mai 2017, 13:00
von H.A.R.R.Y.
Hello hvn,

technical data about the XS (137096) you find here: https://www.ftcommunity.de/data/downloa ... 96_neu.pdf

Regards
H.A.R.R.Y.

Re: Technical data XS motor ?

Verfasst: 25 Mai 2017, 12:20
von hvn
Hi thkais and H.A.R.R.Y.,

Thank you for the information.

hvn