Cov txheej txheem:
- Kauj Ruam 1: Kauj Ruam 1: Tsim Circuit Court
- Kauj Ruam 2: Kauj Ruam 2: Code Nrog Thaiv
- Kauj Ruam 3: Kauj Ruam 3: Sim Nws
Video: LED Circuit (TinkerCad): 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Qhov haujlwm no yog kev lom zem, thiab kuv tau ua qhov no rau kuv tus kheej. Lub ntsiab lus ntawm txoj haujlwm no yog hloov pauv lub teeb ci ntau npaum li cas los ntawm tus kws yees duab. Hauv txoj haujlwm no, koj yuav xav tau 2 tus tiv thaiv, tus kws yees duab, lub teeb ci LED, Arduino Uno R3, thiab xov hlau. Txoj haujlwm no nyob ntawm Tinkercad, yog li koj yuav tsis tas yuav cov cuab yeej no.
Kauj Ruam 1: Kauj Ruam 1: Tsim Circuit Court
Ua ntej tshaj, koj yuav luam daim duab saum toj no. Koj yuav tau txais Arduino Uno R3 thiab yuav teeb nws qhov chaw ntawm qhov screen. Tom ntej no, koj yuav tau txais lub teeb ci LED thiab Txuas Tus Tiv Thaiv rau Cathode ntawm LED. Tom qab ntawd, koj yuav teeb tsa cov xaim uas txuas nrog Tus Tiv Thaiv ntawm LED, thiab txuas nws mus rau GND ntawm AUR3 (Arduino Uno R3). Koj yuav ua tib yam rau Anode, thiab yuav txuas cov hlau los ntawm nws mus rau D9 qhov ntawm AUR3. Nyob rau theem tom ntej, koj yuav ntxiv photoresistor thiab ntxiv lwm tus tiv thaiv, thiab tom qab ntawd txuas mus rau Terminal 1 ntawm tus photoresistor. Tom ntej no, koj yuav txuas tus tiv thaiv rau GND nrog xaim, uas pom ntawm AUR3. Nyob rau theem kawg ntawm kev tsim nws, koj yuav txuas A0 ntawm AUR3, thiab txuas nws mus rau lub davhlau ya nyob twg 1, pom ntawm tus photoresistor. Thaum kawg, koj yuav txuas xov hlau los ntawm 5v, thiab txuas nws mus rau lub dav hlau 2 ntawm tus photoresistor.
Kauj Ruam 2: Kauj Ruam 2: Code Nrog Thaiv
Nyem rau ntawm Pawg Variables hauv tus kho qhov chaws.
Txhawm rau khaws qhov tsis kam ntawm tus photoresistor, tsim qhov sib txawv hu ua "sensorValue". Luag tawm ib qho "set" block. Peb yuav khaws lub xeev ntawm peb tus photoresistor hauv qhov sib txawv sensorValue. Nyem rau ntawm qeb nkag thiab rub tawm qhov "analog read pin" block, thiab muab tso rau hauv "teeb" thaiv tom qab lo lus "rau" Txij li thaum peb lub zog ntsuas tau txuas nrog Arduino ntawm tus pin A0, hloov qhov poob mus rau A0. Nyem rau ntu Output thiab rub tawm ib qho "luam rau serial monitor" thaiv. Nkag mus rau qeb sib txawv thiab rub koj qhov sib txawv sensorValue mus rau "luam tawm mus rau tus saib xyuas ib ntus", thiab xyuas kom tseeb tias qhov poob qis tau teeb tsa los luam nrog kab tshiab. Optionally pib qhov simulation thiab qhib lub ntsuas saib xyuas kom paub tseeb tias kev nyeem tau nkag los thiab hloov pauv thaum koj kho lub ntsuas. Analog input qhov tseem ceeb ntawm 0-1023. Txij li thaum peb xav sau mus rau LED nrog tus lej nruab nrab ntawm 0 (tawm) thiab 255 (puv ci ci), peb yuav siv "daim ntawv qhia" thaiv ua qee qhov hla kev sib npaug rau peb. Nkag mus rau qeb lej thiab rub tawm "daim duab qhia chaw" thaiv. Hauv thawj qhov, rub hauv lub sensorValue qhov sib txawv ntawm qhov thaiv, tom qab ntawd teeb tsa qhov ntau los ntawm 0 txog 255. Rov qab rau hauv Pawg Tawm Tsam, rub tawm qhov analog "teeb tus pin" thaiv, uas los ntawm lub neej ntawd hais tias "teeb tus pin 3 rau 0." Kho nws kom teeb tus pin 9. Rub daim duab qhia chaw uas koj tau ua yav dhau los rau hauv "teeb tus pin" thaiv "rau" teb kom sau tus lej hloov pauv rau tus pin LED siv PWM. Nyem rau Pawg tswj hwm thiab rub tawm qhov tos tos, thiab kho nws kom ncua txoj haujlwm rau.1 vib nas this.
Kauj Ruam 3: Kauj Ruam 3: Sim Nws
Tam sim no koj tau kawm nyeem tus kws yees duab thiab qhia nws cov zis kom tswj tau qhov ci ntawm LED, koj npaj tau los siv cov ntawd thiab lwm yam txuj ci uas koj tau kawm txog tam sim no. Txoj haujlwm no tsis nyuaj li, thiab tsuas yog coj kuv li 3 hnub los ua. Ua tsaug!
Pom zoo:
Xaiv Sensor Hloov Chaw hauv Tinkercad Circuit: 3 Cov Kauj Ruam (nrog Duab)
Xaiv Sensor Hloov Chaw hauv Tinkercad Circuits: Los ntawm kev tsim, Tinkercad Circuits muaj cov tsev qiv ntawv tsawg ntawm cov khoom siv hluav taws xob feem ntau siv. Qhov kev saib xyuas no ua rau nws yooj yim rau cov pib siv txoj hauv kev nyuaj ntawm lub ntiaj teb cov khoom siv hluav taws xob yam tsis muaj kev nyuaj siab. Qhov tsis zoo yog tias yog
(LED Nrog Hloov) Arduino Simulation Siv Tinkercad Circuit: 5 Kauj Ruam
(LED Nrog Hloov) Arduino Simulation Siv Tinkercad Circuit: Peb yog pab pawg ntawm UQD0801 (Robocon 1) cov tub ntxhais kawm los ntawm Universiti Tun Hussein Onn Malaysia (UTHM) uas yuav qhia pom yuav ua li cas thiaj li hloov LED nrog hloov siv Arduino thiab ob peb yam khoom siv ua ib feem ntawm peb txoj haujlwm. Yog li, peb yuav qhia cov b
TinkerCAD Ultrasonic Distance Sensor Circuit (Computer Eng Final): 4 Kauj Ruam
TinkerCAD Ultrasonic Distance Sensor Circuit (Computer Eng Final): Peb yuav tsim lwm qhov kev lom zem tinkerCAD Circuit kom ua thaum raug cais tawm! Niaj hnub no muaj qhov sib ntxiv ntawm cov khoom nthuav, koj puas tuaj yeem kwv yees? Zoo peb yuav siv lub Ultrasonic Distance Sensor! Ntxiv mus, peb tab tom mus rau code rau 3 LEDs
Stepper Motor Nrog D Flip Flops thiab 555 Timer; Thawj ntu ntawm Circuit Circuit 555 Timer: 3 Kauj Ruam
Stepper Motor Nrog D Flip Flops thiab 555 Timer; Thawj Ntu ntawm Circuit 555 Tus Timer: Tus tsav lub cav yog lub cav DC uas txav mus los hauv cov kauj ruam uas tsis sib xws. timer. Nws yog thawj daim duab (saib saum toj no) nrog 555 nti w
Ua Haujlwm Nrog Ob Lub LEDs Siv Arduino UNO hauv TinkerCAD Circuit: 8 Kauj Ruam
Ua Haujlwm Nrog Ob LEDs Siv Arduino UNO hauv TinkerCAD Circuit: Txoj haujlwm no qhia pom ua haujlwm nrog ob lub LEDs thiab Arduino hauv TinkerCAD Circuit