Searching \ for '[PIC]: Basic question about input' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page:
Search entire site for: 'Basic question about input'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Basic question about input'
2003\08\07@181259 by Denny Esterline

picon face
By the way,
Your original topic tag, "[PIC and OT]"  won't make it past most people's
inbox filters.
Good luck

{Original Message removed}

2003\08\08@021055 by Andreas Nyholm


This might or might not work for you depending if you really need to
monitor 12V, or if 0V and >5V is ok.

       _ 10k pullup
      | |
       |    diode
PIC ---------|>|----- Input 0 or 12V

When 12V (actually >5V or unconnected), PIC pin is 1, and when 0V PIC
pin is 0. Since you are using PORTB you can also use internal pullup.

Good luck!

> {Original Message removed}

2003\08\08@103529 by Mike Hord

picon face
I would also encourage you to put some sort of overvoltage protection in,
perhaps a diode or zener, or anything really, because it probably wouldn't
be too tough for the 12V input to go too high and pull that portb pin
up past the max input voltage.

Mike H.

{Quote hidden}

>{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2003 , 2004 only
- Today
- New search...