[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1933877 [View]
File: 82 KB, 611x643, Screenshot_1.jpg [View same] [iqdb] [saucenao] [google]
1933877

>>1933441
i did a stepper controller with an Hbridge as a final prject as a proof of concept and did this in the arduino IDE as the function definition that is called to do steps

the speed and rotation direction is done by reading a potentiometer with a middle detent so if its left i one way and if its right of the deten its the other way with turning the pot more is faster

the speed is basically set with a delay and with more pot angle you get less delay in the main function (its janky and not really efficient but as i said its a proof of cocept and it works well)

you most likely messed up some wiring shit although i didnt really have a good look at your program

Navigation
View posts[+24][+48][+96]