Show Posts
Pages: [1]
1  Topics / Robotics / Re: Excel or .txt matrice une arduino ??? HELP !! on: January 25, 2013, 10:42:29 am
Find a function of time to describe the mouvement are too difficult !! ( we tried !)

But we probably find a solution...

Firstly we write a program on matlab to extract the minimum and maximum of each increasing and decreasing phase of each columns...this operation reduce the size of the matrix from 2000 values to 10 or 15 values !!!

So it's right that we lost a big part of the information but when we load the totality of the value, the servomotors describes a very very jerk movement.

Secondly we don't load every values for every servomotors...we load the values of each movement ( stand up phase / walk phase / rotation phase ) in 18 matrix of 10 to 20 values ( 300 < values < 400 to control the 18 servomotors ) and we programm each servomotors with loop...

Actually we extract the good data...

We think that is a good idea to program our hexapod spider...But maybe you have others idea ?

thanks a lot for your help !

2  Topics / Robotics / Re: Excel or .txt matrice une arduino ??? HELP !! on: January 23, 2013, 06:40:15 pm
We try to convert our EXCEL values with a basic software (transform columns in rows...) and withe the half of our values we occupe only 40% of the memory...

I attach a screen shot of the program...
3  Topics / Robotics / Re: Excel or .txt matrice une arduino ??? HELP !! on: January 23, 2013, 06:12:41 pm
Yes,

At the end of the values the robot just stop.

So, on our arduino, SRAM is egual to 8Ko and 8Ko of EEPROM and 128Ko of flash memory.

If we take values with only 3 numbers (angle from 0 to 180°)...we can use 8000 values ?

((8ko of memory * octets)/8 bytes to code the three number of angle value ?)

Sorry for that stupid question but we are in mechanical design and we are novice in C language...

Thanks for your reply !!
4  Topics / Robotics / Excel or .txt matrice une arduino ??? HELP !! on: January 22, 2013, 03:03:23 pm
Hi everybody !!

We are two french student and we have to program an Hexapod robots ! We have to program 18 servomotors.

We made a simulation with a DAO software and found the angle of each servo in a very large EXCEL matrix !! (18 columns and 2000 lines !!!!!)

Is it possible to copy paste that matrix in our program ??

Thanks for your answer !!

System information :
Arduino ATmega 1280
18 ervo futaba 3003
Pages: [1]