March 3, 2008
co-founder & CTO of The Echo Nest
about 4 months ago
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
about 2 years ago
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:
No public wish lists :(
Forgot your password?
No account? Register one!