stepper Notes032119 a ppt From stepper Notes031719 a

  • Slides: 10
Download presentation
stepper. Notes-032119 a. ppt From stepper. Notes-031719 a. pptx, we had the following from

stepper. Notes-032119 a. ppt From stepper. Notes-031719 a. pptx, we had the following from 03/14/19 to 03/18/19: Note to self: Left and Right pictures look correct Note to self: Above photo says D 0 – IN 2 (Orange). But above timing diagram says it should be PINK D 1 – IN 4 (Blue). But above timing diagram says it should be ORANGE D 2 – IN 3 (Yellow) D 3 – IN 1 (Pink). But above timing diagram says it should be BLUE Note to self: Schematic says IN 1 – Pink (But board has this as BLUE) IN 2 – Orange (But board has this as PINK) IN 3 – Yellow (But board has this as YELLOW) IN 4 – Blue (But board has this as ORANGE)

Data sheet shows this: My motor shows this: stepper. Notes-032119 a. ppt O-B-R-Y-P B-P-R-O-Y

Data sheet shows this: My motor shows this: stepper. Notes-032119 a. ppt O-B-R-Y-P B-P-R-O-Y A website shows this: B-P-Y-O-R Anyways, we said (from 03/14/19 to 03/18/19) that Orange/Pink and Blue/Yellow are pairs. This may be wrong. I checked that all the 28 BYJ-48 steppers I have, have the colored wiring in the sequence shown above e nc e My motors have the same color sequence given in the u eq s breakdown video nt e r fe Dif

stepper. Notes-032119 a. ppt STEP 1 2 3 4 IN 1 BLUE D 0

stepper. Notes-032119 a. ppt STEP 1 2 3 4 IN 1 BLUE D 0 1 0 0 0 IN 2 PINK D 1 0 0 IN 3 YELLOW D 2 0 0 1 0 IN 4 ORANGE D 3 0 0 0 1 Above is based on Russian accented You. Tuber video. Wrote nxt. Stepper 1_1 b. nxc – and successfully rotates motor. However, doesn’t still rotate complete to 360 degrees…

stepper. Notes-032119 a. ppt Based on 42 bots. com tutorial STEP 1 2 3

stepper. Notes-032119 a. ppt Based on 42 bots. com tutorial STEP 1 2 3 4 5 6 7 8 IN 1 BLUE D 0 0 0 1 1 1 IN 2 PINK D 1 0 0 0 1 1 1 0 0 IN 3 YELLOW D 2 0 1 1 1 0 0 IN 4 ORANGE D 3 1 1 0 0 0 1 Wrote nxt. Stepper 1_1 c. nxc (half-stepping) based on above – and successfully rotates motor. However, doesn’t still rotate complete to 360 degrees… Yellow cells show that these would be full-stepping

stepper. Notes-032119 a. ppt Wrote nxc. Stepper 1_1 d. nxc: In this do-while loop,

stepper. Notes-032119 a. ppt Wrote nxc. Stepper 1_1 d. nxc: In this do-while loop, when i (step counter) is 1024, 2048, 3072 or 4096, then the step counter value is displayed. It appears to be displayed at 90, 180, 270, and 360 degrees. NB: I also removed the text displays to the LCD during the loop (as this might be slowing things down).

stepper. Notes-032119 a. ppt Based on 42 bots. com tutorial STEP 1 2 3

stepper. Notes-032119 a. ppt Based on 42 bots. com tutorial STEP 1 2 3 4 5 6 7 8 IN 1 BLUE D 0 0 0 1 1 1 IN 2 PINK D 1 0 0 0 1 1 1 0 0 IN 3 YELLOW D 2 0 1 1 1 0 0 IN 4 ORANGE D 3 1 1 0 0 0 1 Wrote nxt. Stepper 1_1 c. nxc (half-stepping) based on above – and successfully rotates motor. However, doesn’t still rotate complete to 360 degrees… Yellow cells show that these would be full-stepping

stepper. Notes-032519 a. ppt 28 mm / 8 mm/stud = 3. 5 studs diameter

stepper. Notes-032519 a. ppt 28 mm / 8 mm/stud = 3. 5 studs diameter 4. 375 Studs 4 studs: 4 studs * 8 mm/stud = 32 mm Thus 35 mm – 32 mm = 3 mm or 0. 375 studs Thus really 4. 375 studs apart 3. 125 Studs 19 mm / 8 mm/stud = 2. 375 studs thick

stepper. Notes-040919 a. ppt X X (1) current. Angle = 0 angle – current.

stepper. Notes-040919 a. ppt X X (1) current. Angle = 0 angle – current. Angle = 45 Y (2) X Y Y (3) current. Angle = +45 angle – current. Angle = -45 – 45 = -90 Since negative, then direction is CW Also 90 * 11. 38 = 1024 steps current. Angle = -45 angle – current. Angle = 0 – 45 = -45 Y Since negative, then direction is CW Also 45 * 11. 38 = 512 steps

stepper. Notes-040919 a. ppt

stepper. Notes-040919 a. ppt

stepper. Notes-040919 a. ppt

stepper. Notes-040919 a. ppt