avatar

michaelshiloh

Member Since: December 27, 2009

Country: United States

Profile

Bio

professional tinker

Role

take things apart and make something cool of the parts

Organizations

dorkbot, kinnernet, foo camp, noisebridge, lift, crucible,

Spoken Languages

English, Hebrew

Programming Languages

Arduino, C, Python, Processing, and anything similar

Universities

CCA, SFSU, AICA, SFAI

Websites

www.teachmetomake.com teachmetomake.wordpress.com

  • News - 10 Year Anniversary | about a year ago

    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!

  • Product WIG-09715 | about 2 years ago

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

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

    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)

  • Product WIG-09715 | about 2 years ago

    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).

  • Product WIG-09715 | about 2 years ago

    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:

    Serial.print('O');
    

    the first (actually only) track plays

    However if I use the binary trigger command:

    Serial.print('p');
    Serial.print(1);
    

    it doesn’t play.

    Any ideas?

  • Product COM-10932 | about 2 years ago

    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.

Name Pieces Total
for maker faire africa
1 39.95
sfsu spring 2012
18 158.3