Show Posts
Pages: [1]
1  Using Arduino / Motors, Mechanics, and Power / Fast stepper library for 6 steppers at same time with controler (Step/Dir) on: December 30, 2012, 12:18:43 pm
Hello!
I am testing and searching for days now for a good stepper library.
All common libraries ar testet! (Stepper, accelStepper, AH_Pololu, ...) But none of them fullfills my needs.
The are not for controlers, or to slow with 6 servos, or blocks, or ...

What I need is a Library that ..

  - is for a stepper controler (Step/Dir)
  - Works with 6 steppers at the same time with a good speed (about 2000/4000 steps)
  - Of coarse no blocking, no waits at all inside the functions
  - no fancy things (Only number of steps +/-, speed)

Before I write a library by my own: Is there a library around that fullfills my wishes?

Thanks a lot
Jan
2  Using Arduino / Programming Questions / Re: Where to find Information on how to organize larger Arduino projects? on: December 29, 2012, 05:31:58 am
Thanks for all the answers. Some of them are helpfull.

But to say "its normal programming, where is the problem? You will find the answers along the way. and so on ....." is not very helpfull.
If I had no problem I would not ask.

I know how to programm in more than 10 languages. Not all active. Modula2 or Pascal is no longer state of the art.

But I am new to Arduino. I like it. Things in Arduino are a little bit different. So even if I know how to organize Files in C++ or Java, I asked if there is a good tutorial for Arduino how to organize projects.

Now I have found what I have searched for.

Thanks
Jan
3  Using Arduino / Programming Questions / Re: Where to find Information on how to organize larger Arduino projects? on: December 28, 2012, 02:15:21 pm
I have found what I searched for:
http://liudr.wordpress.com/2011/02/16/using-tabs-in-arduino-ide/

Are there more infos like this?

Jan
4  Using Arduino / Programming Questions / Re: Where to find Information on how to organize larger Arduino projects? on: December 28, 2012, 12:34:52 pm
Thanks for the answers.
But that was not really my question. I try again to make it clear.

I know how to blink an led.
I know how to use (and write my own) library.
What I talk about is a really large project (A controler for a special CNC-machine) with:
   - more then 10 steppers and servos.
   - other subsystems with serial connenction
   - a touchscreen with UI (menues and so on)
   - Lot of switches and sensors
   - On my Mega 2560 all IO-Pins are in use
   - ..........

So we talk about more than a few tousend lines of code.
At startup everithing has to be initialised in the rigth order and the correct timing.

In other languages I would put things in classes to get it done.

How do you organize such a project with Arduino.

Thanks again
Jan
5  Using Arduino / Programming Questions / Where to find Information on how to organize larger Arduino projects? on: December 28, 2012, 07:30:40 am
Hello!
I am new to the world of Arduino. And I like it. I have some AVR assembly done more then 10 years ago.

But I like Arduino, because I must not do all the work for all the common things like LCD and so on.
I had running displays and stepper motors within minutes.
My first LC-Display driver in assembler (10 years ago) took me several days until it worked.

Now I can concentrate on my programms and not all of the details, that i can do but are boring to do.

Now here comes my question:
Is there somewhere a good source of how to organize larger Arduiono projects?
I found a lot of tutorials for small programms but nothing about this problems.
I know I could make libraries. But thiss is pure C++, and I would like to stay in the world of normal sketches.
How can i organize things like: declaring hardware pins, initialize display, get all the hardware in a controlled start-state. And so on.
If I divide my programm in several files. In which order are the compiled. What is with inkluding libraries that I need in different files?

Thanks in advance for any help
Jan
Pages: [1]