Shop OBEX P1 Docs P2 Docs Learn Events
DirA[9] := %0 grounds signal? — Parallax Forums

DirA[9] := %0 grounds signal?

sccoupesccoupe Posts: 118
edited 2007-09-26 22:21 in Propeller 1
I am setting pin 9 to input via DirA[noparse][[/noparse]9] := %0 and its grounding my signal. What gives?

Comments

  • SteelSteel Posts: 313
    edited 2007-09-24 21:58
    what is it connected to? Are you sure it's not your circuit gnding your signal?
  • sccoupesccoupe Posts: 118
    edited 2007-09-24 22:10
    I am tieing into a low voltage signal that signals an igniter to fire a spark plug. Checking with an o-scope is fine, running it right into a pin on the propeller causes that plug not to fire and the engine misses.
  • Mike GreenMike Green Posts: 23,101
    edited 2007-09-24 22:41
    If your signal exceeds 3.3V, it will be clamped at 3.3V by the protective diodes on the I/O pins.
  • deSilvadeSilva Posts: 2,967
    edited 2007-09-25 01:33
    Mike presumes you are not using a resistor (1..10k) to tap that signal, which I hardly can believe...
  • sccoupesccoupe Posts: 118
    edited 2007-09-26 14:12
    So that clamping at 3.3 volts also clamps the signal that goes on to the ignitor?



    ECU
    ignitor
    ·············· |
    ·············· |
    ·············· |
    ·············· |
    ·············· |
    ····PROPELLER INPUT

    ·
  • BeanBean Posts: 8,129
    edited 2007-09-26 14:18
    sccoupe,

    Putting a resistor on the propeller pin will limit the current to protect the pin and also cause it not to ground out the signal. 10K or something like that.

    You may have damaged the propeller pin if the ECU outputs 12V.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I know what I know, don't confuse me with the facts...
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    www.hittconsulting.com
    ·
  • sccoupesccoupe Posts: 118
    edited 2007-09-26 14:37
    Thanks Bean, Ill give it a try. Perhaps Ill need to move that signal to another pin after a 12 volt shock. [noparse]:)[/noparse]
  • deSilvadeSilva Posts: 2,967
    edited 2007-09-26 22:20
    I posted this sketch from some of my tutorials some time ago... here it is again. It was drawn to fight some phantastic misconceptions about a CMOS input smile.gif
  • deSilvadeSilva Posts: 2,967
    edited 2007-09-26 22:21
    sccoupe said...
    I am setting pin 9 to input via DirA[noparse][[/noparse]9] := %0 and its grounding my signal. What gives?
    440 x 440 - 19K
Sign In or Register to comment.