Raspberry pi Pico Micro Python Wii Nunchuck

  Рет қаралды 930

vsr-paradise

vsr-paradise

Күн бұрын

German kfricke to receive data from Wii Nunchuck
I used nunchuck.py published on GitHub.
URL: github.com/kfr...
I also used ssd1036.py to display the OLED.
Note: There are two types of Wii Nunchuck, white and black, but this time we will use the black nunchaku.
I tried various things, but I couldn't use the white nunchaku for Pico.
Nunchuck_address: // transmit to device 0x52
// sends memory address.
Black nunchaku = (0xF0), white nunchaku = (0x40)
// sends sent a zero address.
Black nunchaku (0x55), white nunchaku (0x00)
However, a black nunchaku may be the same as a white nunchaku,
Please note that it cannot be identified by its appearance!
by Paradise
Wii Nunchuckからのデータ受信にドイツのkfrickeさんが、
GitHubに公開されているnunchuck.pyを利用させて頂きました。
URL:github.com/kfr...
また、OLEDの表示には、ssd1036.pyを使いました。
注意:Wii Nunchuckには白色と黒色の2種類ありますが、今回使うのは黒いヌンチャクです。
色々と試したがPicoには白いヌンチャクが使えませんでした。
Nunchuck_address: ​// transmit to device 0x52
​// sends memory address.
黒いヌンチャク=(0xF0),白いヌンチャク=(0x40)
​// sends sent a zero address.
黒いヌンチャク(0x55),白いヌンチャク(0x00)
但し、黒いヌンチャクでも白いヌンチャクと同じ場合が有り、
外観では判別出来ないのでご注意を!
by paradise

Пікірлер: 3
@triteron7784
@triteron7784 3 жыл бұрын
This is great, thanks!
@triteron7784
@triteron7784 3 жыл бұрын
@@vsrparadise I needed to add a little bit of a delay between the writing and reading from i2c in the update method to get it to work. I used time.sleep_ms(5). Any ideas why it worked without it in your case?
@mixelledo2704
@mixelledo2704 3 жыл бұрын
code pls
DIY Raspberry Pi Racecar Dashboard: The Ultimate Guide
15:11
BEAVIS Motorsport
Рет қаралды 753 М.
Arduino nano
0:14
Peter Busuyok
Рет қаралды 3
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 11 МЛН
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 67 МЛН
Man Mocks Wife's Exercise Routine, Faces Embarrassment at Work #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 5 МЛН
What is VGA and How to Use it With a Raspberry Pi Pico
18:28
Gary Explains
Рет қаралды 54 М.
#198 Wii Nunchuck (I2C Joystick) for your Arduino project - Easy!
22:22
When Did Raspberry Pi become the villain?
21:54
Jeff Geerling
Рет қаралды 1,6 МЛН
What is Arduino? Beginners Guide to Arduino and How It Works
3:04
DIY Laser Image Projector (100ft+ Range!)
20:08
Ben Makes Everything
Рет қаралды 298 М.
Wii Nunchucks are the best Arduino Input Device
8:39
Brian Lough
Рет қаралды 16 М.
Raspberry Pi demolished by monster 128-core ARM CPU!
20:54
Jeff Geerling
Рет қаралды 1,3 МЛН
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 11 МЛН