Cov txheej txheem:

LED Art Lightbox: 5 Kauj Ruam (nrog Duab)
LED Art Lightbox: 5 Kauj Ruam (nrog Duab)

Video: LED Art Lightbox: 5 Kauj Ruam (nrog Duab)

Video: LED Art Lightbox: 5 Kauj Ruam (nrog Duab)
Video: Artist Talk: Pao Houa Her 2024, Kaum ib hlis
Anonim
LED Art Lightbox
LED Art Lightbox

Hauv Cov Lus Qhia no peb yuav tsim lub teeb pom kev zoo. Qhov no tso cai rau koj los ua cov cim zoo lossis tuaj yeem siv los kos duab sib tshooj, zoo heev yog tias koj yog tus kws kos duab, tus kws kos duab lossis tus tsim qauv!

Kauj Ruam 1: Kev Tsim Lub Thawv

Kev Tsim Kho Lub Thawv
Kev Tsim Kho Lub Thawv

Lub thawv yog ua los ntawm tus nqi zoo thiab ruaj ntoo thuv. Nws yog qhov zoo tshaj plaws kom yooj yim pom cov vaj huam sib luag kom loj thiab txuas lawv nrog cov ntsia hlau me me rau hauv qhov kawg ntawm cov vaj huam sib luag uas nyob ib sab. Txhawm rau txiav tawm lub vijtsam vaj huam sib luag qhov, siv lub qhov rooj pom. Koj tseem yuav xav tsim lub flange me me rau lub vijtsam vaj huam sib luag kom so. Hauv qab peb 3D luam tawm qee qhov me me hauv lub ntiaj teb los ua tus taw.

Lub vijtsam vaj huam sib luag nws tus kheej yog kev txiav laser txiav cov acrylic uas koj tuaj yeem xaj ntawm Fablab ze tshaj yog tias koj tuaj yeem xa cov duab kos duab.

Kauj ruam 2: LED Enclosure

LED Enclosure
LED Enclosure

Peb yuav 3D luam tawm ib lub thawv rau Arduino Pro Mini ua ntej, koj tuaj yeem rub tawm cov ntawv los ntawm Thingiverse:

Txhawm rau ua kom lub zog Arduino peb yuav siv Lilypad Fais Fab Muab rau AAA roj teeb, uas muaj lub peev xwm loj (txog 1000 mAh) thiab tuaj yeem them rov qab tau ib yam. Cov no yuav kav ntev txog 5 teev ntawm lub zog pom kev zoo.

Koj tuaj yeem yuav cov khoom siv hluav taws xob ntawm no:

www.floris.cc/shop/en/wearables/93-lilypad…

Peb tsim tus tuav tshwj xeeb rau lub hwj chim yog li koj tuaj yeem rub nws hauv qab tus tuav Arduino, nrog lub hwj huam khawm nkag tau los ntawm sab.

www.thingiverse.com/thing 27756848

Tom qab ntawd saum peb tsim ib daim dome kev cai los ua ke LEDs hauv ib txoj kev kom txhua tus yuav pom qhov sib txawv ntawm lub vijtsam, thiab koj tuaj yeem tswj tus kheej lub teeb ntawm txhua qhov ntawm lub thawv ntawv.

Download tau LED dome ntawm no:

www.thingiverse.com/thing 27756825

Tsis txhob sib sau ua ke kom txog thaum koj tau txuas nrog txhua yam khoom siv hluav taws xob.

Kauj Ruam 3: Push Button Interface

Laub khawm Interface
Laub khawm Interface

Siv rau khawm khawm, peb tuaj yeem tswj tus kheej teeb pom kev zoo ntawm LEDs.

Koj tuaj yeem rub peb cov kev cai tsim lub laub khawm tswj lub casing ntawm no:

Arduino tsis tuaj yeem tswj cov hluav taws xob siab ntawm cov pins input yog li tsis txhob hnov qab txuas 10kOhm pulldown resistor rau hauv av nruab nrab ntawm qhov hloov thiab tus pin nkag.

Kauj Ruam 4: Kev thaiv kab

Thaiv
Thaiv
Thaiv
Thaiv

Arduino muaj rau tus pin rau (pseudo) analog output siv Pulse Width Modulations, pins 3, 5, 6, 9, 10 thiab 11. Txuas cov no mus rau LEDs ua ke nrog 680 Ohm rub tawm qhov tiv thaiv kom tsis txhob ntws tam sim no txij li Arduino tuaj yeem tswj tau tsuas yog txog 40mA ib tus pinout. Siv lwm tus pin raws li cov lej nkag rau lub laub khawm.

Peb tab tom siv lub teeb ci ci siab LEDs xws li muaj nyob ntawm no:

Koj tseem yuav xav tau FTDI kev sib cais los yog Arduino Mini USB txhawm rau rub tawm software mus rau pawg thawj coj:

Rau rau FTDI Basic tso zis pins ntawm daim ntawv qhia sab luv tshaj ncaj qha rau rau rau Arduino bootloading pins ntawm sab luv. Qhov tseem ceeb tshaj plaws yog kom ntseeg tau Rx ntawm FTDI txuas nrog Tx ntawm Arduino thiab hloov pauv.

Kauj ruam 5: Software

Software
Software
Software
Software

Txhawm rau sau software los tswj lub teeb pom kev, koj yuav tsum teeb tsa Arduino IDE qhov chaw ib puag ncig:

Kuv tau sau ib qho piv txwv txoj haujlwm uas xub sau qhov ntsuas ntsuas los ntawm txhua lub LEDs, tom qab uas txhua lub pob yuav nce qib teeb pom kev zoo ntawm nws cov LED sib xws thiab ua rau nws qis dua tom qab mus txog qhov siab tshaj plaws. Saib cov ntawv txuas nrog.

Thaum tag nrho cov thaiv tau ua tiav thiab software ua haujlwm rau koj nyiam, thaum kawg koj tuaj yeem sib dhos lub casing siv peb M3 x 35mm ntsia hlau.

Kaw lub thawv ntoo, teeb tsa lub laub khawm tswj ntawm ib sab nrog daim kab xev ob tog thiab LED module nyob hauv qab ntawm sab hauv. Tam sim no koj lub thawv teeb tiav!

Pom zoo: