Show Posts
Pages: 1 ... 399 400 [401] 402 403 ... 539
6001  Using Arduino / Programming Questions / Re: GPS EM406a on: December 31, 2011, 03:36:52 pm
You could try displaying gps.gprmc_course_to(dest_latitude, dest_longitude)  and gps.gprmc_course() separately to see if one or both are fluctuating.
6002  Using Arduino / Installation & Troubleshooting / Re: Red power light on: December 31, 2011, 03:28:04 pm
And I am sure there is no worthwhile recourse.  Well I guess I can only go as far as I can with this one and correct my error.

Since the board says "Arduino" on it you can report them for trademark infringement.  Anyone can legally make an Arduino clone as long as they don't call it an Arduino.
6003  Using Arduino / Displays / Re: RGB color change on thermistor input- code suggestions? on: December 31, 2011, 03:18:10 pm
Just for completeness, analogRead() does not return millivolts.  It returns a number from 0 to 1023 for voltages between 0 and the analog reference (5v by default).  That's increments of 4.883 millivolts.
6004  Using Arduino / Programming Questions / Re: Pointer to attach? on: December 31, 2011, 02:55:53 pm
Am I understanding this correctly? When the attach() method is called in the following code snip, the returned value is a pointer to this Servo instance's attach overridden function?

No, it's returning the result of the call to the attach() method that takes three arguments.

'this' is the pointer to the servo object.  'this->attach()' is a call to one of the attach() methods of the object.  The particular attach() method is chosen by the number and type of arguments.

This function makes myServo.attach(pin); equivalent to myServo.attach(pin, 544, 2400);
6005  Using Arduino / Installation & Troubleshooting / Re: Red power light on: December 31, 2011, 12:11:08 pm
Did you get the Arduino Mega 2560 from Arduino or is it a cheap knock-off.  The genuine one will say Made in Italy on it.
6006  Using Arduino / Microcontrollers / Re: bootloaders on: December 31, 2011, 12:08:42 pm
The 'preferred' bootloader is specified in boards.txt.  You can re-flash the bootloader if you want to be sure which one you have.
6007  Using Arduino / Project Guidance / Re: Drink Mixer/Dispenser on: December 31, 2011, 09:26:19 am
It is entirely possible.  You will probably need a small transistor and resistor to drive each pump.  If you use a serial LCD it will only use up two pins.  If you are decoding a 3x4 keyboard that will take 7 more pins.  That will leave you with about 10 pins left over for controlling pumps.  If you want to display a description of the drink being made on the LCD you might need some external storage like an SD card.
6008  Using Arduino / Project Guidance / Re: Connections to an Adafruit motor shield/Arduino Uno on: December 31, 2011, 09:06:18 am
You could put an Adafruit Proto-Screwshield between the Arduino and the motor shield:

http://www.adafruit.com/products/196

6009  Using Arduino / Programming Questions / Re: GPS EM406a on: December 31, 2011, 08:58:28 am
Calculating how far to turn to face the destination coordinates.

Azimuth angle of destination - azimuth angle of current heading = angle to turn to face destination.
6010  Using Arduino / Networking, Protocols, and Devices / Re: Can't get SPI master to go - what am I missing? on: December 31, 2011, 08:40:48 am
Instead of using the SPI output for timing you might be better served by using one of the timers.  You could probably even use a single timer for both carrier frequency and modulation if the carrier frequency is a multiple of the modulation pulse width.

6011  Using Arduino / Networking, Protocols, and Devices / Re: Can't get SPI master to go - what am I missing? on: December 30, 2011, 09:58:13 pm
You don't seem to be using any Arduino libraries.  Are you using Arduino hardware?  Perhaps you should try the folks at AVRfreaks (http://www.avrfreaks.net/) who have more experience with using the raw AVR hardware registers.

You're really trying to modulate a 38 KHz carrier with a 125 KHz signal?
6012  Using Arduino / Displays / Re: Broken HD44780 LCD? Or not? on: December 30, 2011, 09:47:01 pm
Did you do this step:
Quote
Open up the File→Examples→LiquidCrystal→HelloWorld example sketch

Now we'll need to update the pins. Look for this line:

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
And change it to:

LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
To match the pin table we just made.

Now you can compile and upload the sketch
6013  Using Arduino / Audio / Re: How to Adjust FFT Range and Bin Size on: December 30, 2011, 09:38:58 pm
If I understand my reading correctly you will need to sample at 1000 Hz to get valid data up to 500 Hz.  To get 128 bins across 500 Hz you will need to do the FFT on 256 samples.  I think you will want a low-pass filter to avoid aliasing (a 1.2 KHz signal sampled at 1 KHz looks just like a 0.2 KHZ (200 Hz) signal.  You will want to filter out as much as you can above 500 Hz.
6014  Using Arduino / Project Guidance / Re: SDR with arduino on: December 30, 2011, 09:18:59 pm
I don't know enough about SDR to say it's impossible but I don't think the ATmega has the A/D bandwidth or signal processing capability suitable for an SDR.
6015  Using Arduino / Programming Questions / Re: TinyGPS static_test example won't compile. on: December 30, 2011, 08:18:55 pm
You could try putting the Arduino 1.0 style "Arduino.h" in place of the pre-1.0 style "WProgram.h" (inherited from Wiring) to see if that fixes the problem.
Pages: 1 ... 399 400 [401] 402 403 ... 539