Cov txheej txheem:

Pixel Ntse Teeb: 7 Kauj Ruam (nrog Duab)
Pixel Ntse Teeb: 7 Kauj Ruam (nrog Duab)

Video: Pixel Ntse Teeb: 7 Kauj Ruam (nrog Duab)

Video: Pixel Ntse Teeb: 7 Kauj Ruam (nrog Duab)
Video: TEEB SIV THAIJ DUAB THIAB THAIJ VDO $97.99 2024, Hlis ntuj nqeg
Anonim
Image
Image
Teeb tsa Eletronics
Teeb tsa Eletronics

Nov yog qhov haujlwm kuv tau ua rau lub teeb ntse tswj los ntawm Bluetooth nrog Android App tsim ntawm Android Studio.

Pixel lub hom phiaj tseem ceeb yog los teeb pom kev zoo. Nws yog lub qhov cub ci ntsa iab, piv txwv li, cia koj pom yuav ua li cas ib lub qhov cub pixel zoo ib yam. Tsis tas li cov duab zaj sawv qhia ntau npaum li cas cov gradient yog "ib txwm" tsim los ntawm cov coj.

Pixel's eletronics yog Arduino Nano thiab 10 qhov chaw nyob LEDs ws2813. Nws kuj tseem muaj cov duab qhia lub sijhawm, thiab lub suab nrov kom koj tuaj yeem teeb tsa lub tswb.

Nws lub cev yog ua los ntawm MDF (laser txiav) thiab acrylic.

Github rau.apk, arduino files, app files.

github.com/danielwilberger/PixelSmartLamp

Kho kom raug: tso daim ntawv txiav rau MDF ntu

Khoom siv

  • Arduino nano;
  • Bluetooth module HC-05
  • Sijhawm Sijhawm Sijhawm Sijhawm;
  • 4-tus lej LED zaub;
  • 10 x Chaw nyob LEDs ws2812b
  • Potentiometer;
  • 4 x Nyees khawm;
  • Buzzer;
  • 5V-2amp ntawv.

Kauj Ruam 1: Teeb Eletronics

Teeb tsa Eletronics
Teeb tsa Eletronics
Teeb tsa Eletronics
Teeb tsa Eletronics

Kuv thawj kauj ruam, tom qab tau txais lub tshuab hluav taws xob xa tuaj, tau sib sau tag nrho nws ntawm daim ntawv tiv thaiv.

Txoj kev no, kuv tuaj yeem sim nws thiab pib ua haujlwm Arduino.

Kuv yuav tsum:

  • Siv cov leds;
  • Sib sau ua ke tag nrho cov cuab yeej ntawm protoboard;
  • Sib sau ua ke 10 qhov chaw nyob leds (ob qho rau txhua sab ntawm lub voos xwmfab, rho tawm hauv qab);
  • Pib programming.

Ua ntej tau txais lub voos xwmfab acrylic rau qhov khoom zaum kawg, Kuv sim nws ntawm kuv niam lub tais yas.

Kauj ruam 2: Programming

Programming
Programming
Programming
Programming

Kuv cov kauj ruam tom ntej yog programming. Ua ntej, arduino nrog txhua qhov kev lom zem uas kuv xub xav rau Pixel:

  • Zaub tam sim no ntawm lub moos;
  • Teeb tsa lub tswb rau sawv (lossis timer);
  • Muab ob peb lub teeb pom kev, los ntawm lub teeb dawb yooj yim mus rau zaj sawv zaj lossis lub qhov cub. Rau ntu no, ntau qhov piv txwv ntawm FastLED lub tsev qiv ntawv rau Arduino tau pab tau zoo heev.

Tom qab ua tiav nws, Kuv muaj lub teeb tswj tau zoo, siv cov khawm sib xws thiab lub zog ntsuas. Yog li, cov kauj ruam tom ntej yog teeb tsa kev sib txuas bluetooth nrog ib qho app uas kuv tau ua rau Pixel. Qhov no yog ib feem uas siv sijhawm ntev tshaj plaws. Ua ntej txoj haujlwm no, Kuv tsis muaj kev paub txog Android lub cajmeem, thiab tseem tsis tau paub lus Java. Tab sis kuv twb paub lub hom phiaj-taw qhia txoj haujlwm, yog li kuv pib chav kawm Android programming, ntawm Udemy.

Koj tuaj yeem tshawb xyuas txhua yam koj xav tau ntawm kuv Github. Qhov txuas txuas saum toj no thaum pib ntawm kab lus no.

Kauj Ruam 3: Tsim Pixel

Tsim Pixel
Tsim Pixel
Tsim Pixel
Tsim Pixel
Tsim Pixel
Tsim Pixel

Lub sijhawm no, Kuv tau xav tias Pixel yuav zoo li cas, tab sis nws yog lub sijhawm los muab nws tso rau ntawm daim ntawv. Qhov tseeb, ntawm kuv lub PC. Txij li thaum kuv yuav tsim Pixel ntawm MDF ntoo thiab acrylic, Kuv paub tias kuv yuav tsum kos ib txoj haujlwm raug. Yog li kuv tau xaiv CAD software thiab pib kos Pixel.

Qhov no yuav zoo li me ntsis, tab sis kuv twb paub CAD daim duab los ntawm kuv qhov kev kawm tiav ntawm Engeneering. Thiab nws tau txais txiaj ntsig zoo rau kev tau txais 2D cov duab kos rau laser txiav MDF.

Kauj Ruam 4: Sib dhos MDF

Sib dhos MDF
Sib dhos MDF
Sib dhos MDF
Sib dhos MDF
Sib dhos MDF
Sib dhos MDF

Tom qab kos Pixel ntawm CAD, Kuv tau hu rau lub tuam txhab hauv cheeb tsam uas ua cov khoom acrylic, zoo li nthuav tawm, khoom plig, thiab lwm yam. Cov chaw no feem ntau muaj cov tshuab txiav laser, yog li kuv nug yog tias lawv tuaj yeem tsim kuv lub voos xwmfab acrylic thiab txiav MDF.

Yog li kuv tau txais 6mm MDF lub rooj tsavxwm, thiab xa lawv daim duab txiav.

Kuv tau txais lawv zoo li hauv daim duab saum toj no, thiab sib sau tag nrho nws siv cyanoacrylate kua nplaum.

Kauj Ruam 5: Soldering Cheebtsam

Soldering Cheebtsam
Soldering Cheebtsam

Qhov no yog ib lub sijhawm nyuaj tshaj plaws. Kuv tsis muaj kev paub dhau los solder eletronics, yog li kuv tau saib qee cov vis dis aus thiab sim nws.

Kauj Ruam 6: Ua tiav Kev Ua Haujlwm Ntoo

Tiav Ntoo Ua Haujlwm
Tiav Ntoo Ua Haujlwm
Tiav Ntoo Ua Haujlwm
Tiav Ntoo Ua Haujlwm

Lub sijhawm no, Kuv tau Pixel ua haujlwm raws li kuv tau npaj nws. Qee qhov kev hloov pauv tau tsim nyog, xws li teeb tsa lub teeb ci LEDs.

Tab sis kev ua tiav MDF tsis zoo li qhov kuv xav tau. Yog li kuv tau txais daim ntawv ntoo, dab yog ib daim ntoo uas tuab heev. Kuv tau npog tag nrho MDF nto nrog yog tias, tom qab ua kom ntseeg tau tias lub moos saib tuaj yeem tso lub teeb los ntawm nws.

Kauj Ruam 7: Txaus siab rau Teeb

Txaus siab rau Teeb!
Txaus siab rau Teeb!
Txaus siab rau Teeb!
Txaus siab rau Teeb!
Txaus siab rau Teeb!
Txaus siab rau Teeb!
Txaus siab rau Teeb!
Txaus siab rau Teeb!

Tom qab txhua txoj haujlwm no, Kuv muaj lub teeb uas ci dua thiab zoo dua li qhov kuv xav thawj zaug.

Koj tuaj yeem tshawb xyuas ntawm cov vis dis aus saum toj no txhua lub Pixel lub teeb pom kev.

Thov hu rau kuv yog tias koj muaj kev ua xyem xyav txog koj txoj haujlwm. Kuv yuav zoo siab los pab:)

Pom zoo: