Show Posts
Pages: 1 ... 399 400 [401] 402 403 ... 592
6001  Using Arduino / Sensors / Re: Middle-Aged Engineering Grum-P-Lab on: March 13, 2012, 08:59:57 am
It's probably best to NOT use a URL shortener when you want strangers to click on a link.  smiley
6002  Using Arduino / Programming Questions / Re: Statement required twice for sketch to work on: March 12, 2012, 05:55:01 pm
The first "countNow = SerialInVal;" only gets executed when Serial.available() is true.

The second one gets executed every time through loop(), even if no new character has arrived.  It re-sets countNow to match SerialInVal, the value of the last character received.  As you say, countNow is destroyed later in the code and I guess your code expects it not to be.
6003  Using Arduino / Programming Questions / Re: Arduino Mega 2560 Pinout on: March 12, 2012, 05:45:42 pm
The Arduino uses a 6-pin ISP header with Power, Ground, Reset, SPI_Clock, SPI_MOSI, SPI_MISO.  You may or may not be able to adapt the JTAG connector to work with those pins.
6004  Using Arduino / Sensors / Re: Variable PIR Sensor on: March 12, 2012, 05:26:36 pm
I think you might mean the video that Jeri Ellsworth made:
6005  Using Arduino / Project Guidance / Re: Arduino + WiFi + SD Card + GPS + Accelerometer? on: March 12, 2012, 05:21:20 pm
Hmmm would it be possible to modify the SD card on the logging shield to use a different pin?

It should be possible to cut the trace and jumper it to another pin.
6006  Using Arduino / Sensors / Re: What kind of sensor I have to huse? on: March 12, 2012, 03:51:12 pm
Yes, either of those will work to measure the number of revolutions.
6007  Using Arduino / Project Guidance / Re: Arduino + WiFi + SD Card + GPS + Accelerometer? on: March 12, 2012, 03:47:15 pm
Looks like the WiFi module has the SS signal on Pin 10 but the SD card on the GPS logging shield also uses Pin10 for SS. Perhaps an external SD adapter and GPS module would avoid the conflict.
6008  Community / Bar Sport / Re: looking to meet people on: March 12, 2012, 03:35:07 pm
One good place to meet women is at your local contradance. It's easy to learn by doing, fun to do, and good exercise. You don't need to bring a dance partner. Most dancers change partners for each dance. There are no 'traditional costumes" needed.  The dancing is very social in that you and your current partner dance with 10 to 15 other couples in each dance (about 15 minutes).  Google can usually find a dance within an hours drive.
6009  Using Arduino / Installation & Troubleshooting / Re: Replacing Atmega8 with Atmega328 IC on: March 12, 2012, 10:36:31 am
is there any other alternative to reset the atmega32 ??

See reply 3: "Try holding down the reset button, clicking the Upload button for the sketch, and releasing the reset button when you see the "Binary sketch size:" message appear."
6010  Using Arduino / General Electronics / Re: IR receiver , unusual remote DVD control on: March 12, 2012, 10:32:15 am
Idea is simply = when the button is pushed - LED turn on and when the button is not pushed - LED off .

Unfortunately the remote doesn't send a message for "The button is not pushed".  Perhaps you should restart a timer each time you get the "Button is pressed" message and, if the time runs out, turn off the LED.

unsigned long LastTimeButtonWasPressed;

void loop()
    if (received a button pressed message)
            turn on LED;
            buttonIsPressed = true;
            LastTimeButtonWasPressed = millis();

    if (buttonIsPressed && millis() - LastTimeButtonWasPressed > 100)
         turn off LED;
         buttonIsPressed = false;
6011  Using Arduino / LEDs and Multiplexing / Re: Controlling RGB LED over serial on: March 12, 2012, 10:19:12 am
This 'for' loop does nothing at all which might explain why you can't turn the light back on.

    for (int RED = 6; ;) {
      digitalWrite(RED, HIGH);

Try it this way instead:
      digitalWrite(RED, HIGH);
6012  Using Arduino / Project Guidance / Re: Arduino + WiFi + SD Card + GPS + Accelerometer? on: March 12, 2012, 10:02:52 am
Seems like a reasonable set of components.  Check the pin usage of the WiFi and GPS logger boards to make sure they don't conflict.
6013  Using Arduino / General Electronics / Re: Hooking up several sensors to the Arduino Board on: March 12, 2012, 09:53:54 am
All the VEX sensors I find have only three wires.  I expect Red is +5, Black is Ground, and the third wire is Signal.

Yes, all the Red and Black wires would connect together to +5V and Ground.
6014  Using Arduino / Project Guidance / Re: Arduino mega sliders help on: March 12, 2012, 09:38:06 am
> How can I connect 12 sliders motorised in the arduino mega?

Connect each to one analog input and use some transistors to drive the motor from two digital pins.

> And how can I connect arduino mega with kinect?

I don't think that is practical to do.
6015  Using Arduino / Project Guidance / Re: Sharing Vcc/GND between two arduinos on: March 12, 2012, 09:33:18 am
"Vin" is the wrong Mega pin for regulated 5V.  If you have a regulated 5V source it connects to "+5V".  By connecting 5V to Vin you are giving the Mega's 5V regulator insufficient voltage.  The Mega was probably running on 3 or 4 volts.

"Vin" would also be the wrong pin for feeding 5V from the Mega to the Peggy.  It connects to the power plug so it would be putting out 9V!

How much power does the Peggy draw with all the lights on?  It may be too much for the Mega regulator.  You could build a 5V regulator on the Peggy prototype area and feed it from the Mega Vin (raw 9V) pin.
Pages: 1 ... 399 400 [401] 402 403 ... 592