Cov txheej txheem:

DINO GAME USS LDR: 5 Kauj Ruam
DINO GAME USS LDR: 5 Kauj Ruam

Video: DINO GAME USS LDR: 5 Kauj Ruam

Video: DINO GAME USS LDR: 5 Kauj Ruam
Video: ПОКУПАЕМ ВСЕ ОДНОГО ЦВЕТА 24 ЧАСА ЧЕЛЛЕНДЖ ! 2024, Kaum ib hlis
Anonim
DINO GAME SIV LDR
DINO GAME SIV LDR

Dinosaur Game, tseem hu ua T-Rex Game thiab Dino Runner, yog qhov kev ua si hauv browser hauv Google Chrome web browser. Qhov kev ua si tau tsim los ntawm Sebastien Gabriel xyoo 2014, thiab tuaj yeem nkag mus tau los ntawm kev ntaus lub spacebar thaum offline ntawm Google Chrome.

LDR (photoresistor) yog tus tivthaiv tivthaiv uas ua rau txo qis kev ua haujlwm nrog kev hwm kom tau txais lub teeb ci ntawm qhov tivthaiv lub ntsej muag. Kev tiv thaiv ntawm photoresistor txo qis nrog qhov tshwm sim ntawm qhov teeb pom kev zoo. Yog tias qee qhov teeb meem tuaj rau ntawm ldr nto ces siv rau ldr yuav txo qis ces arduino tswj servo mus nias spacebar.

txwv tsis pub spacebar yuav tsis raug nias kom servo los rau txoj haujlwm tsis muaj zog.

Kauj Ruam 1: Cov ntaub ntawv xav tau

Cov ntaub ntawv xav tau
Cov ntaub ntawv xav tau

1) ARDUINO (UNO, NANO, MINI, ETC)

2) LWD

3) RESISTOR

4) JUMPERS

5) BREADBOARD

6) ARDUINO CABLE

7) SERVO TSO

Kauj Ruam 2: SCHEMATICS

SCHEMATICS
SCHEMATICS

Kauj ruam 3:

Duab
Duab

Kauj Ruam 4: Ua ntej qhov chaw BAR raug nias

UA HAUJ LWM HAUJ LWM ZOO TSHAJ PLAWS
UA HAUJ LWM HAUJ LWM ZOO TSHAJ PLAWS
UA HAUJ LWM HAUJ LWM ZOO TSHAJ PLAWS
UA HAUJ LWM HAUJ LWM ZOO TSHAJ PLAWS

Yog tias tsis muaj teeb meem tshwm sim nyob rau pem hauv ntej ntawm LDR SENSOR tom qab ntawd SERVO YUAV TSUM tsis ua haujlwm.

Kauj Ruam 5: Tom qab SPACEBAR raug tshaj tawm

Tom qab SPACEBAR raug tshaj tawm
Tom qab SPACEBAR raug tshaj tawm
Tom qab SPACEBAR raug tshaj tawm
Tom qab SPACEBAR raug tshaj tawm

YOG SUDDENLY LDR GETS DARK COLORED (OBSTACLE) NYOB HAUV ITAS SERVO GETS ACTIVATED THIAB NWS NPAJ SPACEBAR XWB kom DINO yuav dhia mus kom deb ntawm kev ua phem.

Pom zoo: