Cov txheej txheem:

Arduino Jumping Game: 3 Kauj Ruam
Arduino Jumping Game: 3 Kauj Ruam

Video: Arduino Jumping Game: 3 Kauj Ruam

Video: Arduino Jumping Game: 3 Kauj Ruam
Video: Amazing arduino project 2024, Hlis ntuj nqeg
Anonim
Arduino Jumping Game
Arduino Jumping Game
Arduino Jumping Game
Arduino Jumping Game
Arduino Jumping Game
Arduino Jumping Game
Arduino Jumping Game
Arduino Jumping Game

Daim ntawv teev npe:

  • 1 x Arduino UNO
  • 1 x LCD npo (16 x 2 cim)
  • 1 x Electronics breadboard
  • 1 x 220 Ω resistor
  • 1 x Pushbutton hloov
  • Solid-core hookup hlau
  • 1 x USB cable

Kauj Ruam 1: Kauj Ruam 1: Yuav Sib Sau Li Cas

Kauj Ruam 1: Yuav Ua Li Cas Sau Nws
Kauj Ruam 1: Yuav Ua Li Cas Sau Nws
  1. Siv txoj hlua sib txuas los txuas 5V teeb liab ntawm Arduino mus rau kab liab ntawm lub khob cij.
  2. Siv txoj hlua sib txuas los txuas GND teeb liab mus rau kab dub nyob rau sab saum toj ntawm lub khob cij.
  3. Txuas lub LCD 16-tus pin rau hauv lub khob cij, cov cim hluav taws xob hais tias lub LCD yuav hla lub taub hau no.
  4. LCD tus lej suav los ntawm sab laug mus rau sab xis (LCD tus lej 7, 8, 9, 10 tsis siv ntawm no)

    1. Txuas LCD tus pin 16 mus rau kab dub ntawm lub khob cij
    2. Txuas LCD tus pin 15 rau kab liab ntawm lub khob cij

    3. Txuas LCD tus pin 14 rau Arduino tus pin 3
    4. Txuas LCD tus pin 13 rau Arduino tus pin 4
    5. Txuas LCD tus pin 12 rau Arduino tus pin 5
    6. Txuas LCD tus pin 11 rau Arduino tus pin 6
    7. Txuas LCD tus pin 6 rau Arduino tus pin 9
    8. Txuas LCD tus pin 5 mus rau kab dub ntawm lub khob cij
    9. Txuas LCD tus pin 4 rau Arduino tus pin 11
    10. Txuas LCD tus pin 3 mus rau kab dub ntawm lub khob cij
    11. Txuas LCD tus pin 2 mus rau kab liab ntawm lub khob cij
    12. Txuas LCD tus pin 1 mus rau kab dub ntawm lub khob cij
  5. ntsaws lub laub khawm rau hauv lub khob cij, txuas ib sab rau tus pin 2 ntawm Arduino, ib sab mus rau kab dub ntawm lub khob cij
  6. qhov program !!!

Kauj Ruam 2: Kauj Ruam 2: Ua Lub Thawv Rau Nws

Kauj ruam 2: Ua ib lub thawv rau nws
Kauj ruam 2: Ua ib lub thawv rau nws
Kauj ruam 2: Ua ib lub thawv rau nws
Kauj ruam 2: Ua ib lub thawv rau nws

koj tuaj yeem rub tawm qhov no los ua lub thawv rau nws

ps ua. xav tau laser txiav

Pom zoo: