Skip to content

Wii Remote Controller IR Camera Library for Arduino

Notifications You must be signed in to change notification settings

ybasviel/wiiIRcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wiiIRcam

Wii Remote Controller IR Camera Library for Arduino

example

#include <wiiIRcam.h>

#define SENSITIVITY 2

wiiIRcam cam;

void setup(){
    Serial.begin(115200);
    cam.begin(SENSITIVITY); // You can omit SENSITIVITY
}

void loop(){
    char str[128];

    if( cam.get() ){
        sprintf(str, "%d,%d,%d,%d,%d,%d,%d,%d\n", cam.x1, cam.y1, cam.x2, cam.y2, cam.x3, cam.y3, cam.x4, cam.y4);
        Serial.print(str);
    }
}

References

There is a circuit for using IR camera as I2C device.[1]

  1. kako, Kako Homepage, Wiiリモコンのポインティング用赤外線センサ部品の解析 http://www.kako.com/neta/2007-001/2007-001.html
  2. kako, Kako Homepage, Wiiリモコンの赤外線センサをマイコンに接続して使ってみる (+マウス化)http://www.kako.com/neta/2008-009/2008-009.html

About

Wii Remote Controller IR Camera Library for Arduino

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages