Grasshopper

algorithmic modeling for Rhino

Changing Ardunio Uno D Pin 2,4 or 7 from 'Uno Read' to 'Uno Write'

Hi guys, 

I have used up all my D Uno Write pins and I need one more. Is there a way of changing one of the Uno Read pins to write data instead? I'm guessing I will need to update the firefly firmata code as well as do something clever in Grasshopper

Thanks,

Sam

Views: 315

Replies to This Discussion

Hi Sam,

Yes, you would have to change the Firefly Firmata.  In addition, you would probably need to use the Generic Serial Write to send the data over to the board (rather than using the Uno Write).  The Firmata explains the logic behind what's being sent over, but in essence it's a string of comma separated values (one for each pin). So, you would just have to create a concatenated string and feed that into the Generic Serial Write component. Hopefully that makes sense. Cheers.

Thanks for the reply! This seems to make sense. How would I find out which which comma separated value I plug in the serial write component corresponds to which Pin? I don't really understand the 'functions' part of the firmata.

Thanks,

Sam

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