Show Posts
Pages: 1 [2] 3 4 ... 579
16  Using Arduino / Installation & Troubleshooting / Re: 4-pin breakout on old lilypad on: July 21, 2014, 10:05:21 pm
This page shows the (now obsolete) LilyPad USB Link board attached.  The pins are labeled.

http://www.electronics-lab.com/blog/?p=1238

So you just need four pins of a 3.3V FTDI cable.  The DTR signal is not present so you need to use manual reset for uploading.
17  Products / Arduino GSM Shield / Re: GSM data call on: July 21, 2014, 06:56:27 pm

Looks like you want the AT+QICSGP command to switch from GPRS to CSD.

See section 7.2.17:
http://www.soyter.pl/system/files/M10_AT_Commands_Manual_V3.2_0.pdf
18  Using Arduino / Interfacing w/ Software on the Computer / Re: Serial outgoing data dropped/lost on: July 21, 2014, 03:30:42 pm
Yes, we know that 9600 baud works.  You have said it several times.  Now try 57,600 baud which should take only 40 minutes (twice as long as 115,200 baud).
19  Using Arduino / Sensors / Re: Two photo interrupters and Arduino Leonardo on: July 21, 2014, 03:10:55 pm
You forgot Serial.begin().

How often are these pulses coming?   Could it be that several additional pulses arrive while the serial printing is happening?  Can you slow down the motor?
20  Using Arduino / Interfacing w/ Software on the Computer / Re: Serial outgoing data dropped/lost on: July 21, 2014, 03:04:57 pm
It's really a strange issue given that the friend of mine has no issue at all with the same exact hardware and software set-up.

So he has the exact same PC with all the same software running on it?  That would be odd.

I still think there is something wrong with your PC.  Did you and your buddy try swapping Arduinos to see if the problem moved with the Arduino or stayed with your PC?
21  Using Arduino / Project Guidance / Re: True "continuous rotation servo" on: July 21, 2014, 02:53:18 pm
If the load isn't too high a stepper motor can be relied on to reach the desired position and number of rotations in either direction.  An index mark (single slot optical interrupter) will allow you to detect if any steps are missed.

Any motor with accurate feedback can be use to implement a closed-loop positioning system.
22  Using Arduino / Programming Questions / Re: Using keypad.h to input decimals on: July 21, 2014, 02:45:47 pm
What range of numbers do you want to support and what key do you want to use for a decimal point?
23  Using Arduino / Programming Questions / Re: Switching between 2 I2C sensors on: July 21, 2014, 12:23:51 pm
The different I2C devices should have different I2C addresses.  You select them by address.
24  Using Arduino / Programming Questions / Re: Getting notification when an RFID is removed from a reader on: July 21, 2014, 12:21:11 pm
Check to see if pin 16 "OUTPUT OK" (Arduino Pin 12) stays high as long as the card is present.
25  Using Arduino / Project Guidance / Re: sound level to control a servo on: July 21, 2014, 11:32:58 am
How are you powering the servo?  It probably draws too much current to be powered from the Arduino's 5V pin.
26  Using Arduino / General Electronics / Re: IR Led and Phototransistor connection give always 0 value on: July 21, 2014, 10:53:00 am
Sounds like a wiring error.  How is everything wired?
27  Using Arduino / Project Guidance / Re: Help With Rotating Display Stand.... Servo?? on: July 21, 2014, 10:50:21 am
You would need a mighty large servo to turn a 100 pound statue, even on bearings.  And it would only turn 180 degrees before having to turn back.  Unless you meant a "continuous rotation" servo which is basically a regular servo modified to work as a DC gearmotor.

Sounds like you need an AC synchronous gearmotor:
http://www.hurst-motors.com/permanentmagnetacsynchronous.html

If you can't find a motor and gear set that runs at 1 RPH you can use a worm and 60-tooth worm wheel to reduce a 1 RPM motor  to 1 RPH.
28  Using Arduino / Programming Questions / Re: Turn to heading, code seems messy on: July 21, 2014, 10:04:28 am
I'd do it like this:
Code:
int heading = 180; //initial heading value

void setup() {
  Serial.begin(9600); //start serial communication at 9600 Baud rate
  Serial.println ("Please enter an Angle to turn to"); // let the user know they have to input an angle
}

int normalize(int degrees) {
  // If it's negative, add 360 until it isn't
  while (degrees < 0)
    degrees += 360;
  // If it's > 359 use modulo to restrict it to 0-359
  degrees %= 360;
  return degrees;
}

void loop() {
  int newHeading;
  int leftTurnDegrees;
  char buffer[4]; // buffer to receive up to 3 ASCII characters and a null terminator

  Serial.readBytesUntil('\n', buffer, 3);  //read the incoming data until: a new line is detected (enter key presses), or 3 characters read
  newHeading = normalize(atoi(buffer));

  Serial.println("Heading entered...");  //let the user know where the servo is going
  Serial.println(newHeading);           //let the user know where the servo is going

    // assume new and heading are both 0..359 normalized (e.g. compass readings)
  leftTurnDegrees = normalize(heading - newHeading);   // calculate left turn, will allways be 0..359 

  // take the smallest turn
  if (leftTurnDegrees < 180) {  // Anti-Clockwise
    Serial.println("Turn anti-clockwise");
    Serial.println(leftTurnDegrees);
  }
  else  { // Clockwise
    Serial.println("Turn clockwise");
    Serial.println(360 - leftTurnDegrees);
  }

  heading = newHeading;
  Serial.println("New heading...");
  Serial.println(heading);
}
29  Using Arduino / Interfacing w/ Software on the Computer / Re: Serial outgoing data dropped/lost on: July 21, 2014, 09:39:17 am
Sounds to me like the device receiving the serial output can't keep up with 115200 baud.  You could try the next step down: 57600.
30  Using Arduino / Programming Questions / Re: kindly help in burning hex file to atmega attiny861v by arduino Duemilanove bord on: July 21, 2014, 08:51:53 am
You should be able to use the Duemilanove board running ArduinoISP to program the ATtiny861v through an ICSP connector.  Does your ATtiny861v board have a ICSP connector?  Is it a 6-pin or 10-pin connector?
Pages: 1 [2] 3 4 ... 579