Show Posts
Pages: 1 ... 285 286 [287] 288 289 ... 405
4291  Using Arduino / Programming Questions / Re: 1 volt? on: November 06, 2011, 07:21:32 pm
I also said you are probably drawing too much current through the Arduino's 5V regulator.  I wouldn't power the motors from the 5V pin.
4292  Using Arduino / Programming Questions / Re: noob can't add library on: November 06, 2011, 07:19:24 pm
The download of the library has a bug in it.  I get the same error.

Open up the TimerOne.cpp file and change the line:

#include "TimerOneTesting.h"  //to
#include "TimerOne.h"


Edit: Fixed the file name that needs to be changed.
4293  Using Arduino / Project Guidance / Re: Arduino propely booting only if usb powered on: November 06, 2011, 05:57:29 pm
Heavy duty?  What is the current capacity of the battery?

USB doesn't use a regulator.  The 5V is provided from the USB rail.
4294  Using Arduino / Installation & Troubleshooting / Re: [Sketch] [Tool] [Help] not shown in Sketch-window with Mac-OSX on: November 06, 2011, 05:54:54 pm
Are you also new to Mac OS X?

The bar you describe is the menu bar.  As with every other Mac application, it is at the top if the screen, not the window.
4295  Using Arduino / Programming Questions / Re: 1 volt? on: November 06, 2011, 05:37:26 pm
im using a 9 volt battery
ou are likely drawing too much current through the Arduino's on-board regulator.  It is a wonder the board doesn't reset when you turn on the motors.

Agree with Paul.  If you're talking the PP3 style battery, that isn't going to work for powering a motor.  You'd need 3 or 4 of them in parallel.  6 AAs would make much more sense.
4296  Using Arduino / Programming Questions / Re: How would i take a serial array and split it for an rgb led on: November 06, 2011, 04:38:36 pm
well that won't wait for 13 characters, that'll fire even when Serial.available() is 0.
4297  Using Arduino / Programming Questions / Re: 1 volt? on: November 06, 2011, 04:34:05 pm
I dont have one what do you recommend I use? Oh and the transistors are the standard ones you get at radio shack, part number 2N3904.
A 100ohm or 1kohm is generally a good idea.  It helps to prevent too much current from flowing between the I/O pin and the transistor.  You have to be careful to pick a value small enough so that there is enough current to turn on the transistor but large enough to limit it.  I'd start with a 1k.

Oh and I don't know if this helps or not but I'm powering the two dc motors from the 5v pin on the arduino
And how are you powering the Arduino?
4298  Using Arduino / Programming Questions / Re: How would i take a serial array and split it for an rgb led on: November 06, 2011, 04:12:23 pm
You need to understand that Serial only transfers 1 byte at a time.  So even if you type "255,255,255" into the Serial Monitor the Arduino sees a '2', then a '5', then a '5', then a ',' and so on.

So the first step is to get the string of characters transfered correctly.  There are examples on how to do this in the forum.  Start there and then you'll have actual code you can ask questions about.
4299  Using Arduino / Programming Questions / Re: 1 volt? on: November 06, 2011, 02:23:15 pm
When posting code, is helpful to use the "#" button to wrap the code in code tags.


If a PIN is set to HIGH and it isn't at 5V it is usually because of two reasons:
1) The pin wasn't set to OUTPUT (which you did.) and
2) Too much current is being drawn. 

What value resistor do you have between the pin and the base of the transistor?
4300  Using Arduino / Programming Questions / Re: How would i take a serial array and split it for an rgb led on: November 06, 2011, 02:20:48 pm
Step #1:  Don't cross post.  Delete one of your posts
http://arduino.cc/forum/index.php/topic,78024.msg589191.html#msg589191
4301  Using Arduino / Programming Questions / Re: Library on: November 05, 2011, 11:44:59 pm
I've used this as a template to create libraries:
http://www.arduino.cc/en/Hacking/LibraryTutorial
4302  Using Arduino / General Electronics / Re: LM2931-5 does not do its job... on: November 05, 2011, 11:21:07 pm
I've noticed that, but I hoped it had no serious influence. Isn't the purpose of the capacitors just to clean up the output?
Your definition of "clean-up" may very well differ from the person who designed the regulator.  As mike suggested, LDOs are FAR more sensitive to oscillations.  A LDO isn't as forgiving on a demanding output-load.

You can't fault a design if you don't follow the recommended guide.
4303  Using Arduino / Installation & Troubleshooting / Re: Liquidware Touchshield Slide programming error on: November 05, 2011, 10:55:05 pm
I had a dialog with Mike at Liquidware and he told me to use the Arduino IDE to program the Arduino UNO board and use the Antipasto IDE (latest version) to program the TSS.
The path names in the debug messages suggest you aren't using the Arduino IDE.

I'd push back on wherever you bought the thing you are using, connected to the Uno.
4304  Using Arduino / General Electronics / Re: LM2931-5 does not do its job... on: November 05, 2011, 10:07:53 pm
P.S. There are 100n capacitors going from vout to GND and Vin to GND. Forgot to add them to the picture.
Just for the record, Vo is shown as 100µF, not 100nF.

What is the load?
4305  Using Arduino / General Electronics / Re: 5V to 12V on: November 05, 2011, 09:48:56 pm
What is the simplest/easiest way to bump 5 volts to 12 volts?

What are you trying to do?  if you need to power a 12V device, there are DC to DC converters.  If you are adjust signals, op-amps might be option.
Pages: 1 ... 285 286 [287] 288 289 ... 405