Skip to main content
replaced http://electronics.stackexchange.com/ with https://electronics.stackexchange.com/
Source Link

Further to my previous question, Using a PIC to perform switch on and timed shutdowns in automotive environmentUsing a PIC to perform switch on and timed shutdowns in automotive environment

I've been pointed at zener diodes and voltage dividers, but I'm now confused by the PICs builtin weak pull-up resistors (and if I check the datasheet, values are TBD... I assume something like 10k?)

So the PIC input pin protection circuit I think I have understood is this:PIC input pin protection circuit

But using weak pullups, I think I could do this:

enter image description here

But all this does is swap a resistor to a transistor.

Update

Further to comment from @PJC50, I now think the circuit utilising the PIC's pullup resistors would look like this: enter image description here It's now clear why I should do this and how it reduces component count.

How do I choose a resistor and transistor that are suitable?

  • Is the voltage divider circuit correct?
  • Is the circuit that uses the weak pullups correct? (i think not)
  • Why would I use pullups over normal voltage divider?

So my new circuit looks like this: enter image description here

Update 2:

I've tested the circuit with pull ups, and I think I'm getting closer to real solution, any further comment/critique welcome!

Further to my previous question, Using a PIC to perform switch on and timed shutdowns in automotive environment

I've been pointed at zener diodes and voltage dividers, but I'm now confused by the PICs builtin weak pull-up resistors (and if I check the datasheet, values are TBD... I assume something like 10k?)

So the PIC input pin protection circuit I think I have understood is this:PIC input pin protection circuit

But using weak pullups, I think I could do this:

enter image description here

But all this does is swap a resistor to a transistor.

Update

Further to comment from @PJC50, I now think the circuit utilising the PIC's pullup resistors would look like this: enter image description here It's now clear why I should do this and how it reduces component count.

How do I choose a resistor and transistor that are suitable?

  • Is the voltage divider circuit correct?
  • Is the circuit that uses the weak pullups correct? (i think not)
  • Why would I use pullups over normal voltage divider?

So my new circuit looks like this: enter image description here

Update 2:

I've tested the circuit with pull ups, and I think I'm getting closer to real solution, any further comment/critique welcome!

Further to my previous question, Using a PIC to perform switch on and timed shutdowns in automotive environment

I've been pointed at zener diodes and voltage dividers, but I'm now confused by the PICs builtin weak pull-up resistors (and if I check the datasheet, values are TBD... I assume something like 10k?)

So the PIC input pin protection circuit I think I have understood is this:PIC input pin protection circuit

But using weak pullups, I think I could do this:

enter image description here

But all this does is swap a resistor to a transistor.

Update

Further to comment from @PJC50, I now think the circuit utilising the PIC's pullup resistors would look like this: enter image description here It's now clear why I should do this and how it reduces component count.

How do I choose a resistor and transistor that are suitable?

  • Is the voltage divider circuit correct?
  • Is the circuit that uses the weak pullups correct? (i think not)
  • Why would I use pullups over normal voltage divider?

So my new circuit looks like this: enter image description here

Update 2:

I've tested the circuit with pull ups, and I think I'm getting closer to real solution, any further comment/critique welcome!

Tweeted twitter.com/#!/StackElectronix/status/265935979737645056
deleted 31 characters in body
Source Link
jon
  • 325
  • 5
  • 11

Further to my previous question, Using a PIC to perform switch on and timed shutdowns in automotive environment

I've been pointed at zener diodes and voltage dividers, but I'm now confused by the PICs builtin weak pull-up resistors (and if I check the datasheet, values are TBD... I assume something like 10k?)

So the PIC input pin protection circuit I think I have understood is this:PIC input pin protection circuit

But using weak pullups, I think I could do this:

enter image description here

But all this does is swap a resistor to a transistor.

Update

Further to comment from @PJC50, I now think the circuit utilising the PIC's pullup resistors would look like this: enter image description here It's now clear why I should do this and how it reduces component count.

How do I choose a resistor and transistor that are suitable?

  • Is the voltage divider circuit correct?
  • Is the circuit that uses the weak pullups correct? (i think not)
  • Why would I use pullups over normal voltage divider?

So my new circuit looks like this: enter image description here

Update 2:

I've tested the circuit with pull ups, and I think I'm getting closer to real solution, any further comment/critique welcome! My circuit now looks like this:

Further to my previous question, Using a PIC to perform switch on and timed shutdowns in automotive environment

I've been pointed at zener diodes and voltage dividers, but I'm now confused by the PICs builtin weak pull-up resistors (and if I check the datasheet, values are TBD... I assume something like 10k?)

So the PIC input pin protection circuit I think I have understood is this:PIC input pin protection circuit

But using weak pullups, I think I could do this:

enter image description here

But all this does is swap a resistor to a transistor.

Update

Further to comment from @PJC50, I now think the circuit utilising the PIC's pullup resistors would look like this: enter image description here It's now clear why I should do this and how it reduces component count.

How do I choose a resistor and transistor that are suitable?

  • Is the voltage divider circuit correct?
  • Is the circuit that uses the weak pullups correct? (i think not)
  • Why would I use pullups over normal voltage divider?

So my new circuit looks like this: enter image description here

Update 2:

I've tested the circuit with pull ups, and I think I'm getting closer to real solution, any further comment/critique welcome! My circuit now looks like this:

Further to my previous question, Using a PIC to perform switch on and timed shutdowns in automotive environment

I've been pointed at zener diodes and voltage dividers, but I'm now confused by the PICs builtin weak pull-up resistors (and if I check the datasheet, values are TBD... I assume something like 10k?)

So the PIC input pin protection circuit I think I have understood is this:PIC input pin protection circuit

But using weak pullups, I think I could do this:

enter image description here

But all this does is swap a resistor to a transistor.

Update

Further to comment from @PJC50, I now think the circuit utilising the PIC's pullup resistors would look like this: enter image description here It's now clear why I should do this and how it reduces component count.

How do I choose a resistor and transistor that are suitable?

  • Is the voltage divider circuit correct?
  • Is the circuit that uses the weak pullups correct? (i think not)
  • Why would I use pullups over normal voltage divider?

So my new circuit looks like this: enter image description here

Update 2:

I've tested the circuit with pull ups, and I think I'm getting closer to real solution, any further comment/critique welcome!

added 290 characters in body
Source Link
jon
  • 325
  • 5
  • 11

Further to my previous question, Using a PIC to perform switch on and timed shutdowns in automotive environment

I've been pointed at zener diodes and voltage dividers, but I'm now confused by the PICs builtin weak pull-up resistors (and if I check the datasheet, values are TBD... I assume something like 10k?)

So the PIC input pin protection circuit I think I have understood is this:PIC input pin protection circuit

But using weak pullups, I think I could do this:

enter image description here

But all this does is swap a resistor to a transistor.

Update

Further to comment from @PJC50, I now think the circuit utilising the PIC's pullup resistors would look like this: enter image description here It's now clear why I should do this and how it reduces component count.

How do I choose a resistor and transistor that are suitable?

  • Is the voltage divider circuit correct?
  • Is the circuit that uses the weak pullups correct? (i think not)
  • Why would I use pullups over normal voltage divider?

So my new circuit looks like this: enter image description here

Update 2:

I've tested the circuit with pull ups, and I think I'm getting closer to real solution, any further comment/critique welcome! My circuit now looks like this:

Further to my previous question, Using a PIC to perform switch on and timed shutdowns in automotive environment

I've been pointed at zener diodes and voltage dividers, but I'm now confused by the PICs builtin weak pull-up resistors (and if I check the datasheet, values are TBD... I assume something like 10k?)

So the PIC input pin protection circuit I think I have understood is this:PIC input pin protection circuit

But using weak pullups, I think I could do this:

enter image description here

But all this does is swap a resistor to a transistor.

Update

Further to comment from @PJC50, I now think the circuit utilising the PIC's pullup resistors would look like this: enter image description here It's now clear why I should do this and how it reduces component count.

How do I choose a resistor and transistor that are suitable?

  • Is the voltage divider circuit correct?
  • Is the circuit that uses the weak pullups correct? (i think not)
  • Why would I use pullups over normal voltage divider?

Further to my previous question, Using a PIC to perform switch on and timed shutdowns in automotive environment

I've been pointed at zener diodes and voltage dividers, but I'm now confused by the PICs builtin weak pull-up resistors (and if I check the datasheet, values are TBD... I assume something like 10k?)

So the PIC input pin protection circuit I think I have understood is this:PIC input pin protection circuit

But using weak pullups, I think I could do this:

enter image description here

But all this does is swap a resistor to a transistor.

Update

Further to comment from @PJC50, I now think the circuit utilising the PIC's pullup resistors would look like this: enter image description here It's now clear why I should do this and how it reduces component count.

How do I choose a resistor and transistor that are suitable?

  • Is the voltage divider circuit correct?
  • Is the circuit that uses the weak pullups correct? (i think not)
  • Why would I use pullups over normal voltage divider?

So my new circuit looks like this: enter image description here

Update 2:

I've tested the circuit with pull ups, and I think I'm getting closer to real solution, any further comment/critique welcome! My circuit now looks like this:

added 5 characters in body
Source Link
jon
  • 325
  • 5
  • 11
Loading
added 5 characters in body
Source Link
jon
  • 325
  • 5
  • 11
Loading
Source Link
jon
  • 325
  • 5
  • 11
Loading