Cov txheej txheem:

Autodesk Tinkercad Simulation ntawm Arduino UNO Ping Pong Game V2.0 :: 5 Cov Kauj Ruam
Autodesk Tinkercad Simulation ntawm Arduino UNO Ping Pong Game V2.0 :: 5 Cov Kauj Ruam

Video: Autodesk Tinkercad Simulation ntawm Arduino UNO Ping Pong Game V2.0 :: 5 Cov Kauj Ruam

Video: Autodesk Tinkercad Simulation ntawm Arduino UNO Ping Pong Game V2.0 :: 5 Cov Kauj Ruam
Video: How to Make a 3d Printed Soap Dispenser | I Like To Make Stuff 2024, Kaum ib hlis
Anonim
Image
Image
Kev Tso Npe Cheeb Tsam
Kev Tso Npe Cheeb Tsam

Nyob zoo cov neeg, hauv cov lus qhia no koj yuav kawm paub yuav ua li cas sim ping pong ntawm Autodesk Tikercad lub vev xaib siv Arduino UNO pawg thawj coj loj. Nyem rau ntawm qhov YouTube txuas no txhawm rau saib cov vis dis aus.

Kauj Ruam 1: Yuav Tsum Tau:

  1. Lub khoos phis tawj lossis lub laptop uas muaj internet txuas tau zoo.
  2. Internet browser (Kuv siv Google Chrome).
  3. Autodesk Tinkercad tus account.

Kauj Ruam 2: Kev Tso Npe Cheeb Tsam:

Kev Tso Npe Cheeb Tsam
Kev Tso Npe Cheeb Tsam
Kev Tso Npe Cheeb Tsam
Kev Tso Npe Cheeb Tsam
  • Qhib koj tus browser.
  • Nkag mus rau Autodesk Tinkercad lub vev xaib.
  • Nkag mus rau koj tus lej Autodesk Tinkercad.
  • Nyob rau sab laug ntawm lub vev xaib, koj tuaj yeem pom lub khawm hluav taws xob, nyem rau nws thiab tom qab ntawd nyem rau ntawm kev tsim hluav taws xob tshiab los tsim lub Circuit Court tshiab.
  • Koj yuav raug coj mus rau nplooj ntawv tom ntej uas koj yuav tsum ua kom muaj kev sib txuas hauv Circuit thiab tsim cov game.
  • Ntawm sab laug sab saum toj ze ntawm Autodesk Tinkercad lub logo, koj tuaj yeem sau lub npe tshiab rau txoj haujlwm.
  • Tam sim no ntawm sab xis ntawm nplooj ntawv web hauv qab cov khoom tab, rub thiab tso cov khoom hauv qab no.

    1. 1 x Arduino UNO pawg thawj coj saib.
    2. 2 x NeoPixel LEDs.
    3. 1 x piezoelectric siv lead ua.
    4. 6 x resistor.
    5. 5 x zog.
    6. 1 x potentiometer.
    7. 1 x LCD zaub 16x2.
    8. 1 x daim duab.
  • Ua qhov kev sib txuas hauv Circuit Court raws li daim duab hauv qab no.

Kauj Ruam 3: Daim duab qhia chaw thiab Kev Sib Txuas:

Daim duab qhia chaw thiab Kev Sib Txuas
Daim duab qhia chaw thiab Kev Sib Txuas
Daim duab qhia chaw thiab Kev Sib Txuas
Daim duab qhia chaw thiab Kev Sib Txuas

Arduino UNO Kev Sib Txuas:

  • Arduino UNO 0 -> NeoPixel LED1 hauv
  • Arduino UNO 1 -> NeoPixel LED2 nyob rau hauv
  • Arduino UNO 2 -> LCD DB 7
  • Arduino UNO 3 -> LCD DB 6
  • Arduino UNO 4 -> LCD DB 5
  • Arduino UNO 5 -> LCD DB 4
  • Arduino UNO 6 -> Paddle1 Up pushbutton terminal 2 thiab 10KΩ pulldown resistor
  • Arduino UNO 7 -> Paddle1 Down pushbutton terminal 2 thiab 10KΩ pulldown resistor
  • Arduino UNO 8 -> Paddle2 Up pushbutton davhlau ya nyob twg 2 thiab 10KΩ pulldown resistor
  • Arduino UNO 9 -> Paddle2 Down pushbutton terminal 2 thiab 10KΩ pulldown resistor
  • Arduino UNO 10 -> piezoelectric siv lead ua zoo.
  • Arduino UNO 11 -> LCD Pab
  • Arduino UNO 12 -> LCD Sau npe xaiv
  • Arduino UNO 13 -> Pib thawb lub davhlau ya nyob twg 2 thiab 10KΩ pulldown resistor
  • Arduino UNO 5v -> LCD VCC, potentiometer davhlau ya nyob twg 2, NeoPixel LED1 + thiab NeoPixel LED2 +
  • Arduino UNO GND -> LCD GND, potentiometer davhlau ya nyob twg 1, NeoPixel LED1 G thiab NeoPixel LED2 G

LCD sib txuas:

  • Qhov sib txawv -> potentiometer wiper
  • LCD LED Cathode -> 220Ω rub tawm resistor
  • LCD LED Anode -> Arduino UNO GND

Pushbuttons:

Txuas txhua lub laub khawm lub davhlau ya nyob twg 1 mus rau Arduino UNO 5v

Kauj ruam 4: Coding:

Coding
Coding
Coding
Coding
  • Tam sim no koj yuav tsum sau tus lej Arduino UNO.
  • Ib qho ntawm sab xis saum toj ntawm lub vev xaib, peb tuaj yeem pom tus lej khawm, nyem rau nws.
  • Xaiv cov ntawv nyob rau hauv lub thawv nco-down.
  • Tam sim no theej thiab paste cov cai hauv kab ntawv los ntawm ib qho ntawm cov txuas hauv qab no.
  1. Autodesk Tinkercad
  2. GitHub

Lub sijhawm no peb tau ua tiav kev sib txuas thiab coding ib feem thiab txoj haujlwm tau npaj los simulate

Kauj Ruam 5: Simulation:

Simulation
Simulation
  • Txhawm rau pib simulation, nyem rau lub pob simulation nyob rau sab xis saum toj ntawm lub vev xaib.
  • Kho lub hwj chim kom txog thaum koj tau txais qhov pom tseeb ntawm qhov kev ua si ntawm LCD zaub.
  • Siv lub pob pib kom pib qhov kev ua si thiab paddle1 UP, duav 2 Down, paddle2 Up thiab paddle2 Down pushbuttons los tswj tus duav 1 thiab paddle2.
  • Simulation video txuas.

Pom zoo: