Or rather no awareness of the limitations of each motor type. You seem to have no idea even what sort of motor you want to use. Specifically why you want to do this and what effect are you hoping to get. If the code part can help you understand I already posted something about it :īecause it tells us nothing new. If you can't help me because of that reason I understand, I was just hopping someone could just show me the good direction, and you already did a lot ! There are many reasons (I'm a newbie, never had class or people to explain, only coded for pleasure, not the best with english.) but the major one is that this project is not for me but for work, and because I don't find any references or similar projects I don't feel good fully explain it on internet. I'm sincerely sorry if i'm not clear enough to describe the project. The steps are : send a value manually to each motor (integer) to be their target (for each motor approximately at the same time, can be one by one relatively fast), wait for the motors to turn to their targets (it doesn't have to be really fast), stop at this point untill I send 0 as new target to all the motors, so they rotate back to 0. Thanks for your help ! To be honest finding that it could work would relieve a lot of stressīut with 30 motors silmutaneously, with a different "target" (rotation distance with the encoder) for each one of them. Just to specify, I also know that I will have to protect all with diodes if I don't want to start a fire. Second question is, how exactly would I power up all this ? The motors are 6Vcc 170mA (when charged), and I don't know if I would have to power each arduino separatly or if there is a way to connect all that stuff. I allready tested motor shields but it seems that you can control 4 motors max with this option, so I would have to buy a lot more arduino (but it's still an option knowing that I2C is really incredible). My first question is, is this the best way to control this number of motors with the smaller number possible of arduino ? I did a lot of research and I didn't found a lot of project with this amount of motor at the same time. I'm projecting to use 3 arduino mega connected through I2C (1 master and 2 slaves), and connect 5 L293D on each, each one controlling 2 DC Motors ( 50:1 FIT0482 Motoréducteur 50:1 FIT0482 DFRobot - Motoréducteurs + encodeurs | GO TRONIC). ![]() ![]() ![]() I working on a project to control 30 DC motors with encoders at the same time, on the same computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |