Help in using the SPG30-30K

Thread Starter

nicole_yulynn

Joined Jun 7, 2011
1
Actually, I'm doing my final year project for my diploma. My project title is 12V DC Geared Motor speed control by using PIC16F877A. I faced some problem in using the 12V DC geared motor's encoder. I'm trying to use the encoder to calculate the speed.

Basically, I'm using Visual Basic 6 let the user enter the speed and convert to pulse and then send to the microcontroller and the encoder will calculate the speed and feedback to the microcontroller and the microcontroller will adjust the speed according the speed entered by user.

Did anybody used before the encoder for the SPG30-30K? I bought it from Cytron Technologies. I need help in writing the assembly code for the encoder and how to calculate the speed using encoder.. I'll be appreciated if anyone will kindly assist me.

There is some datasheet attached below.http://www.cytron.com.my/usr_attachment/MO-SPG-30E-xxxK%20Users%20Manual.pdf
http://www.cytron.com.my/usr_attachment/SPG30%20Spec.pdf
 
Top