Search found 3 matches
- Sat Feb 15, 2020 7:12 pm
- Forum: Other Boards
- Topic: W600-PICO with HC-SR04 Sensor
- Replies: 3
- Views: 2715
Re: W600-PICO with HC-SR04 Sensor
Ok, added a level shifter to this with no success. Upon playing around more I found that the I can only get a good value from machine.time_pulse_us when the value starts high then goes low. The pin seems to be overly sensitive. If I just have a wire connected to it that is not connected to anything ...
- Mon Feb 10, 2020 4:37 pm
- Forum: Other Boards
- Topic: W600-PICO with HC-SR04 Sensor
- Replies: 3
- Views: 2715
Re: W600-PICO with HC-SR04 Sensor
It is directly connected with a resistor on the the echo pin. VCC goes to the 5v pin. I was able to use this setup on an ESP32 so I just assumed it would work here...
John
John
- Mon Feb 10, 2020 5:26 am
- Forum: Other Boards
- Topic: W600-PICO with HC-SR04 Sensor
- Replies: 3
- Views: 2715
W600-PICO with HC-SR04 Sensor
I have been unable to get the HC-SR04 sensor to work with this board. I am using the driver at https://github.com/rsc1975/micropython-hcsr04 modified to pull Pin.PULL_FLOATING on lines 26 and 30 to get it to run on this board. The command pulse_time = machine.time_pulse_us(self.echo, 1, self.echo_ti...