Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] Proximity sensor interfacing PIC18F4550

Status
Not open for further replies.

rahulsiva

Member level 1
Member level 1
Joined
Jan 23, 2015
Messages
34
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Location
coimbatore
Visit site
Activity points
208
HI..
i using picf184550 ic...interface using proimity sensor ...pls guide how to work or program me to do...do it..i need output in form of RPM
 

hello,

give us the reference of your sensor.
Industrial proximity sensor works at 24V DC nominal value...
but somes of them can be used at 12or 9V.
if sensor supply is taken before 5V regulator..


you have a chance to use it with MCU input.
i allready did it successfully , to count rotation tours of a home trainer bicycle.

or you can use a hall effect sensor + magnet..
with 5V power supply.
 

i have select Hall-Effect Sensor(magnet) of work @ 5-12 VDC..using in motor shaft non-contact sensor.OUTPUT of +5v-0v.(in form of square waveform).I need input signal to PIC18F4550 & calculate time for each one pulse and how many rotation for 1 min & stop time also to be measure...
 

so, you can use RA4 input as entry for counter TMR0...
arme another timer ex: Timer1 16bits to do the 1minute window time...
lets the Timer0 count the pulses .. don't forget to check if timer0 overflow
and end of timer1 (One minute) stop timer0 counter
get the result
and display it.. (on LCD, RS232 terminal ,or via USB)

FOSC of PIC ? quartz ? PLL used ?
what is the maximum RPM/mn ?
do you have one pulse per tour ?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top