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.
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'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?
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.
Do you know who is taking charge of this web? I have a sugestion for him. Maybe we can encourage people to share their definitions of Grasshopper. In this way, we can communicate more and learn more. I think it is one of the core popurse of this web.