Cov txheej txheem:
- Kauj Ruam 1: Thauj Bootloader thiab Npaj Arduino Ib puag ncig
- Kauj ruam 2: Txuas Serial Board
- Kauj Ruam 3: Thauj lub Sketch rau ntawm Pawg Thawj Coj
- Kauj Ruam 4: Yuav Ua Li Cas Yog Nws Tsis Muaj Zog?
Video: SpaceBall 4000 Serial rau USB Adapter: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
SpaceBall 4000 (sib npaug rau 5000FLX, tab sis tsis yog 5000) yog cov lej raws li 3D nas nrog 12 khawm uas koj tuaj yeem yuav ntawm ebay rau qis dua $ 20. Cov no yog qhov zoo rau kev ua 3D duab tsim, raws li koj tuaj yeem txav cov qauv ua raws peb kab thiab tig lawv tsuas yog txav lub pob. Kuv nyuam qhuav ua Chrome txuas ntxiv uas tso cai rau koj siv nws hauv TinkerCAD, piv txwv li. Lossis koj tuaj yeem siv nws ua rau rau-axis 12-khawm joystick (tus adapter muaj qhov hloov pauv tau uas tso cai rau koj qhib lub hom ntawd) hauv kev ua si zoo li Qub.
Kuv yuav qhia yuav ua li cas rau $ 5 koj tuaj yeem tsim USB adapter rau SpaceBall uas ua rau nws ua raws li feem ntau ntawm kev ua haujlwm ntawm SpaceMouse Pro tshiab dua, yog li koj tuaj yeem siv nws nrog 3DConnexion cov tsav tsheb tshiab kawg.
Qhov chaw rau qhov project:
- STM32F103C8T6 pawg tswj hwm kev txhim kho yam tsawg kawg nkaus: ib lub ntsiav tshuaj dub zoo li qhov no ($ 1.90 xa tawm) lossis cov ntsiav tshuaj xiav zoo li qhov no ($ 1.94 xa tawm); yog tias koj siv cov ntsiav tshuaj xiav, tej zaum koj yuav xav tau cov tshuaj tiv thaiv ntxiv (tej zaum 1.8K); yog tias koj siv cov tshuaj dub, muaj peev xwm (tab sis nws tsis tshwm sim thaum kuv sim nws nrog SP3232 pawg thawj coj saib) uas koj yuav muaj qee qhov teeb meem kev siv hluav taws xob thiab yuav xav tau txuas cov hlau ncaj qha mus rau diode ntawm lub rooj tsavxwm.
- SP3232 TTL rau RS232 DB9 txiv neej pawg thawj coj zoo li qhov no (ebay $ 3.09).
Cov Cuab Yeej:
- USB rau UART adapter rau thauj khoom bootloader ntawm pawg thawj coj loj. Yog tias koj muaj ib tus zaum nyob ib puag ncig, koj tuaj yeem siv Arduino rau qhov no, lossis ib qho ntawm ntau lub USB rau UART adapters ntawm aliexpress rau ib ncig $ 1
- cam khwb cia hlau
- khoos phis tawj rau kev khiav Arduino IDE.
Kauj Ruam 1: Thauj Bootloader thiab Npaj Arduino Ib puag ncig
Ua raws cov kauj ruam 1 thiab 2 hauv Cov Lus Qhia no kom thauj khoom bootloader ntawm lub rooj tsavxwm thiab npaj Arduino IDE rau pawg thawj coj (koj tuaj yeem hla GameControllers lub tsev qiv ntawv, txawm li cas los xij).
Yog tias koj muaj cov tshuaj xiav, ntsuas qhov tsis kam ntawm PA12 thiab 3.3V. Yog tias nws muaj txiaj ntsig ntau dua 1.5K, muab tus tiv thaiv nruab nrab ntawm ob tus pin no los sib piv qhov kev tiv thaiv uas twb muaj lawm thiab coj nws mus rau 1.5K. Yog tias koj ntsuas 10K, koj yuav tsum tso 1.8K tus neeg tawm tsam. (Nco ntsoov tias qee cov laug cam uas muaj cov tshuaj ntsiav tshuaj xiav yog xim dub.
Kauj ruam 2: Txuas Serial Board
Ua cov kev sib txuas hauv qab no ntawm RS232 adapter thiab ntsiav tshuaj:
- VCC -V3
- GND -G
- TXD - A 10
- RXD - A9
- TSO - B11
Txuas SpaceBall mus rau RS232 adapter. Txuas lub ntsiav tshuaj rau hauv qhov chaw nres nkoj USB. Tos ob peb feeb. Yog tias txhua yam mus tau zoo, SpaceBall yuav tso ob lub suab nrov. Qhov no qhia tau tias kev sib txuas hluav taws xob tau zoo. Yog tias koj muaj teeb meem, saib "Yuav ua li cas yog tias nws tsis muaj zog?" kauj ruam
Kauj Ruam 3: Thauj lub Sketch rau ntawm Pawg Thawj Coj
Thauj kuv tus Mouse3D kos duab rau hauv Arduino. Yog tias koj muaj Blue Pill, hloov kab LED los ua PC13 tsis txhob siv Black Pill's PB12.
Txuas lub ntsiav tshuaj rau hauv koj lub computer.
Mus rau Cov Cuab Yeej | Pawg thawj coj thiab nqes los xaiv Generic STM32F103C series.
Nias lub Upload (sab xis) khawm hauv Arduino IDE.
Yog tag nrho. Tam sim no koj muaj tus adapter. Unplug nws thiab ntsaws nws rov qab los siv nws. Kuv pom zoo kom koj rub tawm qhov kawg 3D Connexion tsav tsheb rau nws. Koj lub adapter ua rau lub cuab yeej ua piv txwv tias yog SpaceMouse Pro, tshwj tsis yog tias nws ploj lawm peb kawg ntawm SpaceMouse Pro cov nyees khawm.
Koj kuj tseem tuaj yeem siv SpaceBall ua ib qho USB joystick dav dav (ntsuas nrog Win-R joy.cpl ntawm Windows). Txhawm rau hloov mus rau USB hom joystick, nias lub 4, 5, 6 thiab 2 khawm tib lub sijhawm. Txhawm rau hloov rov qab mus rau SpaceMouse Pro, rov pib dua lub adapter (tshem tawm thiab rov ntsaws, lossis nias lub pob pib dua ntawm nws) lossis nias 4, 5, 6 thiab 1 khawm.
Kauj Ruam 4: Yuav Ua Li Cas Yog Nws Tsis Muaj Zog?
Yog tias koj tsis muaj hmoo, koj yuav pom tias SpaceBall 4000 tsis muaj zog thiab ib yam tsis zoo li qub. Lwm cov tsos mob yog xa khawm nias (koj tuaj yeem pom lawv nrog joy.cpl ntawm Windows) tab sis tsis yog pob txav mus los.
Hauv qhov xwm txheej ntawd, koj xav hloov pauv lub zog siv hluav taws xob rau UART-rau-RS232 hloov chaw tswj hwm los ntawm 3.3V txog 5V. Yog tias koj lub rooj tsav xwm STM32 muaj tus pin 5V (cov tshuaj xiav muaj nws), qhov ntawd yooj yim: tsuas yog txuas qhov ntawd mus rau lub rooj sib tham hloov pauv VCC hloov ntawm 3.3V. Yog tias lub rooj tsavxwm tsis muaj tus pin 5V (cov tshuaj dub tsis muaj nws), koj yuav tsum tau muab cov kab hluav taws xob txuas rau lub diode ntawm lub rooj tsavxwm.
Pom zoo:
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): 3 Cov Kauj Ruam
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): Peb txhua tus nyiam ua si nrog peb tus lej L … cov ntsiab lus tau ntxiv thiab nws tsis tshwj xeeb rau lub qhov muag. Arduino IDE cov phiaj xwm tsis
Sega Genesis Controller rau USB Adapter rau $ 2: 4 Cov Kauj Ruam
Sega Genesis Controller rau USB Adapter rau $ 2: Tus adapter no tso cai rau Sega Genesis / Mega Drive maub los ua raws ob lub XBox 360 gamepads rau siv nrog retroarch lossis lwm yam software. Nws siv Arduino-sib xws stm32f103c8t6 cov ntsiav tshuaj xiav rau cov khoom siv hluav taws xob.Cov khoom siv: stm32f103c8t6 blue pilltwo DB9 m
Flash ESP-01 (ESP8266) Tsis muaj USB-rau-serial Adapter Siv Raspberry Pi: 3 Cov Kauj Ruam
Flash ESP-01 (ESP8266) Tsis muaj USB-rau-txuas txuas Siv Raspberry Pi: Cov lus qhia no qhia koj yuav pib ua haujlwm li cas koj li ESP8266 microcontroller ntawm ESP-01 WIFI module. Txhua yam koj xav tau kom pib (ntxiv rau ESP-01 tus qauv, tau kawg) yog Raspberry Pi Jumper xov hlau 10K resistor Kuv xav rov kho dua
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rov Ua Rau Lawv rau 12V.: 3 Cov Kauj Ruam
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rewiring Lawv rau 12V: Kuv txoj kev npaj tau yooj yim. Kuv xav txiav cov phab ntsa uas siv hluav taws xob LED teeb ua ib daim ces rov txuas nws kom khiav tawm 12 volts. Lwm txoj hauv kev yog siv lub zog hloov pauv, tab sis peb txhua tus paub tias lawv tsis muaj txiaj ntsig zoo, puas yog? Txoj cai? Los yog lawv?
12v rau USB Adapter 12v rau 5v Transformer (zoo rau Tsheb): 6 Cov Kauj Ruam
12v rau USB Adapter 12v rau 5v Transformer (zoo rau Tsheb): Qhov no yuav qhia koj yuav ua li cas thiaj ua tau 12v rau USB (5v) adapter. Qhov pom tseeb tshaj plaws ntawm qhov no yog rau 12v lub tsheb hloov pauv, tab sis txhua qhov chaw koj muaj 12v koj tuaj yeem siv nws! Yog tias koj xav tau 5v rau lwm yam uas tsis yog USB, tsuas yog hla cov kauj ruam hais txog kev ntxiv USB chaw nres nkoj