Difference between revisions of "Arduino SIG Project - Russ"
Russ hensel (talk | contribs) |
Russ hensel (talk | contribs) |
||
Line 13: | Line 13: | ||
== General == | == General == | ||
− | This project is designed to drive a bunch of different multiphase motors ( like steppers and brush less motors ) with a high degree of software | + | This project is designed to drive a bunch of different multiphase motors ( like steppers and brush less motors ) with a high degree of software oversite. It will use both an Arduino and a Raspberry Pi (or PC, this part will be Python). The Raspberry PI will download a drive plan to the Arduino which will then execute it. Generally it will try all the different permutations of the coil connections to see if any of them work. |
We assume a unipolar motor with the common wire identified using resistance measurements. | We assume a unipolar motor with the common wire identified using resistance measurements. | ||
Line 20: | Line 20: | ||
** with 2 coils there is really only one way to drive ( although one is forward and one reverse, for all the motors we should find 2 ways to drive one forward one reverse ) | ** with 2 coils there is really only one way to drive ( although one is forward and one reverse, for all the motors we should find 2 ways to drive one forward one reverse ) | ||
** with 3 coils there are 2 ways to connect them -- so there is not much mystery one should be forward one reverse. | ** with 3 coils there are 2 ways to connect them -- so there is not much mystery one should be forward one reverse. | ||
− | ** with 4 coils 6 ways to connect them -- this is the one set of connections my first project above tests | + | ** with 4 coils 6 ways to connect them -- this is the one set of connections my first project above tests. |
** with 5 coils 24 ways to connect -- this is large but not prohibitive. | ** with 5 coils 24 ways to connect -- this is large but not prohibitive. | ||
− | ** with 6 coils 120 ways to connect really a bit of a strain to test so I probably will not extend the program to this level | + | ** with 6 coils 120 ways to connect really a bit of a strain to test so I probably will not extend the program to this level. |
− | ** with 7 coils 720 ways to connect them -- just | + | ** with 7 coils 720 ways to connect them -- just too many to test them all. |
** number goes up fast as we continue -- my program for calculating actually fails for 8 coils, seems to big for it. | ** number goes up fast as we continue -- my program for calculating actually fails for 8 coils, seems to big for it. | ||
− | We can do the configuration either by downloads or some version of #defines in the arduino program combined with a recompile. The generation of the #defines might be generated by the python program. Right not with only 5 coils seeming | + | We can do the configuration either by downloads or some version of #defines in the arduino program combined with a recompile. The generation of the #defines might be generated by the python program. Right not with only 5 coils seeming practical or even 6 I think the download can manage the data in a reasonable time. |
== Status == | == Status == |
Revision as of 08:15, 10 December 2016
Contents
Project 1
This project ( one actually done several years ago ) is designed to test stepper motors and sort out which wire is which. I am thinking of updating it both electronically and in terms of software.
And something a bit different:
Project 2
General
This project is designed to drive a bunch of different multiphase motors ( like steppers and brush less motors ) with a high degree of software oversite. It will use both an Arduino and a Raspberry Pi (or PC, this part will be Python). The Raspberry PI will download a drive plan to the Arduino which will then execute it. Generally it will try all the different permutations of the coil connections to see if any of them work.
We assume a unipolar motor with the common wire identified using resistance measurements.
- options will include: number of coils to drive,
- with 2 coils there is really only one way to drive ( although one is forward and one reverse, for all the motors we should find 2 ways to drive one forward one reverse )
- with 3 coils there are 2 ways to connect them -- so there is not much mystery one should be forward one reverse.
- with 4 coils 6 ways to connect them -- this is the one set of connections my first project above tests.
- with 5 coils 24 ways to connect -- this is large but not prohibitive.
- with 6 coils 120 ways to connect really a bit of a strain to test so I probably will not extend the program to this level.
- with 7 coils 720 ways to connect them -- just too many to test them all.
- number goes up fast as we continue -- my program for calculating actually fails for 8 coils, seems to big for it.
We can do the configuration either by downloads or some version of #defines in the arduino program combined with a recompile. The generation of the #defines might be generated by the python program. Right not with only 5 coils seeming practical or even 6 I think the download can manage the data in a reasonable time.
Status
- Have an array download method working in the terminal and Arduino. Not very slick yet, but basic principal seems ok.
- Next working on output, first basic then with permutations of the coils set up.