Show Posts
Pages: 1 ... 52 53 [54] 55 56 ... 73
796  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.
797  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.
798  Using Arduino / Programming Questions / Re: Rotary encoder, debounce on: March 26, 2012, 09:09:44 am
It may not be bounce. Many applications of encoders are for position feedback and that is not considered a problem. If you debounce it, it might miss motion at higher speeds.
799  Using Arduino / Programming Questions / Re: Assign Ether Or on: March 26, 2012, 09:07:14 am
NextState = !NextState;
800  Using Arduino / Project Guidance / Re: HOW TO STORE LARGE 8BIT,8KHz Mono PCM AUDIO SAMPLES on: March 26, 2012, 09:05:00 am
You aught to look into an adio playback chip with its own prom. The use the Arduino as a controller - tells the chip which message to use.
801  Using Arduino / Project Guidance / Re: Arduino for reasearch on: March 26, 2012, 09:02:41 am
You could program the arduino to control the stimulus AND measure the time for the response and send that value to the PC.

Have teh PC send a serial command to the Arduino when it wants the test run, and have the Arduino send back the result.
802  Using Arduino / Project Guidance / Re: Need some help with LED binary counter, not sure if it's hardware or software on: March 25, 2012, 10:04:03 pm
Okay - This first line describes leds as an array. those element are leds[0]=2, leds[1]=3,leds[2]=4 and leds[3]=5 which I take to mean pins 2, 3, 4 & 5
Arrays in C start with element 0.
int leds[] = {2, 3, 4, 5};

data is also defined as an array data[0] through data[3] for 4 elements.
char data[4];

Now in this function you use leds but without a subscript (that's what the number between the [ ] is called) and I should go from 3 down. You have no idea what is in leds[4] because you didn't initialize it.
void displayNumber() {
   for (int i=3; i > 0; i--) {   // old line - for (int i=4; i >= 0; i--) {
      if (data == '1') {               // old line - if (data == '1') {
         digitalWrite(leds, HIGH);  // old line - digitalWrite(leds, HIGH);
      } else {
         digitalWrite(leds, LOW);     // old line - digitalWrite(leds, LOW);
Also try some indenting as it makes it much easier to read and debug.
803  Using Arduino / Microcontrollers / Re: Creating a standalone Arduino on: March 25, 2012, 09:45:23 pm
If you are going to pull the chip from your Arduino it is going to be configured to run with an crystal/resonator. if you want to play with a 328 in a breadboard then the beswt approach is to buy a blank 328P and using the ArduinoISP and Arduino0.22 and use your Arduino to create whatever config you want in your new 328P.

Make sure you get a 328P, the 328 is also available, but there are a couple additions/changes you need to make to Arduino & AVRDude and I don't think you are ready to make those changes - yet.

Another thought - if you change your present 328 from your Arduino board that board may no longer function. Better to get another 328P and keep you present Arduino working because then you have a know working platform and the ability to use your Arduino as a programmer.

ArduinoISP lets your Arduino board function as a programmer. You can then program any of the options listed in the ArduinoIDE (and add others) and you can use AVRDude from the command line to program other AVR chips.

You can't program an AVR without either ArduinoISP loaded in an the chip on the Arduino board, or some other programmer. A blank 328P costs far less that a programmer, so order several, you will find uses for them.
804  Development / Other Software Development / Re: Passing extra options to avrdude on: March 23, 2012, 11:33:25 am
What i would suggest is add a board to the file with the correct device signature.
805  Development / Suggestions for the Arduino Project / Re: Will we ever see higher spec chips in the Arduino on: March 23, 2012, 11:31:13 am
It is possible that some of the folks that want more power/memory/etc really need to look to something in a MICROPROCESSOR and a more complex system.

Personally, for a system needing a bit mire power I would actually look into using a Z80/Z180 processor. I have a background in Z80 so they would be a nice fit.

When you start needing more power your precise needs are going to be very different from the next person because of the specifics that you need. Maybe you need a bunch of analog I/O, then next guy has no need for analog but wants a bunch of didtal I/O.

The Arduino is so useful because it brings out all the power of the 328 in a simple layout. There are very few trade-offs (dedicated reset and serial pins) and we have access to the chip with very inexpensive tools thanks to the Arduino team and Atmel.
806  Development / Suggestions for the Arduino Project / Re: Love to see a recent sketches list on: March 23, 2012, 11:22:41 am
Okay - A Recently Open Files under the Files Menu -

Like the idea

807  Using Arduino / Motors, Mechanics, and Power / Re: Stepper Motors help needed on: March 23, 2012, 11:20:04 am
What's the question?
808  Using Arduino / General Electronics / Re: Why are laser modules from reputable sites so expensive? on: March 23, 2012, 11:18:00 am
Because when you buy from a reputable source you are getting exactly what you orderred. That is why they are a reputable source. When you buy from Sam Wong in china you have no idea what you are getting. In the US you are also paying for some lawyer because the manufacturer and the distributor have to protect themselves from morons who hurt them selves using this stuff when they don't know what they are doing.
809  Using Arduino / General Electronics / Re: Arduino controlling DC motor - how to make it as safe as possible? on: March 23, 2012, 11:13:14 am
#1 - Your grounds are not tied together. The ground for the motor circuit is the - side of the supply. The pin you are tied to is not ground.
810  Using Arduino / Project Guidance / Re: Arduino project using mains voltage (240v) on: March 23, 2012, 11:08:35 am
#1 - What experience do you have working with AC and high voltage?

#2 - One side of the output side(Arduino Side) of the  transformer you are powering the Arduino from should be tied to ground. That will ground the Arduino.
Pages: 1 ... 52 53 [54] 55 56 ... 73