Grasshopper

algorithmic modeling for Rhino

Hello,

I am writing because I am facing a strange issue.

I am using the new 101 Arduino card and the card is streaming data via Serial.

I can properly read the data with Putty and with the serial monitor.

In Firefly everything is working fine and the port is properly open, but I have no data stream.

It goes from <null> to <enpty>.

If I use the Software Serial and a TTL converter everything works;

If I change card (Arduino Uno) everything is fine;

If I use another 101 (I tested some of them) it is not working.

The problem is between the 101 and Firefly (it's perfect on Putty).

I also changed laptop to avoid usb 2/3 issues.

It looks like the baud speed could be a problem. If I change speed on Putty or Serial Monitor nothing changes, it look like the speed is kind of 'universal'.

Do you have any hint?

All the best,

Fabio

Views: 361

Replies to This Discussion

Hi Fabio,

There is no 'universal' baud rate.  You can modify the baud rate in whatever Arduino sketch you're using (are you using the Firefly Firmata?) and you can also set the baud rate on the Open Close Port component.  These values need to be the same in both cases, otherwise the serial communication wont be processed properly... however, you can change the speed and it should still work.  You may need to slow it down from the default value of 115200.  Often times, 9600 is a very common speed.  Try making sure the baud rate in your Arduino sketch is set to 9600, and then make sure you set the baud rate on the Open Close Port component to 9600 before opening the port.  Hopefully this helps.  Cheers.

Hello,

yes 'universal' is not the proper way to call it but what I mean is that the values are still readable even if I chenge the baud rates to whatever (in Putty, only with the new 101 card).
In Firefly I started with 9600, as usual and then I have tried all the possible values with no chance.
I also tried different computers with the same results.
It is a pity because the 101 card is recently out on the market and it would be great to have it compatible with Firefly,

saluti,

Fabio

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service