Grasshopper

algorithmic modeling for Rhino

Problem on Gathering Ultrasonic Sensor Data Through Firefly

Hello, 

I have been trying to get the data using the code Firefly_Firmata_ping.ino Firefly_Firmata_ping.ino uploaded by another user however in Grasshopper, I can not obtain any useful data from the uno read component.

As the sensor is plugged into Digital Pin 2 as instructed, the distance is supposed to be seen when a panel is linked to DPin2 on UnoRead component but it just writes "1" whena panel is plugged in. What is it that I am doing wrong?

Related: http://www.grasshopper3d.com/forum/topics/using-ultrasonic-ping-sen...

Thanks!

Views: 507

Replies to This Discussion

I also can not obtain useful data using these instructions, using regular Firefly_Firmata code.

http://www.instructables.com/id/Reading-Ultrasonic-Sensor-Data-to-F...

Hi Cemre K, I realise this will come too late for you but I will put it here for anyone else having trouble. I have a tutorial and video showing the process of reading an ultrasonic sensor using the stock Firefly firmata via 'serial read'. http://troybaverstock.com/learn/firefly-serial-read-ultrasonic/

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service