-->
Page 1 of 1

Ultrasonic library for esp 8266 using arduino ide

PostPosted: Thu Oct 01, 2015 7:56 am
by asfyra
I am trying to get an ultrasonic sensor to work with esp8266 through arduino ide but with no luck.
The new ping library that I used to use with arduino does not compile with esp.
I have found esp8266 ping (https://github.com/eadf/esp8266_ping) but how could I use it with arduino ide?
Do you happen to know of any working solution for arduino ide?

Thanks in advance

Re: Ultrasonic library for esp 8266 using arduino ide

PostPosted: Mon Oct 19, 2015 2:58 am
by Lenbok
https://github.com/JRodrigoTech/Ultrasonic-HC-SR04 is working OK for me. Using 3.3v level converter on the trigger and echo pins.

Re: Ultrasonic library for esp 8266 using arduino ide

PostPosted: Mon Oct 19, 2015 3:04 am
by asfyra
Thanks a lot, I'll give it a try :)