Cov txheej txheem:

Speedboard: Fais Skateboard: 5 Kauj Ruam
Speedboard: Fais Skateboard: 5 Kauj Ruam

Video: Speedboard: Fais Skateboard: 5 Kauj Ruam

Video: Speedboard: Fais Skateboard: 5 Kauj Ruam
Video: Things that skaters are scared of part 4 #skateboarding #shorts 2024, Kaum ib hlis
Anonim
Speedboard: Fais Skateboard
Speedboard: Fais Skateboard

Nyob zoo! Kuv yog MCT Cov Tub Ntxhais Kawm Qib Siab los ntawm Howest hauv Belgium.

Hnub no, kuv yuav qhia koj ib qib zuj zus qhia yuav ua li cas thiaj ua hluav taws xob skateboard nrog raspberry pi thiab arduino.

Kuv tau txais kev tshoov siab kom ua txoj haujlwm no los ntawm cov npe nrov youtuber hu ua Casey Neistat. Txij li thaum kuv muaj 15 xyoos, Kuv ib txwm xav kom muaj "Boosted board" vim nws muaj. Nws zoo li siv tau yooj yim heev, tshwj xeeb tshaj yog nyob hauv Lub Nroog Loj zoo li New York uas muaj neeg coob heev.

Kuj rau pawg thawj coj uas tuaj yeem caij ncig 20 kilometers ib teev, nws yooj yim heev kom tau txais los ntawm taw tes A mus rau B.

Kuv pom zoo tias koj yuav tsum xaj koj cov khoom ib hlis lossis ob hlis ua ntej pib vim tias qee yam khoom tuaj yeem siv sijhawm ntev heev.

Khoom siv

Kuv siv cov khoom hauv qab no:

Ib daim ntawv ntev

Cov khoom siv cav nrog txoj siv thiab cov khoom siv

Ib qho Raspberry Pi 3

Ib Arduino

Qee qhov txuas rau koj Arduino thiab Pi

Tsav

Ib ESC

Roj teeb pob

Lub Roj Teeb Charger

OLED zaub

Kuv yuav ntxiv ib daim ntawv uas kuv teev txhua ntu thiab qhov kuv yuav lawv. koj tuaj yeem xaiv qhov twg koj yuav txhua yam tab sis nco ntsoov tias ESC, lub cev muaj zog thiab roj teeb tau tsim los ua haujlwm ua ke, yog li yog koj hloov 1 ntawm lawv, koj yuav tsum hloov txhua yam.

Tus nqi tag nrho ntawm qhov kev tsim no yog € 361.54.

Kauj Ruam 1: Kauj Ruam 1: Kev Txuas Hluav Taws Xob

Kauj Ruam 1: Kev Txuas Hluav Taws Xob
Kauj Ruam 1: Kev Txuas Hluav Taws Xob
Kauj Ruam 1: Kev Txuas Hluav Taws Xob
Kauj Ruam 1: Kev Txuas Hluav Taws Xob
Kauj Ruam 1: Kev Txuas Hluav Taws Xob
Kauj Ruam 1: Kev Txuas Hluav Taws Xob

Ntawm no koj tuaj yeem pom txoj hlua rau hluav taws xob skateboard. Nco ntsoov tias kuv tau siv OLED zaub los qhia tus IP ntawm raspberry, tab sis nws tsis xav tau.

Kauj Ruam 2: Kauj Ruam 2: Database

Kauj ruam 2: Database
Kauj ruam 2: Database

Kuv tau ua cov ntaub ntawv khaws cia yog li kuv tuaj yeem khaws cov ntaub ntawv ntawm txhua qhov kuv ntsuas. Kuv kuj tau ntxig tsab ntawv SQL yog li koj tuaj yeem ntshuam cov ntaub ntawv thiab koj tsis tas yuav ua li ntawd.

Kauj Ruam 3: Kauj Ruam 3: Txuas Txhua Yam

Kauj Ruam 3: Txuas Txhua Yam
Kauj Ruam 3: Txuas Txhua Yam
Kauj Ruam 3: Txuas Txhua Yam
Kauj Ruam 3: Txuas Txhua Yam
Kauj Ruam 3: Txuas Txhua Yam
Kauj Ruam 3: Txuas Txhua Yam
Kauj Ruam 3: Txuas Txhua Yam
Kauj Ruam 3: Txuas Txhua Yam

Tom ntej no, Txuas txhua yam zoo li daim duab los ntawm cov kauj ruam dhau los.

Koj yuav tsum tau dai lub cav nrog ntu koj tau txais. Koj yuav tsum tshem lub log kom koj tso tau ib feem. nws zoo nkauj ncaj nraim rau pem hauv ntej.

Tsis tas li koj yuav tsum sauder txuas ntawm ESC thiab roj teeb raws li koj tuaj yeem pom. Koj tuaj yeem sau lwm sab nrog lub cav yog tias koj xav tau. Kuv siv tus txuas tab sis koj tsis tas yuav.

Kauj Ruam 4: Kauj Ruam 4: Qhov Programming Part

Tom ntej no, peb yuav tsum xa cov lej arduino mus rau arduino thiab tus lej pi rau pi.

Koj tuaj yeem tau txais ntawm no

Txoj Cai

Rau arduino tsuas yog xa nws mus rau arduino, ncaj ncaj rau pem hauv ntej.

Rau Raspberry pi, nws nyuaj me ntsis.

Koj yuav tsum nruab apache2. "sudo apt install apache2" Tom qab ntawd, koj yuav tsum muaj kev sib txuas ftp nrog koj tus raspberry pi. Kuv pom zoo siv Filezilla.

muab lub vev xaib ntim rau hauv var/www/html

Lub vev xaib

Kuv tau tsim lub network tshiab ntawm kuv tus pi yog li kuv tuaj yeem txuas rau kuv tus pi thaum tsav tsheb.

koj tuaj yeem ua raws li kev qhia ntawm no

Ntxiv

Yog tias koj xav tau, koj tuaj yeem qhia koj tus ip ntawm qhov screen. Tsuas yog khiav stats.py thiab voilla.

Kauj Ruam 5: Kauj Ruam 5: Khiav Code & Ua tiav

Qhov no yog cov kauj ruam yooj yim tshaj plaws. Txheeb xyuas yog tias txhua yam txuas nrog thiab khiav cov cai ntawm arduino thiab pi.

Thiab voilla koj muaj koj tus kheej hluav taws xob skateboard.

Pom zoo: