rotary encoder

Digital Fiber, Photoelectric, Laser Range, Optical, Temperature, Rotary Encoder, Ultrasonic, Gas, Gyro, Accelerometer, FlexiBend, Flexiforce, Compass......

rotary encoder

Postby fazliedahalan » Fri Mar 22, 2013 11:35 am

i have bought Rotary Encoder C/W Coupling (500 PPR) 3806-500B-5-24F, can u show how to calculate the speed(also how to read encoder in the programming) so that the speed can print in the serial monitor.. I'm using arduino mega 2560. i hope u understand my question.. tq...
fazliedahalan
Greenhorn
 
Posts: 3
Joined: Thu Mar 21, 2013 7:34 pm

Re: rotary encoder

Postby shahrul » Fri Mar 22, 2013 1:07 pm

I always use External Interrupt to read the pulse and Timer Interrupt to calculate time. Then, from no of pulse in certain period of time, can calculate RPM.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: rotary encoder

Postby robosang » Fri Mar 22, 2013 10:44 pm

show you ar? How to show you? Write the program for you? Or explain how to write program for you?
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: rotary encoder

Postby fazliedahalan » Fri Mar 22, 2013 11:11 pm

shahrul WROTE:I always use External Interrupt to read the pulse and Timer Interrupt to calculate time. Then, from no of pulse in certain period of time, can calculate RPM.


How to show it in the program
fazliedahalan
Greenhorn
 
Posts: 3
Joined: Thu Mar 21, 2013 7:34 pm

Re: rotary encoder

Postby fazliedahalan » Fri Mar 22, 2013 11:13 pm

robosang WROTE:show you ar? How to show you? Write the program for you? Or explain how to write program for you?


Better u show me the program n explain what that program mean...
fazliedahalan
Greenhorn
 
Posts: 3
Joined: Thu Mar 21, 2013 7:34 pm

Re: rotary encoder

Postby robosang » Mon Mar 25, 2013 2:54 pm

Who have the time to do that?
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: rotary encoder

Postby kenong » Thu Apr 11, 2013 3:52 pm

I have bought a rotary encoder kit, proudct RE08A, i want to know the wire connection given, is there have differentiate the wire which connect to 5V source, and which connect to signal?
Thxs.
kenong
Greenhorn
 
Posts: 3
Joined: Thu Apr 11, 2013 3:44 pm

Re: rotary encoder

Postby robosang » Thu Apr 11, 2013 6:00 pm

kenong WROTE:I have bought a rotary encoder kit, proudct RE08A, i want to know the wire connection given, is there have differentiate the wire which connect to 5V source, and which connect to signal?
Thxs.


No User's Manual? Or Datasheet? Or Guide?
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: rotary encoder

Postby kenong » Thu Apr 11, 2013 10:00 pm

user manual does not give any information of the wire connection
kenong
Greenhorn
 
Posts: 3
Joined: Thu Apr 11, 2013 3:44 pm

Re: rotary encoder

Postby kenong » Fri Apr 12, 2013 6:06 pm

robosang WROTE:
kenong WROTE:I have bought a rotary encoder kit, proudct RE08A, i want to know the wire connection given, is there have differentiate the wire which connect to 5V source, and which connect to signal?
Thxs.


No User's Manual? Or Datasheet? Or Guide?


user manual does not give any information of the wire connection, but nvm, i get work it ad
kenong
Greenhorn
 
Posts: 3
Joined: Thu Apr 11, 2013 3:44 pm

Next

Return to Sensor

Who is online

Users browsing this forum: No registered users and 21 guests

cron