Cov txheej txheem:

Yuav Ua Li Cas Ua Arduino Powered Teeb Teeb: 4 Kauj Ruam
Yuav Ua Li Cas Ua Arduino Powered Teeb Teeb: 4 Kauj Ruam

Video: Yuav Ua Li Cas Ua Arduino Powered Teeb Teeb: 4 Kauj Ruam

Video: Yuav Ua Li Cas Ua Arduino Powered Teeb Teeb: 4 Kauj Ruam
Video: Leap Motion SDK 2024, Kaum ib hlis
Anonim
Image
Image

Hauv kab ntawv no, peb yuav tham txog Arduino project piv txwv li Arduino Traffic Pedestrians Lights System. Txoj haujlwm no yog qhov txaus siab tiag tiag los sim thiab nrog kev pab ntawm qee qhov kos duab thiab khoom siv tes ua, koj tuaj yeem tsim tag nrho cov xwm txheej ntawm cov teeb pom kev thiab teeb pom kev

Khoom siv

  1. Arduino Uno R3
  2. Jumper Hlau
  3. Cov qhob cij
  4. LED
  5. Resistors - 10k, 220 ohm
  6. Laub Khawm

Kauj Ruam 1: Kev Sib Txuas Raws Li Muab Hauv qab no

Kev Sib Txuas Raws Li Ib Leeg Hauv Qab
Kev Sib Txuas Raws Li Ib Leeg Hauv Qab
  • Txuas hauv av rau Arduino
  • Txuas cov LEDs mus rau lub khob cij
  • Txuas 3 220 ohm resistors ntawm qhov zoo ntawm LEDs
  • Txuas cov xov hlau mus rau tus tiv thaiv ces mus rau Arduino pins
  • Tam sim no, tso lub laub khawm
  • Txuas lub 10k ohm resistor rau hauv av thiab rau ib ceg ntawm laub-khawm
  • Txuas ib tus pin rau tus tiv thaiv thiab tom qab ntawd mus rau Arduino
  • Txuas ib tus pin rau lwm ceg ntawm khawm tom qab ntawd mus rau Arduino 5V
  • Tam sim no txuas LED rau hauv av
  • Muab 220ohm resistors rau sab zoo ntawm LED
  • Txuas cov xov hlau mus rau tus tiv thaiv ces mus rau Arduino Pin
  • Txuas lub ntsuab LED tib yam li liab

Kauj ruam 2: Source Code

Qhov Code
Qhov Code

Nyem rau qhov no rub tawm qhov chaws ncaj qha.

Pom zoo: