|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
what is the maximum output on the PWM while programming in LabView? we are trying to create a program that will slow the speed of the motors with the push of a button, but in order to do that we need to know what the output of the motors are
|
|
#2
|
||||
|
||||
|
Re: PWM maximum outputs
nevermind we found if haha it's 1
![]() |
|
#3
|
||||
|
||||
|
Re: PWM maximum outputs
sort of a sub-question...i know the output values are -1 to +1, but what is the resolution? i am used to the old 0-255, but with the -1.0 to +1.0, what is the resolution if I want to increment the drive output?
|
|
#4
|
|||
|
|||
|
Re: PWM maximum outputs
I can't tell you the absolute numbers, but I will add that if you view this as a mathematical expression it isn't necessary to know the resolution. The reason for choosing -1 to 1 was to allow for different resolutions and easier ways of thinking about the task. If you decide you want it linear and lets say limited to half speed, instead of wiring the joystick values to drive, wire the values over 2. If you want a third, divide by 3. If you want it to be a parabola, do the math to decide what shape you want (probably j*j/3). Anyway, that way you can easily probe what goes into the drive.
Greg McKaskle |
|
#5
|
|||||
|
|||||
|
Re: PWM maximum outputs
You can get the actual 8-bit numbers by delving slightly into the Motor Open vi's and the Servo Open vi. The Victors are something like 40 to 210 with a center around 133. The Jaguars are something like 3 to 252, with a center at 127. Servos are 11 to 240 or so. The numbers that define the range are the minNegativePWM and maxPositivePWM values in the PWM reference cluster.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Use of PWM outputs 13-16 via WPILib | sfs | Programming | 1 | 29-01-2008 09:47 |
| Problem with PWM outputs on RC | Adam Richards | Control System | 1 | 20-02-2007 06:37 |
| pwm outputs vs. joystick y-axis | stephenthe1 | Programming | 4 | 01-12-2004 17:29 |
| Trouble with pwm outputs | misterikkit | Programming | 16 | 17-01-2004 10:56 |
| relay and pwm outputs | nick_champ_2 | Electrical | 1 | 31-01-2003 13:08 |