Cov txheej txheem:
- Kauj ruam 1: Ua Tus Ntaus
- Kauj ruam 2: Kho vajtse thiab sib dhos
- Kauj ruam 3: Code
- Kauj Ruam 4: Cia Tus Tsiv Mus
Video: Arduino Mouse Wiggler: 4 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Nws yog yam tsis txaus siab txhua lub sijhawm thaum lub khoos phis tawj tsaug zog, tshwj xeeb tshaj yog thaum koj nyob hauv nruab nrab ntawm PowerPoint kev nthuav qhia, lossis ua haujlwm hauv tsev tab sis xav tias yuav tshwm sim online txhua lub sijhawm. Cov cuab yeej yooj yim no yuav yoog (jiggle) koj nas rau koj txhua 30 feeb lossis li ntawd thiab ua rau koj lub khoos phis tawj ib txwm tsaug zog. Cov cuab yeej no yooj yim sim ua lub cev txav lub cev, tsis muaj App lossis tus tsav tsheb yuav tsum tau teeb tsa, yog li nws yog 'zais cia' thiab yuav tsis ua txhaum lub tuam txhab IT txoj cai lossis nthuav tawm koj tus kheej rau software txaus ntshai.
Kauj ruam 1: Ua Tus Ntaus
Tag nrho cov nas wiggler yog 3D luam tawm. Cov ntawv txuas nrog. Luam cov ntu nrog koj nyiam xim.
Kauj ruam 2: Kho vajtse thiab sib dhos
Tus nas wiggler siv cov khoom uas muaj los ntawm ntau lub khw muag khoom. Cov cuab yeej hauv qab no xav tau:
- Arduino Nano (lossis clone , tsis txhob siv cov pins rau Nano)
- SG90 Servo thiab kho vajtse pob
- Mini USB cable
- Qee cov xov hlau
Nram qab no yog cov kauj ruam txhawm rau xaim lub servo rau Arduino Nano thiab teeb tsa servo thiab log.
Lub servo muaj qhov txuas nrog 3 tus poj niam pins. Cov txiv kab ntxwv yog PMW tus pin uas xav tau txuas nrog D9 tus pin ntawm Arduino Nano. Lub hauv paus liab hlau yog Vcc uas mus rau +5V ntawm Nano thiab xim av yog av uas txuas nrog GND ntawm nano. Kuv siv 3 tus txiv neej tus pin thiab muab nws txuas rau cov xov hlau los ntawm Nano kom ua txoj hlua yooj yim dua.
Siv ib qho ntawm lub tog raj servo thiab cov ntsia hlau kom ruaj ntseg SG90 servo rau tus nas wiggler lub cev, thiab teeb lub log rau ntawm qhov tso tawm servo. Xyuas kom lub log nyob qib thiab tsis cuam tshuam nrog nas. Kev xaiv koj tuaj yeem luam tus qauv thiab muab tso rau saum lub log txhawm rau txhim kho kev zoo nkauj thiab ua kom nas txav tau zoo dua. Kuv siv daim ntawv lo chaw nyob dawb rau qhov no.
Kauj ruam 3: Code
Daim duab kos Arduino tau txuas nrog. Nco ntsoov tias koj muaj Servo.h thiab SimpleTimer.h cov tsev qiv ntawv teeb tsa ua ntej rub cov duab kos rau koj nano. Koj tuaj yeem hloov lub kaum sab xis uas lub servo yuav mus, thiab lub sijhawm luv uas servo yuav txav mus. Qhov teeb tsa tsis raug yog servo yuav txav lub log 30 degrees mus rau sab laug ces 30 degrees mus rau sab xis txhua 30 vib nas this. Qhov no yuav ua rau koj nas txav mus txog 10 hli uas txaus rau ua kom lub khoos phis tawj tsaug zog, tseem tsis tau ntau dhau los poob ntawm tus cursor nas. Koj tuaj yeem kho cov txiaj ntsig no raws li koj xav tau.
Kauj Ruam 4: Cia Tus Tsiv Mus
Muab koj tus nas tso rau saum Mouse Wiggler thiab xyuas kom tseeb tias lub ntsuas qhov muag nyob saum lub log. Fais fab ntaus ntawv siv USB lub zog hloov pauv thiab koj zoo mus.
Khiav Tawm Hauv Kev Sib Tw Automation 2017
Pom zoo:
YADPF (YET Lwm Tus Duab Duab Duab): 7 Kauj Ruam (nrog Duab)
YADPF (YET Lwm Tus Duab Duab Duab): Kuv paub qhov no tsis yog khoom tshiab, Kuv paub, Kuv tau pom qee qhov ntawm cov haujlwm no ntawm no, tab sis kuv ib txwm xav tsim kuv tus kheej cov duab thav duab. Txhua daim duab thav duab kuv tau pom yog qhov zoo, tab sis kuv tab tom nrhiav lwm yam, Kuv tab tom nrhiav qhov zoo nkauj tiag tiag
Kev Tsim Qauv Duab Duab/Duab Duab Duab: 4 Kauj Ruam
Kev Tsim Qauv Duab Duab/Duab Duab Duab: Nyob zoo txhua tus, Hauv qhov kev qhia no, Kuv yuav qhia koj cov txheej txheem ntawm yuav ua li cas thiaj tsim 3D qauv siv cov duab digital. Cov txheej txheem hu ua Photogrammetry, tseem hu ua Image-Based Modeling (IBM). Tshwj xeeb, hom txheej txheem no tau siv los rov ua dua
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv