Technical data XS motor ?

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
hvn
Beiträge: 256
Registriert: 20 Feb 2011, 11:15

Technical data XS motor ?

Beitrag von hvn » 18 Mai 2017, 09:50

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

davidrpf
Beiträge: 252
Registriert: 14 Jul 2015, 14:27
Kontaktdaten:

Re: Technical data XS motor ?

Beitrag von davidrpf » 18 Mai 2017, 14:39

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
Polarkoordinaten Plotter https://youtu.be/u6XwKxZuxqk
Autofabrik: https://youtu.be/mX9JWcca6kQ

hvn
Beiträge: 256
Registriert: 20 Feb 2011, 11:15

Re: Technical data XS motor ?

Beitrag von hvn » 18 Mai 2017, 14:56

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

thkais
Beiträge: 381
Registriert: 31 Okt 2010, 21:45

Re: Technical data XS motor ?

Beitrag von thkais » 18 Mai 2017, 19:49

Hi,

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

Benutzeravatar
H.A.R.R.Y.
Beiträge: 1083
Registriert: 01 Okt 2012, 08:38
Wohnort: Westpfalz

Re: Technical data XS motor ?

Beitrag von H.A.R.R.Y. » 19 Mai 2017, 13:00

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.
[42] SURVIVE - or die trying

hvn
Beiträge: 256
Registriert: 20 Feb 2011, 11:15

Re: Technical data XS motor ?

Beitrag von hvn » 25 Mai 2017, 12:20

Hi thkais and H.A.R.R.Y.,

Thank you for the information.

hvn

Antworten