|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
||||||
|
||||||
|
INPUTS work different than OUTPUTS...
The analog inputs have a 0-5V range (0-255).
The PWM outputs range from 0-254 (not 255! see other messages). The Victors map 0 to -Vbatt, 127 to 0 V, and 254 to +Vbatt. They have an H-bridge that puts the proper voltage to the motor leads. Actually, they don't really have the ability to put 6V to the motor, they just put 12V to the motor for 50% of the time. It is a very clever thing really, but for our purposes, you can imagine that you have a variable output voltage. Hope this helps. Joe J. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Obscure PBASIC for RoboEmu | rbayer | Programming | 1 | 28-03-2003 23:57 |
| Current Monitoring system questions | PyroPhin | Technical Discussion | 44 | 17-02-2003 15:34 |
| PBasic 2.5 vs. 2.0 | Anthony Kesich | Programming | 6 | 09-02-2003 22:06 |
| PBASIC access to 1 pin only | diego25 | Programming | 13 | 21-01-2002 10:55 |
| Simplifying PBasic | IDiggles | General Forum | 16 | 06-11-2001 01:36 |