Pàgines

Oct 2, 2010

Wii, Arduino Links

Motion Plus y Nunchuck juntos en el Arduino
Wii MotionPlus + Arduino
Wii Remote WiKi
Wiimote from Willi
WiiMote
Wii Motion Plus + Arduino = Love from Random Hacks
Motion Plus and Nunchuck together on the Arduino from Random Hacks
Wiimote/Extension Controllers. Data format and connection
A Guide To using IMU (Accelerometer and Gyroscope Devices) in Embedded Applications
Arduino code for simplified Kalman filter. Using a 5DOF IMU (accelerometer and gyroscope combo)
Arduino Wire Library (I2C)
Kalman Filtered Nunchuck & Wii Motion Plus on Arduino Forum

Mètode dels mínims quadrats
float[ ] x = {x,x,x,...}, y = {y,y,y,...};
int n = x.length;              // = y.length;
float sumx=0, sumy=0, sumxy=0, sumx2=0;
for (int i = 0; i  <  n; i++){
    sumx += x[i];
    sumy += y[i];
    sumx2 += x[i] * x[i];
    sumxy += x[i] * y[i];
}
float denominador = sumx*sumy - n*sumx2;
float m = (sumx*sumy-n*sumxy) / denominador;
float b = (sumx*sumxy-sumx2*sumy) / denominador;
println(m +" "+ b);                              // y = m·x + b (si substituim x per t (temps)


WiiMote WiKi Bluetooth Conection
Filtering Sensor Data with a Kalman Filter
How to: Arduino and Nintendo Nunchuck for pan and tilt camera interface on DIY Drones

Tracking Your Fingers with the Wiimote by Johnny Chung Lee
Friday, December 21, 2007
Wiimote Finger Tracking -FAQ and Adv Discussion

Read wii nunchuck data into arduino
Wii Nunchuck Mouse
Wii Nunchuck Mouse Code Breakdown
Wiimote light follower with servo
Winscape (virtual Window) - The Making Of