Show Posts
Pages: 1 ... 21 22 [23] 24 25
331  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: New person here.... on: January 20, 2009, 01:55:56 pm
You can just use the arduino board with your stk500 and AVR studio if you don't want to spend the time learning something different.  I don't believe that there is any tutorials for anyone coming from AVR studio to Arduino as that is not the average user.
332  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: can arduino do it?? saving large files from i-net on: January 05, 2009, 05:09:19 pm
Quote
Well, the best thing you can do is get an ethernet shield and if you have a thumbdrive, you can connect it to the arduino USB port and with reading some info you can manage to easily download file to the thumbdrive. Check the WebClient example included in the IDE.

This is not really true.  You would need something like a Vdip module to talk to a thumbdrive.
333  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: supercapacitors as batteries on: December 14, 2008, 06:00:17 pm
You're welcome.  Let us know what you come up with.
334  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: supercapacitors as batteries on: December 14, 2008, 05:15:00 pm
Check your mail.
335  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Transistor to replace button press. on: October 20, 2008, 11:45:32 pm
It's possible the 3.3v line may not have enough current to run your key fob.  According to this thread it only supplies 50ma.
336  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: How accurate can I be with Servos? on: September 11, 2008, 08:33:00 pm
Servos can be modified for continuous travel.  From that same site:

http://www.seattlerobotics.org/guide/servohack.html

You'll have to come up with an encoder or something for your distance tracking.
337  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Visual Basic GUI / Arduino Control serial conn on: September 08, 2008, 02:13:04 am
Not a problem!  Glad it worked out for you.
338  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Visual Basic GUI / Arduino Control serial conn on: September 07, 2008, 09:07:43 pm
Are you saying the board did not reset when you opened a connection with dtrenable set to true?  If not does the board reset when you start the serial monitor in the IDE?  Can you upload sketches without hitting the reset button?
339  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Visual Basic GUI / Arduino Control serial conn on: September 05, 2008, 05:22:01 pm
You should be able to do this in VB by setting DtrEnable to true before opening your port.  Keep in mind with this setting your board will reset each time you open a new connection.
340  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: wiring a 3/32" (2.55mm?) jack... on: May 13, 2008, 11:25:34 pm
Looks like there should be 3 spots, whats on the other side of the connector we can't see in the picture?  Each metal area separated by a band should have it's own connection spot.
341  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Interrupts and Bouncy buttons. How to Solve?? on: May 14, 2008, 11:43:25 pm
To avoid the millis reset problem you could do something like this:

Code:
#define BOUNCE_DURATION 20   // define an appropriate bounce time in ms for your switches
 
volatile unsigned long bounceTime=0; // variable to hold ms count to debounce a pressed switch
 
void intHandler(){  
// this is the interrupt handler for button presses
// it ignores presses that occur in intervals less then the bounce time
  if (abs(millis() - bounceTime) > BOUNCE_DURATION)  
  {
     // Your code here to handle new button press …
     bounceTime = millis();  // set whatever bounce time in ms is appropriate
 }
}
342  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: help with sparkfun LCD on: April 09, 2008, 07:50:32 pm
At a glance, clear screen should be something like:

Code:
int val[10];               // variable used to store data from serial port
int ByteCount = 0;

void setup() {
  Serial.begin(9600);         // connect to the serial port
  //Serial.println("Arduio Online");
}

void loop() {
  if (Serial.available() > 0) {
    delay(100);
    while (Serial.available() > 0) {
      ByteCount ++;
      val[ByteCount] = Serial.read();
    }
  }
  
  if (ByteCount > 0) {
    Serial.print(1, HEX);
    for (int i = 1; i <= ByteCount; i++) {
      if (val[i] >= '0' && val[i] <= '9' ) {
        val[i]= val[i] - '0';
        Serial.print(val[i]);
      }
    }
    //Serial.println();
    ByteCount = 0;
  }
}

If that works, you should be able to figure the others out.
343  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: help with sparkfun LCD on: April 08, 2008, 10:49:44 pm
Maybe if you try it like this:
Code:
int val[10];               // variable used to store data from serial port
int ByteCount = 0;

void setup() {
  Serial.begin(9600);         // connect to the serial port
  //Serial.println("Arduio Online");
}

void loop() {
  if (Serial.available() > 0) {
    delay(100);
    while (Serial.available() > 0) {
      ByteCount ++;
      val[ByteCount] = Serial.read();
    }
  }
  
  if (ByteCount > 0) {
    for (int i = 1; i <= ByteCount; i++) {
      if (val[i] >= '0' && val[i] <= '9' ) {
        val[i]= val[i] - '0';
        Serial.print(val[i]);
      }
    }
    //Serial.println();
    ByteCount = 0;
  }
}

You'll have to look at the lcd document to see what to send for line clears and other handling.  This will just overwrite the existing number.
344  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: help with sparkfun LCD on: April 05, 2008, 03:40:47 pm
Can you post the code you used?  I'm guessing a carriage return/line feed is getting sent and my be giving you the block.
345  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Program an atmel chip on a breadboard from die on: May 09, 2008, 11:31:39 pm
And don't forget that you'll need the bootloader on the the breadboard Atmega!
Pages: 1 ... 21 22 [23] 24 25