PiFace HC-SR04 - Raspberry Pi Forums


i'm trying use hc-sr04 ultrasonic module piface expansion board. i'm newb hardware interfacing, i've been writing software long time. have vcc pin connected 5v output on piface, trig pin connected pin 7 on output, echo pin connected input 0, , grnd connected ground on piface. question have cannot echo pin register other 1. when connect sensor read 1, if nothing other gnd connection connected. ideally i'd send pulse via pin 7 on piface 10 microsecond pulse have corresponding echo trigger 1 on piface requisite amount of time.

does pi-face have level shifter? need level shifter echo pin. module output 5v, damage pi input. need drop down 3.3v.

may have damaged gpio. test it, disconnect echo pin , use flying lead connect 0v , 3.3v gpio pin. write short program print pin state.


raspberrypi



Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62