Shop OBEX P1 Docs P2 Docs Learn Events
reading a 1.1v signal with the Prop? — Parallax Forums

reading a 1.1v signal with the Prop?

$WMc%$WMc% Posts: 1,884
edited 2010-09-13 12:36 in General Discussion
Hello All:
'
I'm trying to read the data and CLK pins on a 1.5v LR44 battery powered device.
'
I can see the CLK and the data using my Parallax usb O-scope.The CLK is 77kHz the data is two 24bit words.
'
My problem is I have not been able to create an amp. or voltage level shifter with a high enough input impedance like the one used in the Parallax O-scope to send a valid signal to the Prop.
'
So far everything I have tried places to much load on the data or CLK pins and the device shuts down.
'
(the LR44's are new and read 1.7volts with my Fluke 87-V)
'
Any ideas or help would be greatly appreciated!

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2010-09-12 13:25
    Something as simple as an LM339 comparator should work. It can run on the same supply voltage as the Prop (3.3V) and its switching threshold can go down to zero. You'll need some kind of high impedance voltage divider to supply the switching threshold (maybe 0.8V?) The datasheet for your device should tell you what the maximum logic low voltage is.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-09-12 14:01
    The simplest solution might be to bias the Prop's input so that the 0-1.1V signal evenly straddles the Prop's 1.67V threshold. This circuit will do that:

    attachment.php?attachmentid=73185&stc=1&d=1284325192

    When the device outputs 0V, the Prop will see 1.34V; when it outputs 1.1V, the Prop will see 1.99V.

    -Phil
    380 x 140 - 1K
  • $WMc%$WMc% Posts: 1,884
    edited 2010-09-12 14:11
    Mike Green wrote: »
    Something as simple as an LM339 comparator should work. It can run on the same supply voltage as the Prop (3.3V) and its switching threshold can go down to zero. You'll need some kind of high impedance voltage divider to supply the switching threshold (maybe 0.8V?) The datasheet for your device should tell you what the maximum logic low voltage is.
    '
    This is excellent Mr.Green.
    '
    I did a quick check through my organizer drawers and viola, I have 3 LM339's on hand.
    '
    I think I understand the high impedance voltage divider, Know after reading Your post reply a few times.
    '
    I'll bread board this circuit and see how it works.
    '
    Many Thanks!!!
  • $WMc%$WMc% Posts: 1,884
    edited 2010-09-12 15:32
    The simplest solution might be to bias the Prop's input so that the 0-1.1V signal evenly straddles the Prop's 1.67V threshold. This circuit will do that:

    attachment.php?attachmentid=73185&stc=1&d=1284325192

    When the device outputs 0V, the Prop will see 1.34V; when it outputs 1.1V, the Prop will see 1.99V.

    -Phil
    '
    Thanks for the reply PhiPi
    '
    This is close to what I started with. I later found that just the touch of my hand on the data or CLK pin would add enough load to shut down the tiny device.
    '
    The data sheet, gives the CLK speed and the info on the data, two 24bit word LSB first,Thats it.
    '
    The first word starts with a 55uSec start bit and ends with a 55uSec stop bit. So I see 110 uSec between words.
    '
    The CLK-out in the data sheet shows 90kHz, I read it as 77kHz with the Parallax O-scope.
    '
    I have pulled the parts to set-up Mr.Greens circuit. I'll give this a try,And report back with my findings
    '
    Thanks for all the help so far!
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2010-09-12 18:36
    I wonder if a voltage follower might help? Ideally one that can handle rail to rail - I've found the CA3140 is a good chip - very reasonably priced. Just connect the negative to the output and feed the input into the +ve.

    Though maybe I misunderstand the problem - are you reading digital or analog signals? If digital, then any logic gate would work.

    It seems odd that the signal is so fragile. ? another cause for it not working, eg a noisy power supply.
  • $WMc%$WMc% Posts: 1,884
    edited 2010-09-13 12:36
    Dr_Acula wrote: »
    I wonder if a voltage follower might help? Ideally one that can handle rail to rail - I've found the CA3140 is a good chip - very reasonably priced. Just connect the negative to the output and feed the input into the +ve.

    Though maybe I misunderstand the problem - are you reading digital or analog signals? If digital, then any logic gate would work.

    It seems odd that the signal is so fragile. ? another cause for it not working, eg a noisy power supply.
    '
    Thanks Doc.
    '
    If the LM339 doesn't do the trick it give it a try.
Sign In or Register to comment.