Good Morning Extrapilot.
I will try to explain better what I want to do.
I would like to generate the pulses to control the speed of Geckodrive G230. I can enable and disable the brake and change direction of spin easily. But I can not generate an exact routine for each speed. Because many frequencies to vary
I am sending two links below to demonstrate the operation of these drives: http://www.geckodrive.com/upload/Step_motor_basics.pdf http://www.geckodrive.com/upload/G203V-REV-6-MANUAL.pdf
Each frequency of a square wave below, is a set speed of my step motor:
Frequency(Hz):
0
3,1
6,2
9,4
12,5
15,6
18,7
21,8
25,0
28,1
31,2
34,3
37,4
40,6
43,7
46,8
49,9
53,1
56,2
59,3
62,4
65,5
68,7
71,8
74,9
78,0
81,1
84,3
87,4
90,5
93,6
96,7
99,9
103,0
106,1
109,2
112,3
115,5
118,6
121,7
124,8
127,9
131,1
134,2
137,3
140,4
143,6
146,7
149,8
152,9
156,0
159,2
162,3
165,4
168,5
171,6
174,8
177,9
181,0
184,1
187,2
190,4
193,5
196,6
199,7
202,8
206,0
209,1
212,2
215,3
218,4
221,6
224,7
227,8
230,9
234,1
237,2
240,3
243,4
246,5
249,7
252,8
255,9
259,0
262,1
265,3
268,4
271,5
274,6
277,7
280,9
284,0
287,1
290,2
293,3
296,5
299,6
302,7
305,8
308,9
312,1
315,2
318,3
321,4
324,6
327,7
330,8
333,9
337,0
340,2
343,3
346,4
349,5
352,6
355,8
358,9
362,0
365,1
368,2
371,4
374,5
377,6
380,7
383,8
387,0
390,1
393,2
396,3
399,4
402,6
405,7
408,8
411,9
415,1
418,2
421,3
424,4
427,5
430,7
433,8
436,9
440,0
443,1
446,3
449,4
452,5
455,6
458,7
461,9
465,0
468,1
471,2
474,3
477,5
480,6
483,7
486,8
489,9
493,1
496,2
499,3
502,4
505,6
508,7
511,8
514,9
518,0
521,2
524,3
527,4
530,5
533,6
536,8
539,9
543,0
546,1
549,2
552,4
555,5
558,6
561,7
564,8
568,0
571,1
574,2
577,3
580,4
583,6
586,7
589,8
592,9
596,1
599,2
602,3
605,4
608,5
611,7
614,8
617,9
621,0
624,1
627,3
630,4
633,5
636,6
639,7
642,9
646,0
649,1
652,2
655,3
658,5
661,6
664,7
667,8
670,9
674,1
677,2
680,3
683,4
686,6
689,7
692,8
695,9
699,0
702,2
705,3
708,4
711,5
714,6
717,8
720,9
724,0
727,1
730,2
733,4
736,5
739,6
742,7
745,8
749,0
752,1
755,2
758,3
761,4
764,6
767,7
770,8
773,9
777,1
780,2
783,3
786,4
789,5
792,7
795,8
798,9
802,0
805,1
808,3
811,4
814,5
817,6
820,7
823,9
827,0
830,1
833,2
836,3
839,5
842,6
845,7
848,8
851,9
855,1
858,2
861,3
864,4
867,6
870,7
873,8
876,9
880,0
883,2
886,3
889,4
892,5
895,6
898,8
901,9
905,0
908,1
911,2
914,4
917,5
920,6
923,7
926,8
930,0
933,1
936,2
939,3
942,4
945,6
948,7
951,8
954,9
958,1
961,2
964,3
967,4
970,5
973,7
976,8
979,9
983,0
986,1
989,3
992,4
995,5
998,6
1001,7
1004,9
1008,0
1011,1
1014,2
1017,3
1020,5
1023,6
1026,7
1029,8
1032,9
1036,1
1039,2
1042,3
1045,4
1048,6
1051,7
1054,8
1057,9
1061,0
1064,2
1067,3
1070,4
1073,5
1076,6
1079,8
1082,9
1086,0
1089,1
1092,2
1095,4
1098,5
1101,6
1104,7
1107,8
1111,0
1114,1
1117,2
1120,3
1123,4
1126,6
1129,7
1132,8
1135,9
1139,1
1142,2
1145,3
1148,4
1151,5
1154,7
1157,8
1160,9
1164,0
1167,1
1170,3
1173,4
1176,5
1179,6
1182,7
1185,9
1189,0
1192,1
1195,2
1198,3
1201,5
1204,6
1207,7
1210,8
1213,9
1217,1
1220,2
1223,3
1226,4
1229,5
1232,7
1235,8
1238,9
1242,0
1245,2
1248,3
I am having difficulties in generating these frequencies with the PIC18F4685. Got it?
I`m so sorry about my english.
Thank's one more time. |