Pages: [1]   Go Down
Author Topic: Project: sensor that triggers a stepper motor  (Read 1000 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Project: sensor that triggers a stepper motor

I want connect to Arduino a Sensor Sharp Distance Sensor 2Y0A21 (10-80cm)
that functions as a switch on/off   to a stepper motor.
The motor start when the sensor detects something and stop after 10", the engine should have an initial acceleration and deceleration final if possible.

I wish it switch off after 5 minutes and restart to operate if the sensor detects something.

I have:
Arduino ONE
Sharp sensor
Big Easy driver
Stepper motor

I'm a beginner and I think it is not simple to do... smiley-eek
someone can help me to get a right sketch?


thanks!
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ciao

sto provando a sviluppare questo progettino ma essendo un neofita nel campo... avrei bisogno di qualche consiglio.
Vorrei che un Sensore di distanza Sharp
lavorasse come interruttore on/off per far girare un motorino stepper: il sensore da il segnale, il motore incomincia a girare per 5" e poi si ferma(magari partenza con accelerazione e fine con decelerazione).
Quando poi il sensore viene nuovamente stimolato succede la stessa identica cosa.
vedendo che la scheda Big easy driver si surriscalda facilmente...sarebbe bellissimo se dopo alcuni minuti di inattività tutto si spegnesse per poi ripartire se il sensore rivela qualcosa.
difficilissimo? io ne capisco ancora pochissimo ...
Grazie!
« Last Edit: November 07, 2012, 11:19:21 am by Stopmotion » Logged

Espoo, Finland
Offline Offline
God Member
*****
Karma: 7
Posts: 586
"Oops, try again..."
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you know how to program with C-language?

Cheers,
Kari
Logged


The only law for me; Ohms Law: U=R*I       P=U*I
Note to self: "Damn! Why don't you just fix it!!!"

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

..no

just using arduino preset ...
Logged

Espoo, Finland
Offline Offline
God Member
*****
Karma: 7
Posts: 586
"Oops, try again..."
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, what do you think that would be a good start?

You will get help with your code problems (that has something to do with arduino)
once you have started your project, before that, learn the first steps.
There are good examples waiting within the IDE.

Cheers,
Kari
Logged


The only law for me; Ohms Law: U=R*I       P=U*I
Note to self: "Damn! Why don't you just fix it!!!"

Maine
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
You blocked me on facebook and now youre going to die!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Bipolar or unipolar stepper? (I hope you dont mean a servo mechanism)

there are tons of driver ICs out there now that make this task a matter of: a sensor, a PWM, an enable disable, and a directional flag.
I had a real nice one a few years back I gave it to a friend, and don't recall the part number. smiley-sad
But, I usually look for Maxim ICs because they do parts sampling.. (free parts for students and development engineers! woot!)
A chip like the one at this link:
http://www.maximintegrated.com/app-notes/index.mvp/id/4469

is what I am thinking of. many exist.  Its an H-bridge.

This link I thought was a nice block diagram, with a unipolar stepper configuration
http://www.maximintegrated.com/solutions/motor-control/stepper/
Logged

Pages: [1]   Go Up
Jump to: