Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 8th November 2007, 09:56 AM   (permalink)
Default PIC input

Hello all, I', wondering wich voltage is concidered as "0" low in PIC inputs.
"0" volt to...???

Thanks
hkit711 is offline  
Old 8th November 2007, 10:11 AM   (permalink)
Default

Why not try reading the datasheet?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 10th November 2007, 09:42 PM   (permalink)
Default

It depends on the PIC family, and what voltage you're using for Vcc.
mneary is online now  
Old 11th November 2007, 02:25 AM   (permalink)
Default

Quote:
Originally Posted by mneary
It depends on the PIC family, and what voltage you're using for Vcc.
To make matter worse, all of the above by mneary and which pin on the PIC is being used for input.

Some pins on the PIC have schmitt trigger characteristic and require higher input level than remaining pins.
__________________
L.Chung
eblc1388 is offline  
Old 11th November 2007, 09:08 AM   (permalink)
Default

Quote:
Originally Posted by hkit711
Hello all, I', wondering wich voltage is concidered as "0" low in PIC inputs.
"0" volt to...???

Thanks
As already stated, get the datasheet for your PIC. from: www.microchip.com

Search the datasheet.pdf for 'AC and DC characteristics' they are near the end of the datasheet, they tell you all you need to know.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 12th November 2007, 12:29 AM   (permalink)
Default

eblc is right though, it depends on the pin. Pin's used for various onboard peripherals can have different driving circuitry. So you need to consult the PDF's peripheral section when it's being used as a general IO pin.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 12th November 2007, 01:20 PM   (permalink)
Default

Does anybody know that a pin configured as digital input consumes less power if it's pulled up or down?
szabi is offline  
Old 12th November 2007, 01:26 PM   (permalink)
Default

Quote:
Originally Posted by szabi
Does anybody know that a pin configured as digital input consumes less power if it's pulled up or down?
I don't think it makes much, or any, difference? - but it would be childs play to measure it and find out!. Bear in mind the input pins are VERY high impedance.

The conventional method is to use pull-ups, and MicroChip even provide switchable internal pull-ups on PortB.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 12th November 2007, 02:11 PM   (permalink)
Default

No digital inputs should be left 'floating' as this creates problems with noise and current draw. As Nigel said, the PIC's have an option for weak pullup to solve this issue.
Gordz is offline  
Old 12th November 2007, 02:20 PM   (permalink)
Default

Quote:
Originally Posted by Gordz
No digital inputs should be left 'floating' as this creates problems with noise and current draw.
This is only a concern with CMOS logic chips, it doesn't appear to affect PIC's at all? - there was a big thread, and LOT'S of testing done, years ago on the PICList.

If you do have an unfounded fear of such a problem?, simply leave the pins open, but set them to be outputs - and again, setting them as outputs makes no difference to the current consumption (same old thread on the PICList).
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 12th November 2007, 06:12 PM   (permalink)
Default

Perhaps it's just an old habit then, it used to be good practice to 'keep digital inputs tidy' and NOT just on CMOS. By the way, TTL gate inputs tend to 'float' high and often data sheets stipulate 'tying unused inputs' high or low.
Gordz is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Using Oscilloscopes mechie Electronic Theory 9 29th November 2007 10:49 PM
Four PIC with One LCD.. meera83 Micro Controllers 13 20th September 2007 07:40 AM
4-20mA & 1-5V PIC input mikesmixes Micro Controllers 12 13th September 2007 02:24 PM
Output = Input - Problems adamthole Micro Controllers 20 24th April 2007 05:09 AM
uuffff how doess this stupid ting work lol cyprio7 General Electronics Chat 7 9th October 2005 07:56 PM



All times are GMT. The time now is 03:13 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker