Show Posts
Pages: 1 ... 10 11 [12] 13 14 ... 49
166  Using Arduino / Programming Questions / Re: 4 ultrasonic sensor problem on: May 11, 2013, 10:19:50 am
How can I use this sensor?

You can wire it to the Mega using jumper wires.

That vague answer was a response to your vague question.  First we need to know what isn't working.  What is the serial monitor printing?  And, possibly how you have it wired.
167  Using Arduino / Motors, Mechanics, and Power / Re: looking for an I/O shield on: May 10, 2013, 05:21:24 pm
Holy cow, those are expensive.  Go to Ebay and pay half the price..
168  Using Arduino / Motors, Mechanics, and Power / Re: controlling 48 Tower Pro 9g Microservos w/ Arduino Mega on: May 10, 2013, 02:46:09 pm
then connect all to a 9v battery

I hope that 9V is not one out of a smoke detector.  They will be good for about a min at most, then you can throw it away.
169  Using Arduino / Installation & Troubleshooting / Re: Including Libraries From Custom Location Issue on: May 10, 2013, 05:32:19 am
So, I take it as nobody knows what's going on?
170  Using Arduino / Motors, Mechanics, and Power / A4982 Stepper Driver Trouble on: May 09, 2013, 08:42:32 pm
I have made a board based on the BigEasy Driver found at Sparkfun.  But instead of the A4983, I used an A4982, which is basically the same but comes in a package that I can hand solder.

Anyway, when I hook up my bench supply and bring it up to around 11V, it jumps to saying it's putting out 3A and the GND wire starts heating up (I didn't let it get past warm).  I checked at the screw terminals I have on the board with a meter and it's says less than a volt.  Seems I have a short somewhere..  But, I have checked over the board and I have no solder bridges, etc..  

I found the problem, was a bad board design on my part.  But I hacked the board and fixed that problem, but now the LM317  gets hot as you-know-what and no movement out of the stepper..  Think I may just buy an EasyDriver from sparkfun just to get the damn stepper turning..

So, would someone check over my schematic and see if I got something screwed up.  I copied the Big Easy schematic from sparkfun.



Also, I have the Arduino like the pic at this link: http://bildr.org/2012/11/big-easy-driver-arduino/

Code:
//This is an example of how you would control 1 stepper

#include <AccelStepper.h>

int motorSpeed = 9600; //maximum steps per second (about 3rps / at 16 microsteps)
int motorAccel = 80000; //steps/second/second to accelerate

int motorDirPin = 2; //digital pin 2
int motorStepPin = 3; //digital pin 3

//set up the accelStepper intance
//the "1" tells it we are using a driver
AccelStepper stepper(1, motorStepPin, motorDirPin);



void setup(){
stepper.setMaxSpeed(motorSpeed);
stepper.setSpeed(motorSpeed);
stepper.setAcceleration(motorAccel);

stepper.moveTo(32000); //move 32000 steps (should be 10 rev)
}

void loop(){

//if stepper is at desired location
if (stepper.distanceToGo() == 0){
//go the other way the same amount of steps
//so if current position is 400 steps out, go position -400
stepper.moveTo(-stepper.currentPosition());
}



//these must be called as often as possible to ensure smooth operation
//any delay will cause jerky motion
stepper.run();
}

171  Using Arduino / Project Guidance / Re: Some questions about Arduino Mini on: May 08, 2013, 03:31:14 pm
No, a FTDI will do just fine.

Here's a tutorial about it: https://www.sparkfun.com/tutorials/245
172  Community / Products and Services / Re: New Book - Hacking Electronics on: May 08, 2013, 07:09:08 am
Sweet write-up. 

Did you know that you "modify" your post and fix your broken img?
173  General Category / General Discussion / Re: Make Your Pitch - My Business Idea! on: May 08, 2013, 07:04:39 am
I would also have to add, is it just for your community?  What about mine? 

If people in your community, say 100, go to your site, I don't think you can make any money..
174  Topics / Robotics / Re: line following robot build on: May 07, 2013, 08:36:11 pm
No need to cross post either

http://arduino.cc/forum/index.php?topic=165187
175  Using Arduino / General Electronics / Re: Breakout Board help on: May 07, 2013, 08:27:25 pm
Nope..  Have you even looked at the board at Sparkfun and the SN754410?
176  Using Arduino / Project Guidance / Re: Some questions about Arduino Mini on: May 07, 2013, 06:26:11 pm
You need a programmer.  That link you posted used a AVRISP MKII.  I have one and there pretty good.  FOr what you are doing, no you don't need a bootloader.

Do you have a ISCP header on your board?
177  Using Arduino / Project Guidance / Re: Some questions about Arduino Mini on: May 07, 2013, 06:00:53 pm
Yep.
178  Using Arduino / Project Guidance / Re: Some questions about Arduino Mini on: May 07, 2013, 05:52:37 pm
in both of your shematics, all the pins are connected to GND in some way, whether straight to GND or through capacitors.  It just won't work without the Crystal or Resonator connected to GND in some way.
179  Using Arduino / LEDs and Multiplexing / Re: Dimming with AnalogRead/analogWrite-basic on: May 07, 2013, 05:46:08 pm
The analogRead doesn't work that way.  If you are just wanting to dim the LCD backlight, you just use analogWrite(PIN,VALUE);

It might be better if you explaining in detail what you are trying to do (Please include any libraries and the entire code).  The way you explained it, I think you are way over complicating it.

Why do you want to read a value then use it?
180  Using Arduino / LEDs and Multiplexing / Re: Electromagnetic 7 segment on: May 07, 2013, 05:37:04 pm
You are going to have to share the specs of those displays. What voltage, amperage, etc..
Pages: 1 ... 10 11 [12] 13 14 ... 49