Show Posts
Pages: [1]
1  Using Arduino / Motors, Mechanics, and Power / Re: Radio Shack Arduino Motor Sheild on: May 02, 2013, 12:29:11 pm
I can't seem to load a picture, but the stepper has 4 wires A,B,C,D, AC is a coil and BD is a coil, no other internal connections. The specs are Step angle 1.8, Rate Voltage is 5, Rate Current is 1. There is more, but I don't think it's pertinent.

I did try connecting a power supply to the Mega, and a 9V battery to the Sheild, but same effect. I'm looking for some AA's and a holder...
The wires are currently connected up as A to the first -, C to the first +, B to the second -, and D to the second +. I did try swapping B and D, but no effect.

Motor link http://www.wantmotor.com/ProductsView.asp?id=150&pid=80
2  Using Arduino / Motors, Mechanics, and Power / Radio Shack Arduino Motor Sheild on: May 01, 2013, 12:42:59 pm
Hey,

Here's the Sheild... http://arduino.cc/en/Main/ArduinoMotorShieldR3
And here's the Stepper motor... http://www.wantmotor.com/ProductsView.asp?id=150&pid=80
The code I'm using is installed with the basic Arduino package, and I just realized it's not for use with a sheild! But here it is anyways...
Quote
/* 
 Stepper Motor Control - one revolution
 
 This program drives a unipolar or bipolar stepper motor. 
 The motor is attached to digital pins 8 - 11 of the Arduino.
 
 The motor should revolve one revolution in one direction, then
 one revolution in the other direction.  
 
  
 Created 11 Mar. 2007
 Modified 30 Nov. 2009
 by Tom Igoe
 
 */

#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);           

void setup() {
  // set the speed at 60 rpm:
  myStepper.setSpeed(60);
  // initialize the serial port:
  Serial.begin(9600);
}

void loop() {
  // step one revolution  in one direction:
   Serial.println("clockwise");
  myStepper.step(stepsPerRevolution);
  delay(500);
  
   // step one revolution in the other direction:
  Serial.println("counterclockwise");
  myStepper.step(-stepsPerRevolution);
  delay(500);
}


I have a 9V battery connected to the sheild and have a USB cable connected to the computer. It loaded the sketch, but at best all I can get is the motor to hum. I've tried making a chart and connecting the motor in several different ways.
I cannot find any references on how to use this sheild.

Any ideas?

Thanks!
3  Using Arduino / Displays / Re: Seeedino Touch Screen V1.0 from Radio Shack on: November 09, 2012, 12:47:39 pm
Got it working. I was only putting in the web address as http://www.seeedstudio.com/wiki/2.8%27%27_TFT_Touch_Shield_V1.0 when it is http://www.seeedstudio.com/wiki/2.8%27%27_TFT_Touch_Shield_V1.0#Resources

I added the files to the main Arduino folder, the library folder and the examples folder, just to make sure I had it where it is needed.

Thanks for all the help guys, now its time to play!! smiley-twist
4  Using Arduino / Displays / Re: Seeedino Touch Screen V1.0 from Radio Shack on: November 09, 2012, 12:20:29 am
Try Here For the good lib's and sketch demo's... They work well for Me.
http://henningkarlsen.com/electronics/library.php?id=52

Bob

Hey Bob,

I did try this one also, a few days ago. Didn't work, don't know why. OH yeah, this is the one that works for the one I bought on E-bay!

I'm trying to put all these folders in the Arduino library and example folders just to make sure they are in the right place. I'll give this one a try again, load the folders in both examples and library folders for arduino...

Nope, white screen of death, but it does upload with no errors.
5  Using Arduino / Displays / Re: Seeedino Touch Screen V1.0 from Radio Shack on: November 09, 2012, 12:16:33 am
I had the same problem.  I did a search of the wiki site and found this:

http://www.seeedstudio.com/wiki/File:TFT_TouchScreen_for_Arduino_1.0.zip

Steve


Steve, Tried that file again, thats the one the touch screen displays pressure on the serial monitor, but when attempting sketch_nov_08 I get error "XP" was not declared in this scope.
6  Using Arduino / Displays / Re: Seeedino Touch Screen V1.0 from Radio Shack on: November 09, 2012, 12:04:46 am
I had the same problem.  I did a search of the wiki site and found this:

http://www.seeedstudio.com/wiki/File:TFT_TouchScreen_for_Arduino_1.0.zip

Steve


Steve, Yes, this is one I've tried. It worked for you, so I'll try again! You didn't have to modify it any?
7  Using Arduino / Displays / Re: Tft 3.2 Touch will just not work -.- on: November 08, 2012, 08:03:28 pm
Try the UTFT library instead
well, now ...

 a white screen...

Hey, not sure if you're using the same screen as I was, but I had that exact same problem and got it to work by reversing the directions that say...
// Uncomment the next line for Arduino 2009/Uno
UTFT myGLCD(ITDB32S,19,18,17,16);   // Remember to change the model parameter to suit your display module!

// Uncomment the next line for Arduino Mega
//UTFT myGLCD(ITDB32S,38,39,40,41);   // Remember to change the model parameter to suit your display module!

I just commented the one it said to uncomment, and uncommented the one it says to comment

// Uncomment the next line for Arduino 2009/Uno
//UTFT myGLCD(ITDB32S,19,18,17,16);   // Remember to change the model parameter to suit your display module!

// Uncomment the next line for Arduino Mega
UTFT myGLCD(ITDB32S,38,39,40,41);

There was also an issue with the pin numbers as stated in the previous post. I can check my code when I'm home and post it.

Hope this helps!
8  Using Arduino / Displays / Re: Seeedino Touch Screen V1.0 from Radio Shack on: November 08, 2012, 07:55:45 pm
I had the same problem.  I did a search of the wiki site and found this:

http://www.seeedstudio.com/wiki/File:TFT_TouchScreen_for_Arduino_1.0.zip

Steve


I'm sure I've tried that one also, but I've been all over Google, Arduino, Seeduino... I'm starting to get confused as to what I've done. I had an issue where I inserted a folder called TouchScreen in my Arduino's library, but it didn't show up when I restarted. So now I'm re-organizing the folders to a "save" folder and trying to start all over again. Seems if you have a folder called TouchScreen and you try to rename it TouchScreen 2 and then add a folder called TouchScreen, it won't show the new TouchScreen folder when you re-start. I was able to get the new TouchScreen folder to show if I completely changed the name of my original TouchScreen folder to something like DonotDelete.

Like I said, I've been killing myself over this for a few days and trying everything except what works.
9  Using Arduino / Displays / Re: Seeedino Touch Screen V1.0 from Radio Shack on: November 08, 2012, 05:25:34 pm
The screen is here http://seeedstudio.com/wiki/2.8''_TFT_Touch_Shield Its also where you find the links as I showed above.
10  Using Arduino / Displays / Seeedino Touch Screen V1.0 from Radio Shack on: November 08, 2012, 03:21:00 pm
I can't seem to find the library and Sketch to get this working.

The screen is here: http://seeedstudio.com/wiki/2.8''_TFT_Touch_Shield

The link http://seeedstudio.com/wiki/File:TFT%26TouchScreen_libraries.zip is not a valid link. There are no files there. So I went with http://seeedstudio.com/wiki/images/2/29/Tft_touch_libraries_11252011.zip, which has TFT and TouchScreen files. I deleted ALL files in my Arduino folder and just added the two files, but the TouchScreen file does not display in the Arduino program after restarting, and the TFT sketch will come up with lots of errors when verifying.

I also tried downloading the files at https://github.com/adafruit/Touch-Screen-Library, which contains Touch_Screen_Library_Master. This has an example called Touchscreendemo which works in that it will display data on the Serial Monitor, but only the pressure changes. X = 1023 Y = 0 Pressure = 249. There is no display. The display will light up connected to a UNO, but not when connected to the MEGA.

The errors I get trying to run a Uno with the sketch_nov08a is...

C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp: In member function 'unsigned char TFT::getData()':
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp:43: error: 'delay' was not declared in this scope
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp: In member function 'void TFT::init()':
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp:140: error: 'delay' was not declared in this scope
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp: In member function 'void TFT::setXY(unsigned int, unsigned int)':
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp:393: error: 'constrain' was not declared in this scope
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp: In member function 'void TFT::drawLine(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)':
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp:453: error: 'abs' was not declared in this scope
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp: In member function 'void TFT::drawVerticalLine(unsigned int, unsigned int, unsigned int, unsigned int)':
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp:475: error: 'constrain' was not declared in this scope
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp: In member function 'void TFT::drawHorizontalLine(unsigned int, unsigned int, unsigned int, unsigned int)':
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp:493: error: 'constrain' was not declared in this scope


I have a couple of Uno's and MEGA's, so any suggestions?


11  Using Arduino / Displays / Re: TFT display on: November 02, 2012, 10:23:11 pm
P18F4550,

You are my hero! It's working! Thanks so much!!!

Oops, I had my displays swapped. The one thats working is the one I got from SAINSMART. So, still my hero. But the one I bought from Radio Shack is still giving me headaches. But since one is working smiley

Neither of them have any numbers that correlate with anything I've read so far. The radio shack display won't even load the code.
12  Using Arduino / Displays / TFT display on: November 01, 2012, 12:59:15 pm
Bought this http://www.seeedstudio.com/depot/28-tft-touch-shield-p-864.html?cPath=132_134 from Radio Shack with a Arduino 2560. Thought they'd have good links, examples, but no such thing. They first want you to edit the library, line 15, but opening it in notepad gives you about three lines of data 15 miles long!

The Arduino examples dont work either. I've now spent over $300 to get a simple project to play with. What a waste! Tired of E-bay, China, and now Radio Shack. Ya, I'm venting, but since no-one seemed to read my other post, I guess these just go out into cyber recycle bins anyways. Only other posts I saw dont help, just pointed the poor fool to a tutorial which doesn't help either. What a great way to fool the public into trying something for themselves.

I'm going to build another fully electric Chevy S10 or maybe convert a Miata... Use good old fashioned analog displays!

Unless of course someone can actually help...
13  Using Arduino / Displays / Re: 128x64 LCD - begginers on: October 31, 2012, 10:39:23 am
Trying to use a TM12864L-2 with an Uno. Is this even possible?

I have no data sheet. I've been cruising through lots of forums and google searches....

I can't find a wiring diagram, and I may have even blown it trying to wire it to an Uno using a Mega wiring diagram as a reference. All the tutorials seem to use Mega's.
Pages: [1]