×

MBcreates's video: Making an Arduino Closed Loop Stepper Part 2

@Making an Arduino Closed Loop Stepper Part 2
This is part 2 of the Closed Loop Stepper video. I’ve uploaded 3 Arduino sketches to my Arduino project page: https://goo.gl/4ybRte I tried to explain to working of the code with the comments in the sketch itself. This video shows the working of the 3 sketches when all the hardware is hooked up. A good 3D printer: https://www.banggood.com/DIY-Creality-CR-10-3D-Printer-300300400mm-Printing-Size-1_75mm-0_4mm-Nozzle-p-1085645.html?p=CR190314405010201709 This setup is part of an Arduino candy sorting machine I’m working on. The stepper is going to move a slide to a specific jar. A hopper with a colour sensor will drop a piece of candy via this slide in the matching jar. There are many different hardware and software options to do this. The best option would be a closed loop stepper that updates its location in real time (like the better CNC machines do). Than it would be possible to drop the candy while moving over a jar. This avoids that the setup has to completely stop its movement and accelerate every time the encoder updates its location. Unfortunately I haven’t found a cheap way to do this. If you know a Closed Loop Stepper +Microcontroller setup that cost less $100 please let me know. I got the setup in this video working by comparing the encoder position before and after the stepper has moved. A movement from jar to jar is broken up in two movements. The initial large movement is done as fast as possible. When the encoder detects that the target position is passed, the motor stops. Because of the high speed movement + mass of the slide the setup overshoots its position by a few steps. A delay of 0.05 second is done to make sure the setup has stopped moving. Now the distance that is overshot is corrected by a slower movement. Another 0.05 second delay to make sure everything is stopped moving. The exact location is updated and the setup is ready for the next movement. Support the channel: http://paypal.me/mbcreates A good 3D printer: https://www.banggood.com/DIY-Creality-CR-10-3D-Printer-300300400mm-Printing-Size-1_75mm-0_4mm-Nozzle-p-1085645.html?p=CR190314405010201709

230

34
MBcreates
Subscribers
19.1K
Total Post
34
Total Views
2.7M
Avg. Views
80.3K
View Profile
This video was published on 2018-03-17 15:31:06 GMT by @MBcreates on Youtube. MBcreates has total 19.1K subscribers on Youtube and has a total of 34 video.This video has received 230 Likes which are lower than the average likes that MBcreates gets . @MBcreates receives an average views of 80.3K per video on Youtube.This video has received 34 comments which are lower than the average comments that MBcreates gets . Overall the views for this video was lower than the average for the profile.

Other post by @MBcreates