Site icon Tutor Bin

Abraham Baldwin Agricultural College Python Worksheet

Abraham Baldwin Agricultural College Python Worksheet

Description

read the lab 7 attached below and write python of stepper motor forward and backward.

a. Full-step drive mode

b. Half-step drive mode

Use two switches, one each to drive two modes: full-step drive and half-step drive. In other words, pressing Button 1 will initiate full-step drive mode, and, Button 2 will initiate half-step drive mode.

Part II: Within your code (for both the full step mode and the half-step mode) reduce the time delay to 0.5 second interval between each step sequence (this will allow you to observe the motor ). Adjust the number of steps to around 8. Run your code and capture a video illustrating the lighting up of the 4 LEDs on your motor driver board. In your video you should demonstrate that when you push the switches the LED pattern will change demonstrating the switching between the two modes.

I have a video explain and guide to do this lab. Also I have the example code for this stepper motor but you have to change it to full-cycle and half-cycle mode and add two switch buttons on it and change the time cycle ( explain in the video)

link video: https://ultra-us-prod-sms.collab.cloudflare.blackb.. (if you can see it i can send through google drive


Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Exit mobile version