Go Down

Topic: controlling stepper motor using gsm (Read 1 time) previous topic - next topic

altec88

hi, i want to use gsm to move stepper motor by using arduino as interface. which mean i send sms to gsm module -> gsm module give instruction to arduino to rotate stepper motor 90 degree -> motor rotate 90 degree. is it possible and how to do with the coding?

sorry i'm very new to this...:-(

HazardsMind

#1
Nov 18, 2012, 06:33 am Last Edit: Nov 18, 2012, 07:00 am by HazardsMind Reason: 1
First, get to know your components and the libraries that come with the arduino. Scour the internet for GSM samples, or simple search for some on the forum. Second instead of jumping right into with a stepper motor, write a simple code that uses LEDs and a simple code to rotate a stepper motor. You may need some way of monitoring or tracking the position of the stepper motor, because they rotate continuously.

Do you need to use a stepper motor or can you use a servo? Servos have a library already for use with samples.
Created Libraries:
TFT_Extension, OneWireKeypad, SerialServo, (UPD)WiiClassicController, VWID

altec88

actually my project is to lock and unlock the door using gsm. so the stepper motor is rotate 90 degree right? i think it easy for me to control the degree of motor rotation..what do u say?

HazardsMind

#3
Nov 18, 2012, 06:50 am Last Edit: Nov 18, 2012, 07:02 am by HazardsMind Reason: 1
your best bet is a locked servo, because as I said before, a stepper motor rotates continuously when power is applied. you can however control the rotation with short bursts, by timing how long the servo takes to rotate to fully open and to fully closed and put those times into your code.
Created Libraries:
TFT_Extension, OneWireKeypad, SerialServo, (UPD)WiiClassicController, VWID

altec88

okay...i got it..:-)
thanks anyway...maybe i need ur help with my programming later...hope u can help me...hehe.. :)

Go Up