|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Can any one help us with programing the encoder to control the motor by ticks?
i got the encoders from the kit already set up and mounted on a banebot motor we are using to control our lazy susan
|
|
#2
|
|||
|
|||
|
Re: Can any one help us with programing the encoder to control the motor by ticks?
So, now you are missing code to read the encoder and compare the value of the encoder to the value that you want it to be. Then set the motor either forward, backward, or stopped depending on the error. Once you get it working to some degree, you can look at adding PID to make it be better controlled.
Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| can we control the amount of air to control the speed of the cylinder? | Team2339 | Pneumatics | 22 | 11-02-2009 15:33 |
| [FTC]: [FTC]: Can any one explain to me just how powerful the servos are? | sullivan_owns | FIRST Tech Challenge | 19 | 02-12-2008 16:06 |
| programing the vex optical shaft encoder | youngWilliam14 | Programming | 10 | 11-11-2007 16:16 |
| can anyone please tell mw where or with what can i lear programing in C | techsage | Programming | 7 | 23-08-2005 00:25 |
| Has any one stuck a drill motor in the FP trans? | Lotownvw | Motors | 15 | 21-04-2003 23:57 |