Show Posts
Pages: 1 ... 375 376 [377] 378 379 ... 581
5641  Development / Other Software Development / Re: AVRProjectIDE with version of Arduino 1.0 on: March 27, 2012, 05:16:40 pm
Did you include the appropriate pins_arduino.h like from hardware/arduino/variants/standard/pins_arduino.h?
5642  Using Arduino / Sensors / Re: Max Arduino Uno Ultrasonic Sensors on: March 27, 2012, 09:40:51 am
I'm guessing if we're maxed out on 16 the best route would be to run a second board to handle the LED's and sync them up?

The I2C bus only uses two pins (A4 and A5).  You still have about 17 pins for other stuff.  With 8 pins you can make a 4x4 matrix display of your 16 LEDs.
5643  Using Arduino / Sensors / Re: Max Arduino Uno Ultrasonic Sensors on: March 26, 2012, 10:15:49 pm

You can set the I2C address of the module to any one of 16 choices.  That means that "up to 16 sonar's can be used" on a single I2C bus such as is found on the Arduino.
5644  Using Arduino / Microcontrollers / Re: ATmega328 optiboot with ftdi breakout? on: March 26, 2012, 12:39:57 pm
> So is it possible to program the chip and monitor serial using an ftdi breakout?


> and if so how, or do I need to burn the duemilanove bootloader?

Should work fine with the UNO bootloader.  Did you implement auto-reset?  If not you will have to manually reset.
5645  Using Arduino / Project Guidance / Re: External Oscillator on: March 26, 2012, 12:34:55 pm
You can use any external oscillator you want, as long as you pre-scale it to 16 MHz.  For example you could use a 64 MHz oscillator and a divide-by-4 external pre-scaler to feed 16 MHz to the ATmega.
5646  Using Arduino / Sensors / Re: Problem with ADXL335 on: March 26, 2012, 12:26:48 pm
The problem seems to be periodic.  What is the period of the bursts?
5647  Using Arduino / Project Guidance / Re: 10X11 led matrix [HELP] on: March 26, 2012, 11:10:45 am
The MAX7219 does 8X8.  That's easy for an 8x8 part of your 10x11 array.  The remaining 46 lights can be put anywhere you like in the other 8x8 matrix.  I'd probably use two rows to pad one side to 8x10 and three rows to pad the other side to 11x8.  That leaves three rows to control the 3x2 block to fill in the corner.
5648  Using Arduino / Sensors / Re: Quantum light sensor on: March 26, 2012, 10:59:13 am
The sensor is NOT an LDR or photoresistor.  It's a photovoltaic (generates current) detector.  It typically generates 5 microamps at 1 milimole per second per square meter.  Since the Arduino measures voltage and not current  Your sensor should have come with a calibration value to to replace the 'typical' value of 5.  To convert from current to voltage multiply by .604.

Measure the the voltage across the sensor, divide that by 0.604 to get millivolts, divide that by the calibration value to getmillimoles per second per square meter.  You will probably want to use a the lowest available analog reference (Aref) value to get a reasonable useful range of voltage readings.
5649  Using Arduino / Project Guidance / Re: calculate relative direction to destination on: March 26, 2012, 10:35:48 am
is there a particular reason you didn't use the "course_to" method?
The GPS-determined heading fluctuated too much at low speeds because it depends on motion to determine heading.  The compass measures absolute heading against an external reference (Earth's magnetic field).
5650  Using Arduino / Installation & Troubleshooting / Re: Ports, Power, Servo problems on: March 26, 2012, 09:41:31 am
I even downloaded Arduino 1.0 and tried running "Sweep" still no servo movement.  Any help would be greatly appreciated.

Either you have things wired wrong or the Arduino outputs have dies or the Servo inputs have died.

Are you sure the Arduino ground and the Servo ground are still connected?
5651  Using Arduino / Audio / Re: HELP TO STORE 8BIT,8KHz Mono PCM AUDIO SAMPLES in ARDUINO on: March 26, 2012, 09:36:58 am
36 seconds at 8000 bytes per second is 288,000 bytes.  The ATmega328P has only 32,000 bytes of FLASH memory.  You will have to find some other way to store the sounds.  Several companies make 2 megabit (256K x smiley-cool and larger serial EEPROM chips for under $1 each.
5652  Development / Suggestions for the Arduino Project / Re: Remote command from LAN and from Serial port on: March 26, 2012, 09:19:34 am
That's weird... The code for .parsePacket() returns immediately if .available() returns 0 so it shouldn't be blocking.
5653  Using Arduino / Programming Questions / Re: Real Time Clock Chip for Waking up from Sleep on: March 26, 2012, 09:02:48 am
If the USB host shield draws less than about 30 mA you can drive it directly from a logic pin.  More than that and you will need a relay or other switch to control the power.  A logic-level MOSFET would probably do the trick and draw little power when off.  Don't forget a pull-down resistor on the Gate so the Gate isn't left floating when the ATmega goes to sleep.
5654  Using Arduino / Networking, Protocols, and Devices / Re: Help me identify this transmitter ! on: March 25, 2012, 08:10:08 pm
That picture isn't nearly close enough to show text and logos on the chips.
5655  Using Arduino / LEDs and Multiplexing / Re: Blinking an LED a set number of times with respect to analog input...... on: March 25, 2012, 08:00:45 pm
    for (int i=0; i<maxBlinks; i++)
         digitalWrite(green1, blinks1 <= 5 && blinks1 < i);
         digitalWrite(blue1 , blinks1 > 5 && blinks1 < =10 && blinks1 < i);
         digitalWrite(red1   , blinks1 >10 && blinks1< i);

         digitalWrite(green2, blinks2 <= 5 && blinks2 < i);
         digitalWrite(blue2 , blinks2 > 5 && blinks2 < =10 && blinks2 < i);
         digitalWrite(red2   , blinks2 >10 && blinks2< i);

        digitalWrite(green3, blinks3 <= 5 && blinks3 < i);
         digitalWrite(blue3 , blinks3 > 5 && blinks3 < =10 && blinks3 < i);
         digitalWrite(red3   , blinks3 >10 && blinks3< i);


         digitalWrite(red1,    LOW);
         digitalWrite(green1, LOW);
         digitalWrite(blue1,  LOW);
         digitalWrite(red2,    LOW);
         digitalWrite(green2, LOW);
         digitalWrite(blue2,   LOW);
         digitalWrite(red3,    LOW);
         digitalWrite(green3, LOW);
         digitalWrite(blue3,   LOW);


        lcd.setCursor(0, 1); //sets the cursor to column 0, line 1   
        inputReading1 = analogRead(sensor1); //getting the voltage reading from the 02 sensor   
        float voltage1 = inputReading1 * aref_voltage1; // converting that reading to voltage
        voltage1 /= 1024.0;   
        lcd.print(voltage1, 2);//print actual voltage to lcd   

        lcd.setCursor(6, 1); //sets the cursor to column 6, line 1     
        inputReading2 = analogRead(sensor2); //getting the voltage reading from the O2 sensor   
        float voltage2 = inputReading2 * aref_voltage2; // converting that reading to voltage
        voltage2 /= 1024.0;
        lcd.print(voltage2, 2);  //print actual voltage to lcd
        lcd.setCursor(12, 1); //sets the cursor to column 12, line 2   
        inputReading3 = analogRead(sensor3); //getting the voltage reading from the O2 sensor   
        float voltage3 = inputReading3 * aref_voltage3; // converting that reading to voltage
        voltage3 /= 1024.0;
        lcd.print(voltage3, 2);  //print actual voltage to lcd
Pages: 1 ... 375 376 [377] 378 379 ... 581