firefly

Open full view…

Ultrasonic Sensor w/ Firefly Firmata

jasonfking
Tue, 22 Jul 2014 18:07:58 GMT

Does the ultrasonic sensor that Jason used in his Creative Architecture Machines studio (HC-SR04) work with the Firefly Firmata? Previously I have used the Ping sensor with a customized Firmata, but wondering if I need to do the same for this sensor? Thank you.

Andy Payne
Thu, 24 Jul 2014 02:45:47 GMT

Hi Jason. I don't currently own that sensor, but in looking at the data sheet for the HC-SR04 sensor, it appears that it uses two digital pins for a trigger and echo. More than likely, the firmata would need to be updated slightly in order to achieve this. Jason may have a modified version as well. I'm going to go ahead an purchase one of the sensors and come up with a modified version for you. It may take a little while as I will be out of town next week, but I will post a version here when I can.

jasonfking
Thu, 24 Jul 2014 19:38:36 GMT

Thanks Andy.

jeremyhaest
Thu, 06 Nov 2014 00:29:30 GMT

Hi Andy, Did you manage to come up with a modified version of the firmata? having the same problem as Jason with the HC-SR04 sensor. Thanks in advance! Jeremy

Andy Payne
Fri, 14 Nov 2014 14:06:43 GMT

Have you tried the arduino sketch that J Frolich came up with in this thread: http://www.grasshopper3d.com/forum/topics/using-ultrasonic-ping-sensor-with-firefly