Show Posts
Pages: 1 ... 51 52 [53] 54 55 ... 73
781  Using Arduino / Motors, Mechanics, and Power / Re: 6pin printer steppers and Darlington NPNx4 arrays on: March 27, 2012, 04:04:13 pm
Pins 2, 4, 9 and 11 connect to your 4 coils on your motor. The 2 common wires on your motor connect to + voltage. 6 & 7 to Ground. (Tie this ground to the arduino ground)

the 4 outputs from your arduino connect to 1, 5, 8 & 12.

Figure our the proper sequencing of your leads from the motor. Use an ohm meter to figure out the 4 coils and the 2 commons. Coil to coil will have 2x the rsistance of coil to common.
782  Using Arduino / Project Guidance / Re: Commercialize Arduino + Ethernet Shield Project on: March 27, 2012, 03:48:44 pm
You could use the wiznet module (Compliant WIZnet W5100 Network Module with Mag Jack - WIZ811MJ, Sparkfun DEV-09473) or the Sparkfun Ethernet Pro - DEV-10536
which would have teh ethernet and 328 on 1 board.
783  Using Arduino / Project Guidance / Re: Traction Control Project on: March 27, 2012, 03:39:32 pm
Why does it matter if the switch is read every time through the loop? It won't take mcuch processing time and it allows the setting to be changed at will without having to do anything else. And it is always functional.
784  Using Arduino / Motors, Mechanics, and Power / Re: 6pin printer steppers and Darlington NPNx4 arrays on: March 27, 2012, 10:50:43 am
Instead of making us do the work for you, why don't you post a bit more info on the darlingtons.

As the help is for free, and most of us have other stuff we could/should/aught to be doing, and this is your project, make it easy for us to see what you are talking about and we will be much more willing and able to help.

There is a lot of knowledge/experience to be found here, do your part to do as much research as you can, and we will be glad to help you with more resources.

Get the datasheet for those darlingtons and then give us a little schematic of them a and go from there. You can find a lot of datasheets online just search for datasheet and the part number.
785  Using Arduino / Motors, Mechanics, and Power / Re: Help on interference between motor and encoder on: March 27, 2012, 10:41:20 am
Are you using the same power supply for the motors and encoders? If so then you need to isolate them, possibly powering the encoders from the Arduino.

Are the motor and encoder wires running in parallel? Are the encoder wires shielded? You may need to shield the encoder wires and ground the shield at ONLY 1 END.

PWM can be rather noisy and because of the on-off-on-off... nature of PWM it can induce a lot of noise in nearby circuits.
786  Using Arduino / General Electronics / Re: Am I having crystal problems? on: March 27, 2012, 10:25:31 am
Do youhave your Pull-Up/Pull-Down resistors wired correctly? Sounds like you have a floating input that tends to stay at its last state.
787  Using Arduino / General Electronics / Re: Measuring Voltage without common Ground on: March 27, 2012, 10:23:44 am
An op-amp would be appropriate here. It would provide a High Impedence to to the sensor and a voltage output you could use with your Arduino. It could also provide some signal scaling so you could have a higher number of bits to work with at the A2D in the Arduino.
788  Using Arduino / General Electronics / Re: Need help finding a solution. on: March 27, 2012, 10:20:36 am
Okay... Not quite sure what you are asking there...

Whatever battery you use you will have to give the Arduino 5VDC. If your battery voltage is higher (needs to be 7V or higher) then feed it into the external power connector and the 5V regulator will supply the 5V the Arduino needs. A bigger capacity battery will not "Overpower" your Arduino any more that the power company can "overpower" your appliances at home. More capacity in your batteries will not "overpower" your Arduino, it will just let the Arduino run longer before the batteries need charging or changing.
789  Using Arduino / Project Guidance / Re: Need some help with LED binary counter, not sure if it's hardware or software on: March 27, 2012, 10:05:38 am
you need a 220 Ohm to 470 Ohm resistor between the Arduino output and the LED. Without it you will damage the Arduino outputs.

What you might be seeing is the turning on and off of the 1 bit as you count up. Every other number is ODD so the 1 bit would be lit for every other number.

Don't have my Arduino here at work so I can't test the code.
790  Using Arduino / Microcontrollers / Re: Creating a standalone Arduino on: March 27, 2012, 09:57:22 am
I was referring to modifications to some files. No modifications are needed to be made to the Arduino hardware. You might consider getting a 328 or 2 with the bootloader already loaded.
791  Using Arduino / Installation & Troubleshooting / Re: Pins Are there ever enough on: March 26, 2012, 03:40:40 pm
Pins 0 & 1 are used for serial.

No matter how many pins you have you will eventually run out as you add more and more stuff. BUT what is ram doing? how much of that do you have left with all these devices? I would think that you need to look at that also.

You might try splitting your application among several 328's, instead of loading it all on the one. More I/O , and setup communication among them.
792  Using Arduino / General Electronics / Re: Battery voltage dropping upon connection on: March 26, 2012, 03:34:10 pm
Get a millampere meter and put it in the circuit and operate it. Look at peak current demands.
793  Using Arduino / Project Guidance / Re: reading data off of pots (using firgelli actuators) on: March 26, 2012, 01:06:02 pm
Those delays are eliminating any chance for control. You can let that loop run as fast as possible to minimize overshoot.

How far can your acuator move in 2 delay(15)? They are not needed.
794  Using Arduino / Project Guidance / Re: External Oscillator on: March 26, 2012, 12:59:58 pm
You can't clock the 328 at a faster clock rate - (there is a 20Mhz version) the chip won't work properly at faster clocks. The internal circuitry won't work much faster. If you are trying to work with something at that high a frequency you probably need a different device.
795  Using Arduino / Microcontrollers / Re: Creating a standalone Arduino on: March 26, 2012, 12:56:52 pm
The 328P and the 328 have different signatures bytes. Several files need additions/changes to be made and then you could work with either chip.

From the questions you asked and the way you asked them it suggests that for now, you would be better served getting a few 328P chips and getting a little more experience before you tackle too many changes.

Hooking up a 328P on a breadboard is not difficult, get hold of a Max232 or SP3232 or similar chip and you can program it using the serial port on your PC. I have one configured this way. I use mine for testing other circuits that I am bread boarding. It is easier than running jumpers from my Arduino board to the bread boad as everything is a bit more solid and stable. You can find several Breadboard Arduino pages out there and even a couple YouTube videos.

A bread boarded 328 works just fine at 16Mhz. I have done it several times with a 16Mhz resonator.
Pages: 1 ... 51 52 [53] 54 55 ... 73