February 23, 2018
Description
A simple DLP/SLA part curer. Line up the stepper motor shaft as centered as you can on the "bottom" center hole and drill holes. Cover inside with ducting tape. i used hot glue to mount arduino and battery box. I plan on updating this design...
https://www.youtube.com/watch?v=8yKNGfo9E-I
LED strip: https://www.amazon.com/gp/product/B078HQR62C/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1
stepper motor and driver: https://www.amazon.com/Stepper-28byj-48-Module-Uln2003-Arduino/dp/B00E468NQ4/ref=sr_1_12?s=hi&ie=UTF8&qid=1519356466&sr=1-12&keywords=28byj48
Arduido code:
#include <AccelStepper.h>
#define HALFSTEP 8
// Motor pin definitions
#define motorPin1 3 // IN1 on the ULN2003 driver 1
#define motorPin2 4 // IN2 on the ULN2003 driver 1
#define motorPin3 5 // IN3 on the ULN2003 driver 1
#define motorPin4 6 // IN4 on the ULN2003 driver 1
// Initialize with pin sequence IN1-IN3-IN2-IN4 for using the AccelStepper with 28BYJ-48
AccelStepper stepper1(HALFSTEP, motorPin1, motorPin3, motorPin2, motorPin4);
void setup() {
stepper1.setMaxSpeed(1000.0);
stepper1.setAcceleration(100.0);
stepper1.setSpeed(200);
stepper1.moveTo(20000);
}//--(end setup )---
void loop() {
//Change direction when the stepper reaches the target position
if (stepper1.distanceToGo() == 0) {
stepper1.moveTo(-stepper1.currentPosition());
}
stepper1.run();
}
License:
Creative Commons - Attribution