Home Made Garbage

Neopixel LED Eyeball Controlled by Nunchuck

お父ちゃん  2017.3.9 
ホーム
電子工作
Raspberry Pi
IOT
WEB

I made an LED eyeball controlled by a Nintendo Wii Nunchuck Controller.

Configuration

Microcontroller uses Arduino Uno

68 LEDs (Neopixel) are used for the eye ball.

18-1

The LEDs are fixed to the bowl with double-sided tape and wired in the following order.
Eye

Use Wii Nunchuck on controller

Wii Nunchuck settings

Here’s a library to connect the Wii Nunchuck to the Arduino.
 https://github.com/todbot/wiichuck_adapter

The wiring method of the Wii Nunchuck was referring to the following.

とある組織でネットワーク管理に携わる管理者の憂鬱な日常を書いてみたりなんかして・・・

  • Wii VDD pin to Arduino 3.3V pin
  • Wii GND pin to Arduino GNDpin
  • Wii SDA pin to Arduino A4
  • Wii SCL pin to Arduino A5

Arduino IDE Code

I wrote the program example Wiichuckdemo.ino of the Wiichuck_adapter library as a reference.

Move the eyes and eyelids with the joystick and change the color of the pupil with the Z button.

Operation

 

#arduino #led #wii

Posts shared by Home made garbage (@homemadegarbage)-

Related Posts

コメントはこちらから

メールアドレスが公開されることはありません。コメントのみでもOKです。

This site uses Akismet to reduce spam. Learn how your comment data is processed.