Cov txheej txheem:

PyPortal Splatoon 2 Teem Sijhawm Zaub: 34 Cov Kauj Ruam (nrog Duab)
PyPortal Splatoon 2 Teem Sijhawm Zaub: 34 Cov Kauj Ruam (nrog Duab)

Video: PyPortal Splatoon 2 Teem Sijhawm Zaub: 34 Cov Kauj Ruam (nrog Duab)

Video: PyPortal Splatoon 2 Teem Sijhawm Zaub: 34 Cov Kauj Ruam (nrog Duab)
Video: Splatoon - Gameplay Walkthrough Part 153 - Armor Boot Replicas (Nintendo Wii U) 2024, Kaum ib hlis
Anonim
Image
Image

Los ntawm bbtinkererTinkerer Cov Kev Xav Ua Raws Ntxiv los ntawm tus sau:

Jumboinga - Game Jumping Boinging Game
Jumboinga - Game Jumping Boinging Game
Alexa LIRC Kev Lom Zem Chaw Taws Teeb
Alexa LIRC Kev Lom Zem Chaw Taws Teeb
Alexa LIRC Kev Lom Zem Chaw Taws Teeb
Alexa LIRC Kev Lom Zem Chaw Taws Teeb
Raspberry Pi Zero Universal Chaw Taws Teeb
Raspberry Pi Zero Universal Chaw Taws Teeb
Raspberry Pi Zero Universal Chaw Taws Teeb
Raspberry Pi Zero Universal Chaw Taws Teeb

Txog: Kuv nyiam ua khoom. Ntau Txog bbtinkerer »

Kev lom zem tso saib tam sim no thiab yuav los tom ntej Splatoon 2 theem hauv Turf War thiab qeb duas kev ua si, qeb duas hom game, thiab Salmon Run lub sijhawm siv Adafruit PyPortal. Mus los ntawm lub sijhawm los ntawm nias ntawm lub vijtsam kov. Cov keeb kwm yav dhau los tau hloov pauv mus rau qhov muag muag. Qhov xaiv Amiibo sawv yog rau Amiibotronics uas tig Amiibos mus rau lub vijtsam thaum muaj sijhawm hloov pauv.

Cov theem tam sim no tau rov qab los ntawm Splatoon2.ink ua los ntawm @mattisenhower thiab lub sijhawm yog sib xyaw los ntawm Adafruit IO.

Txoj haujlwm no yooj yim heev yog tias koj tsuas yog xav qhia lub sijhawm ntawm PyPortal thiab siv qhov kuv muaj. Yeej koj tsuas yog yuav tsum hloov kho cov ntaub ntawv teeb tsa rau koj lub network teeb tsa, Adafruit IO cov ntaub ntawv tus lej, thiab thaj tsam sijhawm.

Txoj haujlwm tau txais kev koom tes me ntsis ntxiv yog tias koj xav kho kom haum ntxiv nyob ntawm seb koj zoo npaum li cas nrog cov duab program thiab Python programming.

Ntxiv Amiibo cov duab ua haujlwm yog nyob ntawm yeem thiab yuav xav tau me ntsis ntxiv ntawm kev ua haujlwm nrog cov laug thiab 3d luam ntawv.

Ceev faj

PyPortal tsis nrawm li koj li 1ms HDMI gaming saib. Cov zaub yuav siv ob peb feeb los kos txhua yam rau ntawm qhov screen.

Khoom siv

Yuav tsum tau:

  • Adafruit PyPortal - CircuitPython Powered Internet Zaub
  • Adafruit IO tus account
  • WiFi
  • Micro SD daim npav

Yeem Amiibtronic Tsim:

  • Adafruit PyPortal Desktop Stand Enclosure Kit
  • MG90S Micro Servos x 2
  • PC9685 Servo module
  • USB micro breakout board
  • Stereo Enclosed Speaker Set - 3W 4 Ohm
  • 3-Pin Poj Niam JST PH Txuas
  • 4-Pin Poj Niam JST PH Txuas
  • JST RCY Plug Txuas
  • M2.5 ntsia hlau, tshuab ntxhua khaub ncaws thiab txiv ntseej
  • M3 Screws, tshuab ntxhua khaub ncaws thiab txiv ntseej
  • 4-40 Ntsia Hlau, tshuab ntxhua khaub ncaws thiab txiv ntseej
  • Hlau
  • Kev sib txuas me me
  • Thaum tshav kub kub qhwv
  • 3d Tshuab Luam Ntawv
  • Ntsia taub hau
  • Splatoon cov ntawv nplaum

Kauj Ruam 1: Yooj Yim Portal Splatoon 2 Theem Zaub

Yooj Yim Portal Splatoon 2 Theem Zaub
Yooj Yim Portal Splatoon 2 Theem Zaub

Rub tawm SplatSchedule project los ntawm GitHub. Tsim secret.py hauv src/conf directory nrog koj cov ntaub ntawv siv tus piv txwv hauv src/conf directory. Hloov tshiab application_configuration.py hauv tib lub nplaub tshev.

Tsim cov keeb kwm keeb kwm yav dhau los ntawm daim npav micro SD ntawm nws lub hauv paus. Luam tag nrho cov ntaub ntawv bmp los ntawm cov phiaj xwm duab cov npe rau hauv keeb kwm yav dhau los uas koj nyuam qhuav ua. Ntxig daim npav micro SD rau hauv PyPortal.

Nruab SplatSchedule_ [hnub tim].uf2 cov ntaub ntawv los ntawm daim nplaub tshev firmware mus rau PyPortal los ntawm nias lub pob pib dua nyob tom qab ntawm PyPortal ob zaug sai sai los qhib Boot drive. Tom qab ntawd luam cov ntawv hla. PyPortal yuav cia li rov pib dua thaum cov ntawv ua tiav luam. Cov firmware no yog CircuitPython 4.0.1 nrog rau qhov xav tau Adafruit cov tsev qiv ntawv ua hauv.

Luam tag nrho cov ntaub ntawv los ntawm src cov npe rau koj PyPortal thiab koj yuav tsum zoo mus. PyPortal yuav tsum rov pib dua nws tus kheej thiab pib ua haujlwm.

Cov hauv qab no yog cov lus piav qhia sai ntawm cov ntaub ntawv teeb tsa.

secrets.py - Txhua qhov teeb tsa yuav tsum piav qhia tus kheej. Hloov SSID nrog koj li WiFi SSID thiab lwm yam. Koj yuav tsum tuav koj lub sijhawm ntawm https://worldtimeapi.org/timezones, piv txwv li. kuv lub sijhawm yog Pacific/Honolulu.

# Cov ntaub ntawv no yog qhov uas koj khaws cov chaw zais, tus lej zais, thiab tokens!

# Yog tias koj muab lawv tso rau hauv txoj cai koj yuav ua txhaum cov ntaub ntawv ntawd lossis faib nws # uas yuav tsis zoo. Yog li, hloov pauv, khaws txhua yam hauv cov ntawv no thiab # khaws nws zais cia. secrets = {'ssid': 'SSID', # Khaws ob qho 'quotes ib ncig ntawm lub npe' password ':' PWD ', # Khaws ob qho "hais ib ncig lo lus zais' timezone ':" TIMEZONE ", # http:/ /worldtimeapi.org/timezones 'aio_username': 'AIO_USERNAME', 'aio_key': 'AIO_KEY',}

application_configuration.py - Koj tsuas yog xav tau hloov kho lub sijhawm_ hloov kho kom sai sai thiab khiav. Kuv tsis tau xam tawm ib txoj hauv kev kom tau txais tus lej sijhawm lub sijhawm teeb tsa los ntawm secrets.py yog li koj yuav xav hloov koj lub sijhawm hloov chaw mus rau vib nas this. Tus so ntawm cov teeb tsa yuav tsum piav qhia tus kheej.

configuration = {

'battle_schedule_url': 'https://splatoon2.ink/data/schedules.json', 'salmon_schedule_url': 'https://splatoon2.ink/data/coop-schedules.json', 'time_service': 'https:/ /io.adafruit.com/api/v2/%s/integrations/time/strftime?x-aio-key=%s ',' time_service_strftime ':' & fmt =%25Y-%25m-%25d+%25H%3A% 25M%3A%25S.%25L+%25j+%25u+%25z+%25Z ', # Adafruit IO strftime yog%Y-%m-%d%H:%M:%S.%L%j%u%z%Z saib https://strftime.net/ kom paub meej cov ntsiab lus # Saib https://apidock.com/ruby/DateTime/strftime rau kev xaiv puv sijhawm 'sijhawm_adjust': -36000, # teev hauv vib nas this 'touchscreen_touch_throttle': 2, 'sd_mount_directory': '/sd', 'background_images_directory': '/sd/backgrounds/', 'background_timeout': 900, # 900 = 15 feeb 'schedule_change_timeout': 180, # 180 = 3 feeb 'schedule_refresh': 43200, # 43200 = 12 teev # Yog tias koj tau ua theem turntable, teeb tsa Tseeb 'enable_turntable': Tsis tseeb, # Cov hauv qab no yog nyob ntawm yeem thiab siv rau kev sim thiab debuggin # 'debug': Tsis raug, # 'disable_wifi': Tsis raug, # 'use_test_files': Tsis raug, # 'test_battle_schedule_file': '/test_battle_schedule.json', # 'test_salmon_schedule_file': '/test_salmon_schedule.json'}

Qhov ntawd yog txhua yam kom tau txais PyPortal Splatoon 2 Teem Sijhawm Zaub. Nyeem rau yog tias koj xav hloov kho keeb kwm yav dhau thiab/lossis hloov kho cov ntawv sau.

Kauj Ruam 2: Kev Hloov Kho Yav Tom Ntej

Kev Hloov Kho Tom Qab
Kev Hloov Kho Tom Qab

Suav nrog hauv qhov haujlwm SplatSchedule yog GIMP qhov project cov ntaub ntawv siv los tsim keeb kwm yav dhau. Siv qhov no ua piv txwv yog tias koj nyiam siv GIMP. Lossis siv koj cov duab uas koj nyiam los ua keeb kwm yav dhau. Ua raws qee cov lus qhia hauv qab no txhawm rau pab koj ua keeb kwm yav dhau los uas tuaj yeem pom.

Cov keeb kwm yav dhau los tau rub los ntawm Inkipedia.

Raws li tau hais ua ntej, PyPortal tsis nrawm ntawm kev ua cov zaub. Txhawm rau pab txo qis qhov PyPortal yuav tsum tau ua, tso cov ntawv zoo li qub rau tom qab.

Cov keeb kwm yav dhau yuav tsum yog 320x240 pixels hauv qhov loj me thiab hauv hom ntawv me me. Kuv tau khaws cov keeb kwm yav dhau los hauv 24-ntsis raws li 16-ntsis zoo li txaus ntshai thiab 32-ntsis muaj xim xiav rau lawv.

Qhov ntawd zoo nkauj npaum li cas rau keeb kwm yav dhau. Cov kauj ruam tom ntej piav qhia cov ntawv font thiab kev tso kawm.

Kauj ruam 3: Font Customization

Font Customization
Font Customization

Nyeem Cov Ntawv Fonts rau CircuitPython Qhia rau tsim koj tus kheej cov ntawv sau.

Kuv siv fonts los ntawm @frozenpandaman pom ntawm

Muab cov fonts raws li phau ntawv teev tseg hauv text_configuration.py hauv src/conf directory. Qhov chaw nyob yog nyob hauv /fonts /.

Hloov kho text_configuration.py rau cov ntawv twg uas yuav siv, xim, thiab kev tso chaw koom ua ke rau cov ntawv.

text_configuration.py - Yuav tsum piav qhia tus kheej.

configuration = {

'fonts_directory': '/fonts/', # text: (font, color, (x, y)) 'text_battle_time_slot': ('Splatoon2-18.bdf', 0xFFFFFF, (10, 18)), 'text_battle_normal_stage_a': ('Splatoon2-18.bdf', 0xFFFFFF, (65, 66)), 'text_battle_normal_stage_b': ('Splatoon2-18.bdf', 0xFFFFFF, (65, 86)), 'text_battle_ranked_rule_name': ('Splatoon2-24. bdf ', 0xF54910, (65, 108)),' text_battle_ranked_stage_a ': (' Splatoon2-18.bdf ', 0xFFFFFF, (65, 129)),' text_battle_ranked_stage_b ': (' Splatoon2-18.bdf ', 0xFFFFF, 65, 149)), 'text_salmon_time_slot': ('Splatoon2-18.bdf', 0xFFFFFFF, (65, 191)), 'text_salmon_stage': ('Splatoon2-18.bdf', 0xFFFFFF, (65, 211)))}

Lub tswv yim

Sim tsis txhob siv ntau dua 3 fonts rau cov teeb meem sau tseg hauv qab no.

Siv koj tus kws kho duab los pab koj nrhiav qhov chaw ua haujlwm ntawm qhov chaw uas koj xav tso cov ntawv kom koj tsis txhob cia li xav tsis thoob. Feem ntau cov cuab yeej taw qhia ntawm kev kho cov duab software yuav muaj nws x thiab y cov haujlwm nyob hauv ib qho ntawm tus kws kho mob, feem ntau ntawm cov xwm txheej bar.

Teeb meem

Qhov ntau fonts koj siv, ntev npaum li cas PyPortal yuav pib thaum txhua tus fonts siv tau thauj khoom thaum teeb tsa.

Bitmap fonts siv ntau qhov chaw thiab yuav noj rau hauv PyPortal's onboard cia chaw.

Koj tuaj yeem tsim cov ntawv teev npe ntawm daim npav micro SD thiab taw tes rau qhov ntawd (piv txwv li./Sd/fonts/), tab sis kuv tau khiav mus rau qhov teeb meem coj txawv txawv uas tib lub font yuav khiav los ntawm onboard cia tab sis tsis ua haujlwm los ntawm micro SD daim npav. Kuv tsis tuaj yeem daws qhov teeb meem tau hais txog kev thauj khoom los ntawm SD daim npav.

Kauj Ruam 4: Nyeem rau Tsim Amiibtronics Display

Nyeem rau Tsim Amiibtronics Display
Nyeem rau Tsim Amiibtronics Display

Cov kauj ruam tom ntej yog rau tsim DJ Turntable Amiibotronic theem zaub.

Koj tuaj yeem nres ntawm no yog tias koj tsuas xav tau PyPortal rau tso saib Splatoon 2 cov sijhawm.

Kauj Ruam 5: PyPortal I2C 3.3V

PyPortal I2C 3.3V
PyPortal I2C 3.3V
PyPortal I2C 3.3V
PyPortal I2C 3.3V
PyPortal I2C 3.3V
PyPortal I2C 3.3V

Kuv pom lub onboard Real Time Clock (RTC) nres zuam yog tias koj txuas 5V I2C ntaus ntawv. Kuv xav tias qhov no yog vim RTC muaj rub tawm mus rau 3.3V. Tom qab ntawd ntxiv 5V I2C cov cuab yeej uas muaj nws tus kheej rub tawm mus rau 5V cuam tshuam RTC.

Muaj jumper nyob ze cov chaw nres nkoj nyob ntawm ib sab ntawm PyPortal los xaiv qhov hluav taws xob tso tawm cov chaw nres nkoj. Saib Adafruit Pinouts rau kev siv.

Txiav/khawb qhov me me me me kab ntawv txuas nruab nrab lub ncoo rau 5V ncoo. *** Qhov tseem ceeb *** Txiav/khawb kom deb ntawm kab xov paj!

Siv lub ntsuas ntsuas ntau los tshuaj xyuas tias tsis muaj qhov txuas txuas nruab nrab ntawm lub ncoo nruab nrab thiab 5V ncoo. Kuj xyuas tias qhov chaw nres nkoj qhov hluav taws xob tus pin tsis muaj qhov txuas mus rau 5V ncoo.

Siv tus choj txuas me ntsis los ntawm lub ncoo nruab nrab mus rau 3V ncoo.

Siv ntau lub ntsuas ntsuas txhawm rau txuas ntxiv ntawm lub ncoo nruab nrab mus rau 3V ncoo. Txheeb xyuas tias tsis muaj kev cuam tshuam txuas nrog 5V ncoo ib yam nkaus.

Kauj Ruam 6: Txuas Hluav Taws Xob - Txuas PyPortal

Cov Txuas Hluav Taws Xob - Txuas PyPortal
Cov Txuas Hluav Taws Xob - Txuas PyPortal
Cov Txuas Hluav Taws Xob - Txuas PyPortal
Cov Txuas Hluav Taws Xob - Txuas PyPortal
Cov Txuas Hluav Taws Xob - Txuas PyPortal
Cov Txuas Hluav Taws Xob - Txuas PyPortal
Cov Txuas Hluav Taws Xob - Txuas PyPortal
Cov Txuas Hluav Taws Xob - Txuas PyPortal

Peb yuav ua lub zog PyPortal los ntawm kev txuas ncaj qha mus rau 5V npav tsis siv PyPortal lub micro USB chaw nres nkoj.

Cov xaim uas los nrog JST RCY txuas yog loj dhau rau nyem los ntawm Adafruit PyPortal qhov thaiv. Koj yuav tsum tau xaim me dua 24AWG xaim mus rau PyPortal thiab tom qab ntawd mus rau JST RCY txuas. Siv cov xim ib txwm ntawm liab rau qhov zoo thiab dub rau hauv av rau cov xov hlau.

Sawb thiab tin qhov xaus ntawm 24AWG xov hlau. Txiav qhov kawg kom tsuas yog qhov loj me ntawm 5V lub lauj kaub lauj kaub (lub ncoo peb nyuam qhuav txuas hauv cov kauj ruam dhau los).

Tin lub 5V ncoo thiab muab xaim liab txuas rau lub ncoo. Tom qab ntawd ua tib zoo khoov cov hlau kom mus nruab nrab ntawm I2C chaw nres nkoj thiab D3 chaw nres nkoj.

Tin hauv av tus pin ntawm D3 chaw nres nkoj (tus pin sab saum toj) thiab muab cov xaim dub txuas rau nws. Khoov cov xaim no kom ua raws cov xaim liab.

Kauj Ruam 7: Txuas Hluav Taws Xob - Ntxiv Txuas Txuas Txuas

Fais Fab Txuas - Ntxiv Txuas Txuas Txuas
Fais Fab Txuas - Ntxiv Txuas Txuas Txuas
Fais Fab Txuas - Ntxiv Txuas Txuas Txuas
Fais Fab Txuas - Ntxiv Txuas Txuas Txuas
Fais Fab Txuas - Ntxiv Txuas Txuas Txuas
Fais Fab Txuas - Ntxiv Txuas Txuas Txuas

Txiav cov xov hlau txuas rau tus txiv neej kawg ntawm JST RCY rau qhov tsim nyog ntev, zoo li ntiv tes lossis ob. Kuv xaiv tus txiv neej kawg los ua qhov txuas sib xws nrog cov chaw nres nkoj sab.

Hlais ntawm lub taub hau ntsws tubing ntawm cov xov hlau ua ntej cov laug txuas lawv ua ke.

Muab cov xov txuas txuas txuas rau cov xov hlau uas peb tau siv rau hauv cov kauj ruam dhau los.

Muab lub raj tso rau hauv qhov chaw.

Kauj Ruam 8: Tshem Tawm Onboard Speaker

Disconnect Onboard Speaker
Disconnect Onboard Speaker
Disconnect Onboard Speaker
Disconnect Onboard Speaker

Peb yuav txuas cov neeg hais lus sab nraud thiab xav tau kev sib txuas ntawm tus neeg hais lus sab hauv. Saib Tus Hais Lus thiab Hais Lus Txuas rau siv.

Muaj ob daim kab xev txuas nrog los ntawm cov kab ntawv me me rau sab laug ntawm tus hais lus onboard. Txiav/khawb qhov me me me me.

Siv ntau lub ntsuas los txheeb xyuas tias ob lub pawm no tsis txuas rau ib leeg.

Kauj Ruam 9: Tus Hais Lus Pigtail Connector

Hais lus Pigtail Connector
Hais lus Pigtail Connector
Hais lus Pigtail Connector
Hais lus Pigtail Connector
Hais lus Pigtail Connector
Hais lus Pigtail Connector
Hais lus Pigtail Connector
Hais lus Pigtail Connector

Tus neeg hais lus txuas yog qhov mob kom tau txais thaum lub PyPortal qhov thaiv tau qhib. Peb yuav ua tus txuas pigtail kom peb tuaj yeem txuas tau yooj yim/txiav cov neeg hais lus sab nraud.

Siv tus txiv neej 2-Pin JST PH txuas mus rau qhov kawg ntawm tus poj niam Molex Picoblade txuas. Nco ntsoov tias koj muaj cov xaim xaim txuas mus rau lub davhlau ya nyob twg raug rau tus poj niam JST PH txuas.

Qhov me me ntsws tubing kuv tau tseem loj heev yog li kuv xaus kub gluing lub tub rau tus txiv neej txuas.

Kauj Ruam 10: Sib sau Adafruit's PyPortal Enclosure

Sib sau Adafruit's PyPortal Enclosure
Sib sau Adafruit's PyPortal Enclosure

Sib sau acrylic PyPortal enclosure raws li cov lus qhia ntawm lub thawv.

Lub hwj chim ntsaws yuav tsum muaj peev xwm haum tau ntawm sab.

Txuas tus hais lus pigtail txuas peb tau ua dhau los. Ua qhov tam sim no raws li kev sim txuas qhov no tom qab yuav nyuaj.

Kauj Ruam 11: PCA9685 Cov Hluav Taws Xob - Rearrange 4 -Pin JST PH Connector Wires

PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires
PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires
PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires
PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires
PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires
PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires
PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires
PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires

Koj tuaj yeem hla cov kauj ruam no yog tias koj ua tau zoo nrog cov xim xaj ntawm cov xov hlau ntawm koj tus poj niam wired 4-pin JST PH txuas.

Kuv siv rab riam hobby los rub lub xauv tab thiab xaub cov xov hlau tawm. Kuv rov kho cov xim kom haum rau qhov pinout voltage ntawm PyPortal.

Kuv tuaj yeem tso cov hlau dawb thiab daj nyob ib leeg tab sis kuv nyiam daj li SCL txij li daj thiab SCL muaj tsab ntawv 'L' hauv lawv.

Kev txiav txim xim yog xim dub, liab, dawb, thiab daj (GND, VCC, SDA, SCL).

Tus pin sab saum toj yog tus pin hauv av, yog li nco ntsoov thaum koj txuas tus txuas rau PyPortal cov xov hlau hauv av txuas nrog tus pin sab saum toj.

Kauj Ruam 12: PCA9685 Cov Hluav Taws Xob - 6P Dupont Connector End

PCA9685 Cov Hluav Taws Xob - 6P Dupont Connector End
PCA9685 Cov Hluav Taws Xob - 6P Dupont Connector End
PCA9685 Cov Hluav Taws Xob - 6P Dupont Connector End
PCA9685 Cov Hluav Taws Xob - 6P Dupont Connector End
PCA9685 Cov Hluav Taws Xob - 6P Dupont Connector End
PCA9685 Cov Hluav Taws Xob - 6P Dupont Connector End
PCA9685 Cov Hluav Taws Xob - 6P Dupont Connector End
PCA9685 Cov Hluav Taws Xob - 6P Dupont Connector End

Seem qhov kawg ntawm tus poj niam xaim 4-tus pin JST PH txuas.

Crimp poj niam DuPont txuas mus rau qhov kawg.

Ntxig cov xov hlau hauv qhov kev txiav txim kom raug kom phim lub hauv paus ntawm PCA9685 tus qauv.

Qhov kev txiav txim kuv muaj yog GND, hla, SCL, SDA, VCC, hla.

Kauj Ruam 13: PCA9685 Cov Hluav Taws Xob - Rearrange 4 -Pin JST PH Connector Wires

PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires
PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires
PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires
PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires
PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires
PCA9685 Wire Harness - Rearrange 4 -Pin JST PH Connector Wires

Ib yam li cov kauj ruam ua ntej, rov teeb cov xim ntawm cov xaim 3-tus pin JST PH txuas kom phim cov pins ntawm PyPortal 3-tus pin chaw nres nkoj. Kev txiav txim los saum toj saud yog GND, VCC, D3.

Ntawm qhov rov qab kawg ntawm qhov txuas txuas tus poj niam DuPont txuas.

Peb yuav tsis siv GND thiab VCC cov xov hlau tab sis muab tso rau hauv 2P rooj plaub, tsuas yog siv rau yav tom ntej siv.

Kauj Ruam 14: PCA9685 Cov Hluav Taws Xob - Txuas 3 -Pin JST PH Hlau rau 6P Dupont Connector

PCA9685 Wire Harness - Txuas 3 -Pin JST PH Wire rau 6P Dupont Connector
PCA9685 Wire Harness - Txuas 3 -Pin JST PH Wire rau 6P Dupont Connector
PCA9685 Wire Harness - Txuas 3 -Pin JST PH Wire rau 6P Dupont Connector
PCA9685 Wire Harness - Txuas 3 -Pin JST PH Wire rau 6P Dupont Connector

Ntxig D3 teeb liab xaim los ntawm tus poj niam wired 3-pin JST PH txuas los ntawm cov kauj ruam dhau los mus rau 6P DuPont txuas los ntawm cov kauj ruam ua ntej.

Cov hlau yuav tsum txuas ntawm GND thiab SCL.

Kauj Ruam 15: Luam Amiibotronic Display Parts

Luam Amiibotronic Zaub Qhia
Luam Amiibotronic Zaub Qhia
Luam Amiibotronic Zaub Qhia
Luam Amiibotronic Zaub Qhia
Luam Amiibotronic Zaub Qhia
Luam Amiibotronic Zaub Qhia
Luam Amiibotronic Zaub Qhia
Luam Amiibotronic Zaub Qhia

Rub tawm PyPortal Splatoon 2 Theem 3D cov ntaub ntawv los ntawm Thingiverse.

Luam cov ntawv STL.

Kev piav qhia ntawm cov ntaub ntawv:

  • PyPortalSplatoonStage.stl - Hauv qab ib feem ntawm cov zaub los tuav cov khoom siv hluav taws xob, servos thiab hais lus.
  • PyPortalSplatoonRiser.stl - Daim kom nce PyPortal mus rau qhov siab tsim nyog uas haum rau Amiibos.
  • PyPortalSplatoonTurnTableBottom.stl - Hauv qab ntawm lub rooj tig uas cuam tshuam nrog servo horn rau tig. Kuv sim ua lub rooj tig ib thooj tab sis qhov kev so rau servo horn tsis tawm los zoo txawm tias luam tawm txhawb nqa.
  • PyPortalSplatoonTurnTableTop.stl - Sab saum toj ntawm lub rooj tig txij li thaum kuv faib lub rooj tig ua ob daim.

Kuv yuav tsum tau luam tawm theem dawb thaum kuv paub tias kuv cov menyuam yuav tau plaster lawv cov ntawv nplaum Splatoon rau nws. Kuv khaws cov xim daj vim tias qhov DJ tig rooj feem ntau tuaj ntawm qhov kuv tau pom.

Kuv kuj tau luam tawm nrog kev txhawb nqa tab sis koj yeej tsis xav tau rau theem ntawm tus hais lus qhov.

Kauj ruam 16: Coj mus rhaub USB Mounting

Coj mus rhaub USB Mounting
Coj mus rhaub USB Mounting
Coj mus rhaub USB Mounting
Coj mus rhaub USB Mounting

Siv 4-40 hauv qab kais rau xov USB tawg pawg thawj coj saib mount. Mount yog qhov thaiv me me nrog 2 qhov.

Siv rab riam hobby ntse los txiav cov yas yas tawm.

Kauj ruam 17: Coj mus rhaub Servo Mount

Coj mus rhaub Servo Mount
Coj mus rhaub Servo Mount

Siv cov ntsia hlau txuas uas tau ntim nrog MG90S servos rau "coj mus rhaub" xov rau hauv servo mounting blocks. Zoo, qhov no zoo li grooving lub qhov rau cov ntsia hlau.

Txiav tawm ib qho kev khiav tawm yog tias qhov ntawd tshwm sim.

Kauj Ruam 18: Coj mus riser

Coj mus riser
Coj mus riser
Coj mus riser
Coj mus riser

Siv 4-40 kais los txiav cov xov rau hauv 4 lub riser ntsia hlau qhov hauv qab.

Siv rab riam hobby los txiav tawm.

Kauj Ruam 19: Mount USB Fais Fab Chaw Nkag

Mount USB Fais Fab Chaw nres nkoj
Mount USB Fais Fab Chaw nres nkoj
Mount USB Fais Fab Chaw nres nkoj
Mount USB Fais Fab Chaw nres nkoj
Mount USB Fais Fab Chaw nres nkoj
Mount USB Fais Fab Chaw nres nkoj

Siv 1/4 4-40 ntsia hlau los tuav lub USB tawg pawg thawj coj saib.

Kauj Ruam 20: Mount PCA9685 Module

Mount PCA9685 Module
Mount PCA9685 Module
Mount PCA9685 Module
Mount PCA9685 Module
Mount PCA9685 Module
Mount PCA9685 Module
Mount PCA9685 Module
Mount PCA9685 Module

Muaj 4 qhov nyob hauv nruab nrab ntawm theem uas ua kab nrog qhov sib dhos ntawm PCS9685 tus qauv. Siv cov qhov rau 12mm M2.5 screws, 6mm nylon standoffs, tshuab ntxhua khaub ncaws thiab txiv ntseej. Kuv tsuas muaj 6mm ntawm tes tab sis qhov siab sawv ntsug yuav ua haujlwm ntev li ntev tau koj muaj cov ntsia hlau ntev txaus.

Kuv tsis suav nrog qhov tsis lees paub rau hauv cov ntawv luam vim hais tias lub taub hau pins hauv qab yog ze rau ntawm qhov txuas. Tsis muaj chaw txaus txaus ntseeg tau luam tawm qhov sawv ntsug nrog cov phab ntsa txaus uas yuav tsis cuam tshuam nrog hauv qab ntawm lub taub hau.

Kauj ruam 21: Mount Servos

Mount Servos Cov
Mount Servos Cov
Mount Servos Cov
Mount Servos Cov
Mount Servos Cov
Mount Servos Cov

Mount cov servos rau hauv servo mounts. Cov kev pabcuam tsuas yog haum ib txoj hauv kev nrog cov xov hlau tig mus rau nruab nrab ntawm theem.

Txuas cov servos rau PCA9685 tus qauv. Txuas sab laug servo thaum saib hauv qab mus rau chaw nres nkoj 0 thiab txoj cai servo rau chaw nres nkoj 1.

Ua kom ntseeg tau tias cov servos raug txuas mus rau PCA9685 tus qauv, cov xim ntawm cov xov hlau servo yuav tsum sib phim nrog cov qauv (dub/xim av rau hauv av).

Kauj Ruam 22: Npaj Servo Horn

Npaj Servo Horn
Npaj Servo Horn
Npaj Servo Horn
Npaj Servo Horn
Npaj Servo Horn
Npaj Servo Horn
Npaj Servo Horn
Npaj Servo Horn

Lub raj xa dej servo tsis tiaj tus nyob rau sab saum toj thiab yuav tsum tau ua kom haum kom haum rau hauv qab lub turntable.

Siv cov ntawv xuab zeb los ua kom sab saum toj ntawm ob tog sib tw servo horn. Koj yuav paub thaum nws tiaj tus thaum txhua qhov ci ntsa iab ploj mus.

Kauj Ruam 23: Mount Turntable Amiibo Holder

Mount Turntable Amiibo Holder
Mount Turntable Amiibo Holder
Mount Turntable Amiibo Holder
Mount Turntable Amiibo Holder
Mount Turntable Amiibo Holder
Mount Turntable Amiibo Holder

Muab lub tshuab raj tso rau ntawm lub servo. Kev taw qhia ntawm lub tshuab raj tsis muaj teeb meem.

Muab lub turntable hauv qab tso rau qhov servo horn. Lub tshuab raj servo yuav tsum haum zoo rau hauv qhov chaw so hauv qab ntawm lub turntable.

Muab lub turntable tso rau saum thiab ntswj rau hauv qhov chaw nrog 8mm M2 ntsia hlau.

Rov ua dua rau qhov kev pabcuam thib ob.

Koj tuaj yeem vwm cov kua nplaum ua daim ntawv ua ke yog tias koj xav tau. Kuv tsis tau txij li thaum kuv lub raj kua nplaum qhuav tawm. Turntable tseem ua haujlwm yam tsis muaj nws.

Kauj Ruam 24: Mount Speakers

Hais lus Mount
Hais lus Mount
Hais lus Mount
Hais lus Mount
Hais lus Mount
Hais lus Mount

Siv 10mm M3 ntsia hlau, tshuab ntxhua khaub ncaws thiab txiv ntseej txhawm rau teeb tsa cov neeg hais lus hauv qhov chaw.

Cov xov hlau yuav tsum tau tig mus rau sab.

Kuv yuav lees, Kuv muaj lub sijhawm nyuaj tau txais cov txiv ntoo nyob sab hauv ntawm cov ntsia hlau ze rau sab saum toj ntawm theem. Dab tsi tau pab yog muaj rab phom lub qhov ntswg khoov kom tuav cov txiv ntoo nyob hauv qhov chaw thaum ntsia hlau.

Kauj ruam 25: Tie Down PyPortal

Tie Down PyPortal
Tie Down PyPortal
Tie Down PyPortal
Tie Down PyPortal
Tie Down PyPortal
Tie Down PyPortal

Kuv nyiam qhov zoo ntawm Adafruit PyPortal Desktop Stand Enclosure Kit thiab txiav txim siab tsuas yog cable khi PyPortal rau tus riser.

Cov ceg thaiv yuav tsum haum rau hauv cov zawj saum toj ntawm lub riser. Qhov haum tsis yog qhov haum haum thiab yuav muaj qee chav wiggle tab sis qhov ntawd yuav tsis muaj teeb meem.

Ntxig cov hlua sib txuas rau hauv qab qhov ntawm tus riser. Lub nraub qaum ntawm tus riser nyob ze ntawm lub qhov qhib oval. Tsis txhob kaw qhov kev sib raug zoo tag nrho, tawm hauv chav rau ob txhais ceg ntawm lub thaiv kom swb rau hauv.

Nqa cov ceg thaiv rau hauv cov loops.

Zuaj cov hlua txuas kom tuav ob txhais ceg ntawm qhov chaw. Tsis txhob ntxeev siab.

Muaj qhov hlais ntawm sab xub ntiag ntawm tus riser yog tias koj xav khi rau pem hauv ntej ib sab ntawm ob txhais ceg. Koj yuav tsum tau txuas cov hlua txuas kom mus txog ib puag ncig. Kuv pom tias kuv tsis tas yuav ua qhov no vim tias ob txoj hlua txuas hauv qab tau txaus los tuav PyPortal nyob hauv qhov chaw.

Kauj Ruam 26: PCA9685 Kev Txuas Hluav Taws Xob

PCA9685 Kev Txuas Hluav Taws Xob
PCA9685 Kev Txuas Hluav Taws Xob
PCA9685 Kev Txuas Hluav Taws Xob
PCA9685 Kev Txuas Hluav Taws Xob
PCA9685 Kev Txuas Hluav Taws Xob
PCA9685 Kev Txuas Hluav Taws Xob

Siv cov xov hlau txuas VCC thiab GND los ntawm USB lub rooj sib tsoo tawm mus rau PCA9685 tus qauv. Ua raws li kev pom zoo thiab siv liab rau VCC thiab dub rau GND.

Sawb thiab tin ib sab ntawm cov xov hlau. Txiav qhov kawg tinned rau qhov loj me ntawm cov laug cam ntawm USB lub rooj sib tsoo tawg.

Muab cov xov hlau tso rau ntawm lub rooj tsav xwm USB tawg.

Seem lwm qhov kawg ntawm cov xov hlau thiab ntxig lawv rau hauv cov ntsia hlau dav hlau thaiv ntawm PCA9685 tus qauv. Nco ntsoov VCC los ntawm USB mus rau VCC ntawm lub davhlau ya nyob twg thaiv.

Kauj Ruam 27: PyPortal Fais Fab Txuas

PyPortal Fais Fab Txuas
PyPortal Fais Fab Txuas
PyPortal Fais Fab Txuas
PyPortal Fais Fab Txuas

Cov laug ntawm JST RCY txuas rau USB tawg tawm.

Siav thiab tin qhov kawg ntawm cov xov hlau yog xav tau. Mine tuaj hle thiab tinned yog li ntawd tsuas tuaj yeem tso rau hauv qhov chaw.

Kauj Ruam 28: Hais Lus Txuas

Hais lus txuas
Hais lus txuas
Hais lus txuas
Hais lus txuas
Hais lus txuas
Hais lus txuas
Hais lus txuas
Hais lus txuas

Txiav tus hais lus xov hlau vim lawv ntev heev. Kuv txiav kuv li kwv yees li 5 txog 6 ntiv tes (koj tuaj yeem mus luv dua txij li txuas cov xov txuas).

Cov hais lus yog 4-ohms txhua tus thiab PyPortal ua haujlwm nrog 8-ohm hais lus. Koj yuav tsum tau xaim tus hais lus hauv kab lus kom PyPortal pom 8-ohms.

Solder ib tus neeg hais lus xaim dub rau lwm tus hais lus xaim liab. Tsis txhob hnov qab ntog rau ntawm tshav kub ntsws tubing ua ntej.

Tom qab ntawd txuas tus poj niam txuas 2-tus pin JST PH txuas rau cov xov tooj txuas ntxiv. Muaj feem yuav yog cov xov hlau ntawm qhov txuas yuav liab thiab dub ib yam, yog li tsuas yog sib phim cov ntawd. Tsis tas li, cov xim yuav tsum sib phim nrog cov xim ntawm picoblade molex txuas pigtail peb tau ua yav dhau los.

Kauj Ruam 29: Txuas PyPortal Riser

Txuas PyPortal Riser
Txuas PyPortal Riser
Txuas PyPortal Riser
Txuas PyPortal Riser
Txuas PyPortal Riser
Txuas PyPortal Riser

Muab tus riser nrog PyPortal nyob rau sab saum toj ntawm theem.

Siv 1/2 4-40 ntsia hlau thiab tshuab ntxhua khaub ncaws los tuav lub riser los ntawm cov qib ua ntej mus rau sab saum toj ntawm theem.

Ua kom ntseeg tau tias lub qhov nyob ntawm kab riser nce nrog lub qhov ntawm theem ua ntej ntswj.

Kauj Ruam 30: Txuas 6P DuPont Connector Harness

Txuas 6P DuPont Connector Harness
Txuas 6P DuPont Connector Harness

Txuas 6P DuPont Connector Harness peb tau ua yav dhau los rau PCA9685 tus qauv. Nco ntsoov tias lub txuas txuas cov xov hluav taws xob raug rau tus qauv.

Kauj Ruam 31: Txuas Cov Txuas Txuas

Txuas cov Connectors
Txuas cov Connectors
Txuas cov Connectors
Txuas cov Connectors
Txuas cov Connectors
Txuas cov Connectors

Thawb JST PH thiab RCY cov khoom sib txuas los ntawm qhov txuas ib sab ntawm PCA9685 tus qauv thiab tawm los ntawm lub riser saum.

Txuas cov poj niam txuas rau lawv cov txiv neej txuas.

Rub cov hlau xaim mus rau theem kom ua rau sab nraub qaum ntawm PyPortal zoo thiab huv si.

Kauj Ruam 32: Npaj Cov Hluav Taws Xob

Npaj Cov Xov
Npaj Cov Xov
Npaj Cov Xov
Npaj Cov Xov

Cov xov hlau nyob rau theem yuav ua tsis meej pem.

Txhim kho koj cov xov hlau zoo ua ke thiab tuav lawv ua ke nrog qee yam.

Kuv siv Velcro qhwv. Cov ntaub qhwv yog dav uas koj tuaj yeem txiav ib nrab hauv nruab nrab thiab ua cov tawv nqaij tawv dua.

Kauj Ruam 33: Kho kom zoo nkauj

Kho kom zoo nkauj
Kho kom zoo nkauj

Kuv tsis tau npaj rau theem no. Kuv cov menyuam muaj phau ntawv nplaum thiab plastered qee cov ntawv nplaum rau nws. Yog kuv paub, kuv yuav tau luam tawm theem dawb kom phim cov qauv ntawm cov ntawv nplaum tawg. Kuv tseem nyiam nws, Kuv xav tias lawv tau ua txoj haujlwm zoo ntawm kev kho kom zoo nkauj.

Kauj Ruam 34: Ua Tsaug

Qhov ntawd yog nws rau qhov project. Txuas tus USB cable thiab txuas rau lub zog USB. Kuv vam tias koj nyiam qhov Qhia Ntawv no. Ua tsaug rau koj nyeem nws.

Kuv kuj xav ua tsaug rau cov hauv qab no:

Adafruit rau Adafruit IO

@mattisenhower rau Splatoon 2.ink uas muab cov ntaub ntawv sijhawm

@frozenpandaman rau Splatoon Fonts

Pom zoo: