Show Posts
Pages: [1] 2 3
1  Forum 2005-2010 (read only) / Troubleshooting / Re: error on winxp cygwin1.dll on: November 10, 2006, 12:48:06 am
I deleted the cygwin1.dll in the arduino 0006 folder and copied and pasted the cygwin1.dll from c:\cygwin\bin.  after doing this arduino 00006 worked for me.
2  Forum 2005-2010 (read only) / Bugs & Suggestions / iRobot Create on: January 09, 2007, 12:04:02 am
iRobot, the makers of roomba, released a new roomba with out the vacuum.  They also released a module based on the ATmega168 to control this new roomba.  It would be nice to make arduino compatible with this.  I think it might just require changing the clock speed.
3  Forum 2005-2010 (read only) / Syntax & Programs / Re: avrlib on: December 09, 2006, 05:11:56 pm
4  Forum 2005-2010 (read only) / Syntax & Programs / Re: avrlib on: December 08, 2006, 06:05:13 pm
Can you give an example of which files you mean?

5  Forum 2005-2010 (read only) / Syntax & Programs / avrlib on: December 07, 2006, 09:30:21 pm
what is the path that is put in to #include to access the avrlib files?
6  Forum 2005-2010 (read only) / Interfacing / Re: Linux Serial IO on: January 16, 2007, 12:24:25 am
quick related question,
I need the arduino plugged into USB so it can talk to the computer, but the computer won't be on all the time. Is it safe to power it with a power plug (with the jumper set to power plug) while it's plugged into USB as well?
Yes that should be ok.  When that jumper is set to power plug, the FTDI chip is the only thing powered by USB.
7  Forum 2005-2010 (read only) / Development / avrlib on: February 12, 2007, 11:58:34 pm
What must i do to use avrlib within arduino?  Is it as easy as adding a line to the Makefile?
8  Forum 2005-2010 (read only) / Development / Re: Arduino from the command line on: December 25, 2006, 07:04:20 pm
I am using cygwin, and it works great, make to compile, then make upload to upload the .hex file to the arduino.
9  Forum 2005-2010 (read only) / Troubleshooting / Re: Problem with Hyper Terminal on: January 31, 2007, 05:12:46 pm
I was experiencing a problem like this, i think i fixed it by changing the flow control settings.  Putty now supports serial ports.  you might want to give that a try.
10  Forum 2005-2010 (read only) / Troubleshooting / Re: another newbie question on: November 09, 2006, 11:38:34 pm
i think the yellow light you are talking about is the tx and rx lights on the arduino board, those just go on when the computer and arduino and computer are talking to each other.  the green light should of went on at different times then before.
11  Forum 2005-2010 (read only) / Development / Re: Ok, on to Atmega32 on: December 03, 2006, 09:58:14 pm
according to AvrFreaks there is 32 I/O pins, 4 are PWM and 8 are analog.
12  Forum 2005-2010 (read only) / Interfacing / Re: Arduino PWM on: January 11, 2007, 05:31:58 pm
It sounds like you need a speed controller.  These devices take a pwm input and switch MOSFETS on and off to change the voltage.  take a look at these sites
13  Forum 2005-2010 (read only) / Interfacing / Re: Distance measurement with Ultrasonic PING Sens on: January 20, 2007, 10:41:57 am
I recently made some code for the srf04 and the PING))).  I think if you use the pulseIn function, you can get better resolution on the sensor.  Here is an example.

#include <WProgram.h>
#include "srf04.h"
#define echoPin         4
#define initPin           3
#define PINGPIN        2
#define SRF04           0
#define PING             1
void setup()
    pinMode(initPin, OUTPUT);
    pinMode(echoPin, INPUT);

void loop()
    Serial.print("SRF04: ");
    Serial.print(getdist(SRF04), DEC);
    Serial.print("  PING:  ");
    Serial.println(getdist(PING), DEC);

unsigned long getdist(int sensor)
    unsigned long time = 0;
    switch (sensor)
        case SRF04:digitalWrite(initPin, HIGH);
                   digitalWrite(initPin, LOW);
                   time = pulseIn(echoPin, HIGH);
        case PING:pinMode(PINGPIN, OUTPUT);
                  digitalWrite(PINGPIN, HIGH);
                  digitalWrite(PINGPIN, LOW);
                  pinMode(PINGPIN, INPUT);
                  time = pulseIn(PINGPIN, HIGH);
    return time;
14  Forum 2005-2010 (read only) / Interfacing / Re: ultrasonic sensors on: April 01, 2007, 06:12:58 pm
I have had success with the PING and SRF04, both are easy to program, but the PING only uses one digital pin.  I don't think they would work mounted on the wall, they would need to be mounted in the person.  Can you get the location with two perpendicular walls.
15  Forum 2005-2010 (read only) / Interfacing / Re: Arduino with Victor 883 Speed controller (pwm) on: March 15, 2007, 10:14:35 pm
instead of dividing a ten bit number by two, a bit shift might work better.
Pages: [1] 2 3