0

Im following this website using a different sensor and my output is too low for the GPIO so i don't know whether it effects anything as the program could not work.Can a raspberry pi accept input data if the input voltage is 42 mv when is required is 3.3v?So is it too low that it does not detect any input from the sensor?

asked Feb 20, 2014 at 7:14
4
  • What sensor outputs data at 0.042volts? What is the input voltage? What is this sensor? :) Commented Feb 20, 2014 at 12:29
  • Following which website? For sure if 0V is low and 3V is high, then 0.04V is low, the same as 0V! Commented Feb 20, 2014 at 13:12
  • You'd need something like 2.6V to trigger a HIGH. Commented Feb 20, 2014 at 19:31
  • 2
    Is the 42 mV a logic high for this sensor? If so, what is a logic low? Does the thing have an open collector output? In that case, you just need a pull-up resistor to 3.3 volts to get a proper high level. More details on the sensor are required. Commented Feb 20, 2014 at 19:52

2 Answers 2

2

To elaborate a little bit and provide a possible solution to the issue - you could use a transistor with the collector attached to the 3v3 outlet of the Pi, the emitter attached to your sensing GPIO and the base attached to your sensor. That way, the sensor will trigger the transistor 'on' with 0.042V, allowing current to flow from the 3v3 to the GPIO and producing the desired result

answered Feb 20, 2014 at 12:51
4
  • with resistors, yeah. Commented Feb 20, 2014 at 13:13
  • 2
    Depends on what transistor you use Commented Feb 20, 2014 at 13:23
  • @exantas: you are suggesting an emitter follower - an emitter follower has the emitter about 0.7 volts below the base, so won't help here. I think the OP has to tell us what the sensor is before anyone can give useful advice. Commented Feb 20, 2014 at 19:48
  • Is the 42 mV a logic high for this sensor? If so, what is a logic low? Does the thing have an open collector output? In that case, you just need a pull-up resistor to 3.3 volts to get a proper high level. More details on the sensor are required. Commented Feb 20, 2014 at 19:50
0

Are we talking about digital input here? Then, 42 mV don't count as a high.

answered Feb 20, 2014 at 7:42
3
  • Ya its digital input thnx. Commented Feb 20, 2014 at 8:38
  • 1
    See specs. here: mosaic-industries.com/embedded-systems/microcontroller-projects/… Commented Feb 20, 2014 at 9:38
  • 42 mV counts as a high if the designer says it does. The question is not about whether or not the device is sending a signal, but how to configure the Pi to properly interpret that signal. Commented Apr 7, 2017 at 0:40

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.