I am trying to control 30 servos with Arduino Mega 2560 but it seems the servos only twitch as I slide through 0-180 to mega write, and I tried to connect only one servo to different digital pins in several times, the results are the same.
Andy I sent you a friends request. I am emanuel From the workshop at
TEXFAB. I am having a issue with the steppers and was wondering if you could take a look at the Grasshopper build that i have used from the library samples.
Thanks Andy. That cleared up a lot and reinforces what David explained. Had the same thought about handling the high frequency data on Arduino and sending data much less frequency to Grasshopper. Sounds like a challenge that will take some time to figure out.
Hey Andy. Have much enjoyed your gcode definitions in the past and have started using firefly, another great tool. I am trying to do something that sounds like it may have a technical roadblock. I want to read pulse output from an arduino that is running the gcode interpreter GRBL. I use grbl with my diy cnc but I am trying to cobble together a simulator for testing and understanding the firmware and gcode programs I use. The arduino pumps out pulses that are only 5-50 microseconds wide. I think I can set them as big as 255 microseconds wide. I can read the output at 1ms intervals using firefly but obviously drop a lot of information. Do you think there is a way to successfully read those pulses in through firefly?
I am trying to start using Kinect in Grasshopper and I am wondering if you can provide me with some tutorials/hints for beginners?
Many Thanks
At 12:54pm on February 14, 2014, philip pappas said…
Hi Andy,
i've hooked up a dc motor with an h bridge circuit and i have been able to control the rotation and speed so far through Arduino code. Now i wanted to do the same through Firefly, but it keeps working with the Arduino sketch ignoring the current values i am sending through Firefly, shouldn't the Arduino sketch be overwritten? However that was not the case with servos..
I really appreciate the quick response. My issue here is speed. I took a look at AccelStepper.h, which mentions that speeds above 1000 steps/sec are unreliable...so just to test it, I tried setting the stepper speed to 1000 on the quadstepper component. The steppers I'm using are vextas: http://www.interinar.com/vexta-px243m-03aa.html, which have a step angle of .9. So a speed of 1000 should give me an rps of 2.5, but when I set the quadstepper to a speed of 1000, the actual rps I'm getting is really slow, its more like .2 rps.
Thanks again for your help today with the capacitors. I have another question regarding quadsteppers and I'm not sure which forum for Firefly is current. Is the most recent forum at firefly.squarespace.com? I had trouble finding a discussion part on the new web site.
Anyway, I posted a question there about increasing stepper speeds with the Quadstepper driver. I'm trying to attach a dremel to a reprap to turn it into a router. The quadstepper works great, but I just need some more juice. Thanks for any help.
thank you for your reply. I did have a look at Firefly's Audio components.
We're trying to move an "arm" similar to the polyline in screenshots, where each member rotates in relation to the members in either side of it. The two end members are fixed at one point. (Thinking in section) a fabric skin is attached to the arms. This skin moves according to the arms' movement behind it. We have an Adruino Uno board connected to grasshopper.
If sound produced by speakers of laptop is our input data, how will it be input into arduino? Also is it possible for us to divide the frequencies of Piano keys into 3 categories of low, medium and high and have them as the output that moves the structure? If yes how should we do that?
I am fairly new to arduino and grasshopper, as well. I'm after a sound responsive vertical surface that moves with the sound frequencies produced from a central source (a piano) in an enclosed space. So we basically are trying to read a sound input and turn it into the surface's movement parameter.Should we use firefly to input sound?
Hi Andy.
Is current Firefly compatible with the new Arduino UNO? I have been to the recent workshop in London and we were introduced to the new board.
Thank you
Hi Andrea,
Unfortunately, I am not involved in the enrollment process for this event. I am pretty sure that Ronnie and Gil will still be teaching the Grasshopper II section, however you may want to email Scott Davidson or one of the ACADIA conference coordinators to ask about logistics.
I hope this helps.
-Andy
Awesomeness, thanks for the link. Good to hear that you arrived safely. And again, thank you so much for sharing your knowledge with us over the weekend! Cheers, F
Grasshopper
algorithmic modeling for Rhino
Andy Payne's Comments
Comment Wall (26 comments)
You need to be a member of Grasshopper to add comments!
You can piggy-back pocket wifi uk on someone else's connection and use your laptop or smartphone without having to pay anything at all.
Thank you Andy, I completely overlooked the setting... Everything is working now. Thanks again for bearing with me.
Hello Andy,
First of all, thank you for your great work.
I am trying to control 30 servos with Arduino Mega 2560 but it seems the servos only twitch as I slide through 0-180 to mega write, and I tried to connect only one servo to different digital pins in several times, the results are the same.
I tested with Uno and all 9 servos worked under the same set up, so I imagined there might be something wrong with the firmatta, and I came across this post in 2011: http://fireflylabs.squarespace.com/discussions/post/1540044
the Firefly version I'm using is 1.0.0.70 64 bit, does it cover for the "buffer size" and "baud width" issues that you mentioned on the post?
I am using Rhino 5.0 and the grasshopper version is april-04 2014 build 0.9.0075. the Arduino IDE version is 1.6.5
Thank you for your time.
Hello ,
Andy I sent you a friends request. I am emanuel From the workshop at
TEXFAB. I am having a issue with the steppers and was wondering if you could take a look at the Grasshopper build that i have used from the library samples.
Thank You
Manny Ferro
Thanks Andy. That cleared up a lot and reinforces what David explained. Had the same thought about handling the high frequency data on Arduino and sending data much less frequency to Grasshopper. Sounds like a challenge that will take some time to figure out.
Hey Andy. Have much enjoyed your gcode definitions in the past and have started using firefly, another great tool. I am trying to do something that sounds like it may have a technical roadblock. I want to read pulse output from an arduino that is running the gcode interpreter GRBL. I use grbl with my diy cnc but I am trying to cobble together a simulator for testing and understanding the firmware and gcode programs I use. The arduino pumps out pulses that are only 5-50 microseconds wide. I think I can set them as big as 255 microseconds wide. I can read the output at 1ms intervals using firefly but obviously drop a lot of information. Do you think there is a way to successfully read those pulses in through firefly?
Hey Andy,
many thanks for your great plug-in.
I am trying to start using Kinect in Grasshopper and I am wondering if you can provide me with some tutorials/hints for beginners?
Many Thanks
Hi Andy,
i've hooked up a dc motor with an h bridge circuit and i have been able to control the rotation and speed so far through Arduino code. Now i wanted to do the same through Firefly, but it keeps working with the Arduino sketch ignoring the current values i am sending through Firefly, shouldn't the Arduino sketch be overwritten? However that was not the case with servos..
Should i reset the Arduino?
Thank you
Andy,
FYI, I just hooked up a different type of stepper motor (http://robotics.reefat.com/wp-content/uploads/2008/08/PF35T-48L4.pdf) and the speed is much better. This must be a hardware issue I'll have to look at. Sorry for the trouble.
Erick
Andy,
I really appreciate the quick response. My issue here is speed. I took a look at AccelStepper.h, which mentions that speeds above 1000 steps/sec are unreliable...so just to test it, I tried setting the stepper speed to 1000 on the quadstepper component. The steppers I'm using are vextas: http://www.interinar.com/vexta-px243m-03aa.html, which have a step angle of .9. So a speed of 1000 should give me an rps of 2.5, but when I set the quadstepper to a speed of 1000, the actual rps I'm getting is really slow, its more like .2 rps.
Andy,
Thanks again for your help today with the capacitors. I have another question regarding quadsteppers and I'm not sure which forum for Firefly is current. Is the most recent forum at firefly.squarespace.com? I had trouble finding a discussion part on the new web site.
Anyway, I posted a question there about increasing stepper speeds with the Quadstepper driver. I'm trying to attach a dremel to a reprap to turn it into a router. The quadstepper works great, but I just need some more juice. Thanks for any help.
-Erick
GH-Rhino%203.jpg
Hi Andy,
thank you for your reply. I did have a look at Firefly's Audio components.
We're trying to move an "arm" similar to the polyline in screenshots, where each member rotates in relation to the members in either side of it. The two end members are fixed at one point. (Thinking in section) a fabric skin is attached to the arms. This skin moves according to the arms' movement behind it. We have an Adruino Uno board connected to grasshopper.
If sound produced by speakers of laptop is our input data, how will it be input into arduino? Also is it possible for us to divide the frequencies of Piano keys into 3 categories of low, medium and high and have them as the output that moves the structure? If yes how should we do that?
thanks heaps for your explanationGH-Rhino%201.jpgGH-Rhino%202.png2.png
Hi Andy,
I am fairly new to arduino and grasshopper, as well. I'm after a sound responsive vertical surface that moves with the sound frequencies produced from a central source (a piano) in an enclosed space. So we basically are trying to read a sound input and turn it into the surface's movement parameter.Should we use firefly to input sound?
Thank you
Hi Andy,
Thank you very much for your helpful explanation!
Is current Firefly compatible with the new Arduino UNO? I have been to the recent workshop in London and we were introduced to the new board.
Thank you
Luca
Unfortunately, I am not involved in the enrollment process for this event. I am pretty sure that Ronnie and Gil will still be teaching the Grasshopper II section, however you may want to email Scott Davidson or one of the ACADIA conference coordinators to ask about logistics.
I hope this helps.
-Andy
I'm trying to modify your arduino code for the pan/tilt servos to work with a stepper motor, any tips?
cheers,
mani
About
Welcome to
Grasshopper
Sign In
Translate
Search
Photos
Генерация контента с помощью нейросетей
by PoulMaclein 0 Comments 0 Likes
Scaling Tower
by Parametric House 0 Comments 0 Likes
Full check-ups in Serbia
by PoulMaclein 0 Comments 0 Likes
узнайте информацию о любой блокчейн операции
by PoulMaclein 0 Comments 0 Likes
Сувенирное оружие
by PoulMaclein 0 Comments 0 Likes
Videos
Scaling Tower
Added by Parametric House 0 Comments 0 Likes
Field Trap
Added by Parametric House 0 Comments 0 Likes
Parametric Tower
Added by Parametric House 0 Comments 0 Likes
3D Surface Deformation with Image Sampler - Rhino Grasshopper (short ver.)
Added by kgm 0 Comments 0 Likes
3D Surface Deformation with Image Sampler - Rhino Grasshopper (short ver.)
Added by kgm 0 Comments 0 Likes
Subd Bridge
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by
Badges | Report an Issue | Terms of Service