Member Since: December 27, 2009

Country: United States

  • Great guide for a great product. My students are using this, but I had to work around your Arduino installation procedure because Arduino 1.0 came out long ago, and the installation procedure is now much easier. You might consider updating this guide to the new procedure.

  • Who is that handsome young fellow behind the booth?

    You certainly make a difference, Nate, judging by how the ubiquitous red box has become the unofficial geek carry case (for any electronics, not just what arrived in it) and a secret handshake to other electronic tinkerers. Congratulations to everyone at SparkFun and many, many happy returns!

  • Indeed. Here's how I got it to work finally:

    Serial.write('p');  // YAY

    this worked for volume control as well:

    void setVolume( byte vol )
      Serial.write( 'v' );
      Serial.write( vol );

    now I can join the crowd of people in love with this device. It is so very satisfying to control! Will certainly be in many future projects as well as in my classes (I teach Arduino et al)

  • gotta use 4 spaces in front of your code to cause the correct formatting. see "formatting help" button below the comment box (to the far left of the "submit" button).

  • I'm using Arduino to send messages via the serial port to start a track playing. If I send the start/stop navigation command like this:


    the first (actually only) track plays

    However if I use the binary trigger command:


    it doesn't play.

    Any ideas?

  • Great little encoder for the price. Here's my experience:

    1. Easy hookup, especially since the wiring is documented on the encoder. Wish other products did this! Ground, +5, Out A and Out B. I wired the outputs to my Arduino interrupts, in the case of my Uno that's D2 and D3.

    2. Don't forget the pullups between each output and +5! (I did at first.) The output is open collector and so won't go up to +5 otherwise. I used 10K.

    3. I used the Quadrature encoder library QuadratureEncoder.h pretty much right out of Dr. Rainer Hessmer blog here. Thanks Dr. Hessmer!

    4. In Arduino 1.0 Wprogram.h has been replaced by Arduino.h

    5. In my sketch I copied the example usage from the library and added the following:

      Serial.println ( encoder.getPosition()); delay (10);

    6. Don't forget to initialize the serial port in setup()

    That's it! worked right away.