[PD] sr04 with arduino standardfirmata

2018-02-06 Thread ray Y
Hello Alex I have been able to use the sr04 with comport but not with standardfirmata the problem is that i need to sacrifice and entire controller and a bluetooth connection in order to handle the sr04 instructions all by themselves and this is not elegant. it could be nice to have a mekanis

Re: [PD] sr04 with arduino standardfirmata?

2018-02-06 Thread Alexandros
The SR04 works by sending a trigger signal and waiting for the echo signal. It then calculates the time between the two signals and translates this to distance. All this happens in the pulseIn() function used with this sensor. In order to make it work with Firmata you must send a signal out th

[PD] sr04 with arduino standardfirmata?

2018-02-05 Thread ray Y
is there a work around for this? the sr-04 is a way cooler sensor than the ones supported by standardfirmata! why is it not supported? there most be a hack to make the emiter and receiver functions act as one with the signal going into the analog inputs of the arduino. as a standard sensor?