p16f84a input signal

Status
Not open for further replies.

chyun84

New Member
may i know what's the range of voltage for input pulse on porta??
what i mean is, how much voltage needed to on the pic16f84... not the supply voltage... thanks
 
See section 9.2 of the datasheet. Datasheets are wonderful things, just so full of data.

Mike.
 
what u mean by -06 to vdd+0.6???
i'm currently working on hand clapping projects.. and i get around 0-3V for each claps... so do u think the pic16f84A able to receive the signal in portA as pulses?
 
chyun84 said:
i'm currently working on hand clapping projects.. and i get around 0-3V for each claps... so do u think the pic16f84A able to receive the signal in portA as pulses?
Yes, it is. The input high voltage on RA0/1/2/3 is 2 V (with Vdd=5 V). But consider if you need some hysteresis...
 
You could use the RA4 input, it is a Schmitt trigger which helps to filter-out noise in the pulses being detected.
 
chyun84 said:
that means my 0-3v is ok and if i use RA4, it will filter out the noise izzit? thanks ^^

You are in for a big surprise.

While RA0 to RA3 works with a min. of 2V for HIGH level, the RA4 input is of a type Schmitt trigger buffer which according to the datasheet requires 0.8*Vdd input to accept as a HIGH level. That's 4V minumum for HIGH at a Vdd of 5V.
 
Hello.....I dont really think you will be very successful using
RA4 to detect positive going input voltages....yes, I agree
with LC...I think you will be surprised.

What I had to do, using RA4 of 16F84
was to use a pullup resistor to set it high
and code it to set it high and read it as
an input to detect Negative going
pulses...you will need an inverter 7404??
to invert your positive input signal.

Believe me, I have gone crazy with RA4,
thats why I have white hair. It will
easily detect positive to negative pulses.
Hope this helps....Art
 
what u mean is changing my circuit to 'normally on' condition?? but if so, then its quite hard for me to write programming using picbasic pro right?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…