![]() |
encoder counting and onscreen feedback *ASAP
Hey,
I am working on a project and need some help. I am using a vex wheel encoder connected to a shaft which I need to see # of revolutions and RPM on my computer. I was thinking I could do this through the real time link with the controller. I really have no idea where to start and I have a signifigant time crunch on this. Also what is the max RPM that the encoder can detect, I am planning on using it at about 450 RPM. Thanks.. P.s. this is for 5:00 tonight (2/27) any help would be appreciated. |
Re: encoder counting and onscreen feedback *ASAP
1 Attachment(s)
The vex encoder ticks 90 times per revolution. That is ~700 ticks a sec. at 450 rpm. The vex controller may be able to handle that, but I haven't tried it.
You could use the terminal built into IFI/Intelitek Loader. I assume you will want to use EasyC if you're on a tight schedule. If you are not familiar with MPLab, interrupts, and timers, then you want to use EasyC. I would suggest somthing like this(this is easyC). Code:
void Main (void)I have attached an EasyC pro project(vex) with this code. |
Re: encoder counting and onscreen feedback *ASAP
Greg, did the encoder win or did you?
|
| All times are GMT -5. The time now is 04:48. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi