Final Machine

Final Machine
Final Machine
First Versions of dipping machine
First Versions of dipping machine second with counter weight attempt and raised bed.
*/ Incremental Stepper Motion

#include <Stepper.h>

const int stepsPerRevolution = 200; // change this to fit the number of steps per revolution for your motor

// initialize the stepper library on pins 8 through 11:

Stepper myStepperB(stepsPerRevolution, 8, 9, 10, 11);

int stepCount = 0; // number of steps the motor has taken

int motorSpeedB = 100; //range from 0 to 100:
int n = 1200 ;
int d = 100;
int startStop = 0;

void setup() {
Serial.begin(57600);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}

}

void loop() {
if (Serial.available() > 0) {
startStop = Serial.read();
}

if (int(startStop) == ‘G’) {
myStepperB.setSpeed(motorSpeedB); // set the motor speed:

//5 dips
for (int j = 0; j < 24; j++) {

for (int f = 0; f < 4; f++) {

//go up 20
for (int i = 0; i < 20; i++) {
myStepperB.step(stepsPerRevolution);
}
delay (1500);

//go down 20
for (int i = 0; i < 20; i++) {
myStepperB.step(-stepsPerRevolution);
}

}

for (int h = 0; h < 4; h++) {

//go up 19
for (int i = 0; i < 19; i++) {
myStepperB.step(stepsPerRevolution);
}
delay (1500);

//go down 19
for (int i = 0; i < 19; i++) {
myStepperB.step(-stepsPerRevolution);
}

}

//go up 18
for (int i = 0; i < 18; i++) {
myStepperB.step(stepsPerRevolution);
}
delay (1500);
//go down 17
for (int i = 0; i < 17; i++) {
myStepperB.step(-stepsPerRevolution);
}
//go up 16
for (int i = 0; i < 16; i++) {
myStepperB.step(stepsPerRevolution);
}
delay (1500);
//go down 15
for (int i = 0; i < 15; i++) {
myStepperB.step(-stepsPerRevolution);
}

//go up 14
for (int i = 0; i < 14; i++) {
myStepperB.step(stepsPerRevolution);
}
delay (1500);
//go down 13
for (int i = 0; i < 13; i++) {
myStepperB.step(-stepsPerRevolution);
}

//go up 12
for (int i = 0; i < 12; i++) {
myStepperB.step(stepsPerRevolution);
}
delay (1500);
//go down 11
for (int i = 0; i < 11; i++) {
myStepperB.step(-stepsPerRevolution);
}

//go up 10
for (int i = 0; i < 10; i++) {
myStepperB.step(stepsPerRevolution);
}
delay (1500);

//go down 9
for (int i = 0; i < 9; i++) {
myStepperB.step(-stepsPerRevolution);
}

//go up 8
for (int i = 0; i < 8; i++) {
myStepperB.step(stepsPerRevolution);
}

//go down 7
for (int i = 0; i < 7; i++) {
myStepperB.step(-stepsPerRevolution);
}

//go down 9
for (int i = 0; i < 7; i++) {
myStepperB.step(stepsPerRevolution);
}

}
}
//stop
myStepperB.setSpeed(0); // set the motor speed:
startStop = 0;
delay (1500);

}

else if (int(startStop) == ‘S’) {
myStepperB.setSpeed(0); // set the motor speed:
}

else if (int(startStop) == ‘U’) {
myStepperB.setSpeed(motorSpeedB); // set the motor speed:

for (int i = 0; i < 5; i++) {
myStepperB.step(stepsPerRevolution);
}
myStepperB.setSpeed(0); // set the motor speed:
startStop = 0;
}

else if (int(startStop) == ‘D’) {
myStepperB.setSpeed(motorSpeedB); // set the motor speed:
for (int i = 0; i < 5; i++) {
myStepperB.step(-stepsPerRevolution);
}
myStepperB.setSpeed(0); // set the motor speed:
startStop = 0;

}

*/ Simple Stepper Motion

#include <Stepper.h>

const int stepsPerRevolution = 200; // change this to fit the number of steps per revolution for your motor

// initialize the stepper library on pins 8 through 11:
Stepper myStepper(stepsPerRevolution, 8, 9, 10, 11);

int stepCount = 0; // number of steps the motor has taken
int motorSpeed = 100; //range from 0 to 100:
void setup() {
// nothing to do inside the setup
}

void loop() {

myStepper.setSpeed(motorSpeed); // set the motor speed:

if (stepCount < 800) {
// step 1/100 of a revolution
myStepper.step(-stepsPerRevolution / 25);
}
else {
//step backwards
myStepper.step(stepsPerRevolution / 25);

}

if (stepCount > 1600) stepCount = 0;
stepCount++;

//stepCount=stepCount+1;
}

img_5478

Raised frame, bucket sitting on washers and hotplate

img_5476

Set of fans to cool top of bucket

img_5475

Wiring of stepper motor

img_5480

Pulleys up top

img_5479

New set of pulleys attached to hook.

We raised the legs further a couple of inches and increased the base hole to 13″ wide and added 2 more pulleys to the string to hold up the wax weight.

 

Dunking machine is built into a frame so that pulleys can hold back the build up weight of the wax onto the frame. Thick string coils around the stepper motor and runs through 2 pulleys attaching back to the top portion of the frame. The bottom piece has an opening to place hot wax underneath.

img_2142

 

img_2143The materiality of the frame, as it stands, is not best suited to handle the high temperature of the hot plate, nor the heat stored in the pot containing the wax. Moving forward, it could be beneficial to rebuild the frame out of aluminum, rather than MDF and bass wood.

img_2196

13 Responses

  1. Hi would you mind letting me know which web host you’re using? I’ve loaded your blog in 3 completely different web browsers and I must say this blog loads a lot quicker then most. Can you recommend a good internet hosting provider at a honest price? Cheers, I appreciate it!

  2. The heart of your writing whilst sounding reasonable in the beginning, did not sit perfectly with me personally after some time. Someplace throughout the sentences you actually were able to make me a believer but just for a short while. I still have got a problem with your leaps in assumptions and you might do nicely to fill in those breaks. When you actually can accomplish that, I will definitely be fascinated.

  3. Have you ever thought about who you may have been in a past life? Have you ever lived before? Do you have faith in your own past life? I used to wonder about who was I in my past life but have since found many different methods to explore my hidden past life memories.

  4. Hello! This is my first visit to your blog! We are a team of volunteers and starting a new project in a community in the same niche. Your blog provided us useful information to work on. You have done a outstanding job!

  5. It’s actually a nice and helpful piece of info. I am glad that you
    just shared this useful information with us. Please keep us informed like this.
    Thanks for sharing.

  6. Thanks for the marvelous posting! I really enjoyed reading it, you could be
    a great author.I will be sure to bookmark your blog and will come back later on. I want to
    encourage you to definitely continue your great writing, have a nice day!

  7. Normally I don’t learn article on blogs, but I would like to say that this write-up very pressured me to check out and do so! Your writing style has been surprised me. Thanks, quite great post.

Leave a Reply