×

Our Technical Support team will be out of the office on Wednesday, April 23 starting at 12pm. Tech Support will reopen with normal hours on Thursday, April 24 at 9am. Thank you

davev

Member Since: October 23, 2006

Country: United States

  • Product DEV-09627 | about 3 years ago

    Hey, I just wanted to add a protip for people worried about the 0.6A number. The 0.6A limit is only for the power supply which could just be used to power the Arduino from a Li-Po source. If you need to drive a lot of current, don’t use the regulated power. For instance if you need to run a high power motor, connect one side directly to the battery or power source and one side to the FET (the inner row of holes). This configuration will allow you to drive something like 5A or more if your frequency is low (check the datasheet for details).
    If I am driving a load less than .6A, I use the power supply to keep the supply constant so the voltage doesn’t drop as the battery loses charge. This helps with LEDs because you can notice a brightness difference with a slight decrease in voltage.
    Oh, and if you want a diagram of the connections head over to the IDEO Labs page linked above. Everything should be the same aside from the note: “pin that can be routed to pin 2” and the battery charger.
    I’ll check these comments every once in a while, so let me know if something isn’t clear or if you have suggestions.
    Hope you like it!

  • Product SEN-07918 | about 4 years ago

    This chip is better suited as a capacitance sensor, not a plug and play capacitive touch button. If you want to integrate a capacitive touch button into a project, id recommend the “MPR121 Capacitive Touch Sensor Breakout Board” which has touch recognition built into the chip.
    This chip requires you to write your own touch recognition algorithm.

  • Product SEN-07918 | about 4 years ago

    That’s not a rotary sensor though, it’s a differential capacitive sensor

  • Product SEN-09156 | about 4 years ago

    in the above code after “#include” write:
    (less than sign)wire.h(greater than sign)

  • Product SEN-09156 | about 4 years ago

    //Arduino I2C ADXL345 example code
    //Dave Vondle, 11/16/09

    include

    define X0 0x32

    define X1 0x33

    define Y0 0x34

    define Y1 0x35

    define Z0 0x36

    define Z1 0x37

    void setup()
    {
    Wire.begin(); // join i2c bus
    Serial.begin(19200); // start serial for output
    Wire.beginTransmission(0x1D); // transmit to ADXL345
    Wire.send(0x2D);// POWER_CTL
    Wire.send(0x09);// measurement mode, 4hz wakeup
    Wire.endTransmission(); // stop transmitting
    }
    void loop()
    {
    Serial.print(getDir(‘x’), DEC); // print as an ASCII-encoded decimal
    Serial.print(“\t”); // prints a tab
    Serial.print(getDir(‘y’), DEC);
    Serial.print(“\t”);
    Serial.print(getDir(‘z’), DEC);
    Serial.print(“\t”);
    Serial.println(“”); // prints a newline
    delay(300);
    }
    byte requestByte(char dir){
    Wire.beginTransmission(0x1D); // transmit to ADXL345
    Wire.send(dir);
    Wire.endTransmission(); // stop transmitting
    Wire.requestFrom(0x1D, 1); // request 1 byte from ADXL345
    while(Wire.available()){
    return(Wire.receive()); //
    }
    }
    int getDir(char dir){
    int var;
    if(dir==‘x’){
    var=requestByte(X0);
    var=var+(requestByte(X1)<<8);
    }else if(dir==‘y’){
    var=requestByte(Y0);
    var=var+(requestByte(Y1)<<8);
    }else if(dir==‘z’){
    var=requestByte(Z0);
    var=var+(requestByte(Z1)<<8);
    }
    return(var);
    }

  • Product DEV-08957 | about 4 years ago

    This seems obvious now, but if you are having trouble programming the board in a wired configuration i.e:
    avrdude: stk500_recv(): programmer is not responding
    make sure you take the Xbee out of the socket first!

No public wish lists :(