Show Posts
Pages: [1] 2 3
1  Community / Workshops and Events / Buenos Aires Workshop - Arduino/Max/Maxuino/Mechatronics on: October 16, 2012, 08:50:42 pm
For those who might be interested, I am offering 2 workshops while I am in Buenos Aires Argentina next week (25 and 27 Oct.).  See the attached flyer.
Day 1 will be a basics of arduino, firmata, Max and Maxuino
Day 2 will be a deeper look at programming the arduino and various mechatronics

Also I will be presenting artwork at the 404 Festival in Rosario.
2  Using Arduino / Motors, Mechanics, and Power / Re: Stepper Motor Driver on: September 05, 2011, 11:38:26 pm
Anyone that wants to try the StepperDriver Library (works with EasyDriver, Big Easy Driver, and Pololu Stepper drivers, plus any others that use STEP and DIR pins) can download it here and read documentation with an example:
3  Development / Other Software Development / Re: Improved Stepper Library and also a StepperDriver Library on: September 04, 2011, 10:04:11 pm
The 8 wire is an easy add.  The acc/de-acc would be interesting.  I imagine it would be best to do it by time length, i.e. 1.5 seconds for and change in speed.  It would default to 0 seconds so the behavior is straightforward but you could send a command to change that transitional time much like you send a speed command.
Would be interested to know if this is useful to others as well?
4  Development / Other Software Development / Improved Stepper Library and also a StepperDriver Library on: September 04, 2011, 02:25:01 am
Hello all,
I did some work on an improved and very fast stepper library for the Maxuino project for interfacing Firmata to Max/MSP/Jitter and thought I would see if it was useful enough to everyone.  I also implemented the changes to the standard stepper Library because of the following improvements:
 - The library can give commands to several (tested up to six so far) steppers at the same time because of the removal of delays. The arduino can also continue to handle other inputs and outputs because the stepper doesn't get stuck in a "while" loop but instead updates each cpu cycle.
 - The steppers can be given new commands at any time to override the current position for more "live control" or the stepper returns a flag when it has finished so the arduino can then send a new command to avoid override.
 - I moved to microseconds because millis was slowing the motors down.

The StepperDriver Library is made for the EasyDriver and Pololu stepper motor drivers and other that use the STEP and DIR control method.  It also has a small difference of having an "empty" initiator for easy creation of an array of instances which can be configured later on the fly.  I did not implement this into the standard Stepper library but it might be worth considering. 

I would appreciate all feedback and thoughts as I hope to at least get the Stepper added to the Arduino distribution as an upgrade and thought the StepperDriver might also be such a candidate.

5  Using Arduino / Motors, Mechanics, and Power / Stepper Motor Driver on: August 31, 2011, 10:47:13 pm
I am doing alot of work right now on a version of Firmata that drives up to 6 simultaneous stepper motors using EasyDriver boards and have refined the stepper code quite a bit to get rid of the delays for the fastest response possible.  Much of this code could also be applied to the current stepper library.  I want to see if this library (for just easyDrivers) would be widely useful even beyond Firmata or what are the control schemes out there I need to account for.  So, how is everyone driving their stepper motors, are there essential ways you need to control the stepper beyond #of steps and speed?  Are there boards or configurations out there that are being widely used that I didnt mention?
Many thanks, trying to make sure my contributions back to the community are as useful to as many as possible.
6  Using Arduino / Programming Questions / Re: PVector for Arduino on: April 19, 2011, 01:58:39 am
I decided to do the Java->Arduino Library conversion...seems to work, code to come soon!
7  Using Arduino / Programming Questions / PVector for Arduino on: April 17, 2011, 11:47:36 pm
Hello all, I am trying to convert a program from processing to arduino because I needed to visualize the resulting mathematical model to fine tune it.  I am running into a problem because it is a boids model chocked full of PVectors.  There doesn't seem to be a vector math library for arduino and I am too deficient in C to do the conversion of the library properly.  I would deeply appreciate any guidance on an alternative or tips for converting the PVector library itself.  Here is a link to the Library..

Many Many thanks...
8  Forum 2005-2010 (read only) / Troubleshooting / Re: MULTIPLE SENSORS THROUGH DUEMILANOVE TO MAX/MSP5 on: May 06, 2010, 11:11:56 pm
Try  which should help you easily get things running.
9  Forum 2005-2010 (read only) / Syntax & Programs / Re: Using Arduino as dumb IO device on: November 18, 2010, 06:17:14 pm
That is really also the gist of Firmata, which comes with the Arduino IDE.
10  Forum 2005-2010 (read only) / Syntax & Programs / Re: pwm output o'reilly book on: April 10, 2010, 06:10:51 pm
the delay command actually pauses the whole chip from doing anything, and thus beyond the simplest linear program, you would never want to use delay.  so if you read your program in a linear way, you see that the pwm led lights up and then dims (but never reaches 0 because of the way you set up the for loop) and then the pin 13 turns on, waits 5 sec, then turns off and the program then loops back to the pwm for loops.  you would have to setup a counter variable and use if statements or look at a time variable (millis();  ) to have the two things turn on and off independently of each other.  hope that helps...
11  Forum 2005-2010 (read only) / Interfacing / Re: Any replies with help? on: October 26, 2010, 11:47:47 pm
you can add your own patch, you just need to look at the included maxuino example patches and pass correctly formatted messages to the maxuino GUI object and it will send them on to the arduino.
12  Forum 2005-2010 (read only) / Interfacing / Re: Arduino /Flash simple led on: October 14, 2010, 12:00:44 pm
i have a simple example here with flash, as3 glue, and firmata.
13  Forum 2005-2010 (read only) / Interfacing / Maxuino update coming - feature requests welcomed on: October 09, 2010, 01:06:19 am
With the release of new arduinos and new firmata capabilities, we are getting ready to release a new version of Maxuino.  We will also be looking for testers for an actual Maxuino compiled object as opposed to the current javascript implementation which should give some great speed boosts.  If there are particular features you want to see, please let us know!
14  Forum 2005-2010 (read only) / Interfacing / Re: Arduino, Maxuino, Firmata and Sensors on: September 02, 2009, 01:15:45 pm
You have described the process correctly, load Firmata onto the Arduino and then close the arduino IDE and after you do that once, as long as you do not load anything else onto the arduino board, it will continue to run as a standalone.  then you can start and stop max all you want.  I am sorry I have not been able to update the maxuino, but firmata on the mega is still shaky at best.  
15  Forum 2005-2010 (read only) / Interfacing / Re: send serial from MAX MSP to arduino (SOFT) on: June 03, 2010, 07:01:20 pm
Pages: [1] 2 3