On Thu, 07 May 2015 11:45:01 -0500, you wrote:
>The sensor is expecting a 5V signal on the trigger input and generates a
>5V signal on echo.
>You are feeding a 3.3V signal from the BBB and accepting a 5V signal
>from the sensor.
>Will the output of the BBB, 3.3V, be seen as a 5V input by the sensor?
The cmos threshold is 75% of VCC, so 25% of 5 volts is 1.25 volts,
which gives a desired 1 threshold of 3.75 volts on the sensor.
Not likely to see the signal as a 1.
>Will the 5V signal from the sensor fry the gpio pin which is expecting a
>max voltage of 3.3V?
Yes. See the warnings in the manual.
>This is just looking at the voltages and not considering currents, dig
>out the spec sheets for the sensor to see what the voltage/currents are
>that it is expecting.
>The MOSFET level shifters will transform the 3.3V to 5V and vice versa.
>Transistors/resistors will do the same operation.
TI (and others) make unidirectional (can be switched for direction)
level translators that protect both sides of the load and translate
logic levels. The part number (typical) is something on the order of
74LVC8T245, IIRC. I'd recommend them highly. There are DIP packages
more suitable for breadboards.
Transistors can work, as can resistors, but the packaged device is a
neater solution.
Harvey
>Chad
>
>
>On 5/7/15 10:45 AM, claudiu
claudi...@yahoo.com wrote:
>> Well yes i do know that the BBB is a 3.3v with a 4-6 mA output.
>> Therefore I have used the following configuration:
>> |* TRIGGER P8_12 gpio1[12] GPIO44 out pulldown Mode: 7
>> * ECHO P8_11 gpio1[13] GPIO45 in pulldown Mode: 7 *** with R 1KOhm
>> * GND P9_1 or P9_2 GND
>> * VCC P9_5 or P9_6 VDD_5V(from BBB)
>> |
>> |but am I right ? |
>>
>> On 7 May 2015 at 16:23, doog <
doug....@gmail.com
>> <mailto:
beagleboard...@googlegroups.com>.
>> <mailto:
beagleboard...@googlegroups.com>.