Show Posts
Pages: 1 ... 51 52 [53] 54 55 ... 73
781  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.
782  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.
783  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.
784  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.
785  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.
786  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.
787  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.
788  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.
789  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.
790  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.
791  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.
792  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.
793  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.
794  Using Arduino / Motors, Mechanics, and Power / Re: "The Transmission They Said Wouldn't Work" - Popular Science, April 1971 on: March 26, 2012, 09:28:47 am
It's wonderful... NOT - It addsm more complexity for no more functionality. You need a slip ring setup to get power to the motor. High current and something more to maintain. I don't see any benefit, other than it is different. An improvement would be to make it simpler and with fewer parts. Thus you have a fixed motor drive a differential and the differential drive the 2 axles. Fewer moving parts and less rotational mass.
795  Using Arduino / General Electronics / Re: Battery voltage dropping upon connection on: March 26, 2012, 09:20:11 am
You are going about this backwards. You need to first figure out what the current demand is of the device you are trying to power. Then you need to determine how long you want it to run. THEN you can look at what battery you need to give that performance.

You are trying to run a diesel locomotive on a scooter engine.

You are going to have to either use a bigger battery, or eliminate functions until the battery you want to use can support the load.
Pages: 1 ... 51 52 [53] 54 55 ... 73