avatar

bwhitman

Member Since: March 3, 2008

Country: United States

Profile

co-founder & CTO of The Echo Nest

personal website

  • I did a dumb calibration / “best fit” power curve in Excel after some measurements of the voltage reading in an Arduino to inches, here’s my function:

    int sensorValue = analogRead(A0);
    float inches = pow(sensorValue,-0.867) * 539.98;
    

    This is using 5V USB powering the board and the Vcc going to a 5V pin on the arduino.

    Hope this helps anyone using this

  • hi – I had the usual problems getting this thing to talk to a “real computer” so i wrote up my steps and posted all the code I used. More or less, I run a tiny stub piece of code on an Atmel that listens to its UART over 9600bps and sends commands to a connected backpack over SPI. This lets me then control the matrix from almost anything at a pretty good FPS without any complications. Here it all is, enjoy:

    https://github.com/bwhitman/rgb-backpack-controller

No public wish lists :(