errors

After getting the stepper motor to run I wrote more program to try to get the motor to turn only 1/2 turn then stop. after writing the program, went to verify it I get an error message “error compiling for board Arduino Uno” what does this mean?
Jim

Hi,

Can you post a screenshot for the error you get ?
Here is some points to check :

]Verify if you used the correct Arduino board in Boards, select Arduino UNO/:m]
]Verify if you are using the correct COM port/:m]
]Verify if you have installed all the libraries used in your code./:m]

Regards,

Does that mean I need the libraries for the shield I am using. it’s an Arduino shield. As far as I know i have done all of this.
When I go to the arduino.cc site to write the program,in tools it shows my board and the right Com port. I do have the stepper motor running. I am trying to control the motor for what I need. To be able to rotate a certain amount of steps then stop.

Hi,

A screenshot of your Arduino IDE error and your Arduino code would help us troubleshoot the issue.

Regards,

How can I post the program with the error to the forum?

Take a screenshot of your Arduino IDE window displaying the error.
Click “Attachements” (as in the picture attached), Choose the screenshot picture “Choose File” and then “Add the file”.

The question I have since I know nothing about the hardware I purchased from you. One do I have the right shield for my stepper motor? My project I will only need one motor, when I bought everything I bought your part number RB-ITE-53, shield. And in my sketch do I have the right library for that shield? Last question, If I upload one of the libraries in “stepper” like “one step at a time” should it work on my board and motor? Thanks for your help.

RB-Ite-53 would need an Arduino and power, and the stepper you purchased seems fine. Since you’re new to the field, read the documentation carefully:
robotshop.com/content/ZIP/do … shd037.zip
There is sample code for the shield (attached).
DC_Dual_Step_Motor_Driver.zip (724 Bytes)

How do I download the file you sent me(dual motor shield driver)? My computer doesn’t recognize it.

It’s a ZIP file. Yo can use WinRar (available free online) to unzip the files.

Coleman,
First, I am so sorry that I am pestering so much. I guess because I know nothing when I got started with this. Bear with me.
I was able to get the file you sent. All it was is the sketch I have been working on to get the stepper to do a certain amount of steps.
You know the hardware I am using, Arduino-UNO, RB-ITE-53 driver, and the 12v nema17 motor. Is there any “library” I need to install in my sketch which may help getting the sketch to work? With the shield installed on top of the Arduino(plugged together), are the motor pins still 8, 9, 10, 11, ? So I can define these in my sketch properly?

The sample code in the last attachment does not need any additional libraries.
The communication used is I2C, so no need to change the code or the pins.
Additional info on the Wiki: itead.cc/wiki/Arduino_Dual_Step_Motor_Driver_Shield