[PIC] PIC16F877A+hi-tech complier+proximity sensor

Status
Not open for further replies.

rahulsiva

Member level 1
Joined
Jan 23, 2015
Messages
34
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Location
coimbatore
Activity points
208
hi...i need to connect proximity sensor(NPN)...5-30v DC...to calculate the RPM....for one step (0-5v) & one min RPM...with that stop sec or pulses....

hi-compiler...pic16F877A....
give step or code ...to calculate...
 

give step or code ...to calculate...

I will recommend you to connect your proximity sensor with your controller interrupt and read your interrupt by setting your timer to 1 sec or 10 sec then multiply your result with 60 or 6 as per setting of your timer.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…