Cov txheej txheem:

LED Mason Jar Snow Globe: 4 Kauj Ruam
LED Mason Jar Snow Globe: 4 Kauj Ruam

Video: LED Mason Jar Snow Globe: 4 Kauj Ruam

Video: LED Mason Jar Snow Globe: 4 Kauj Ruam
Video: How To Make A Photo Snow Globe 2024, Hlis ntuj nqeg
Anonim
Image
Image

Peb yog tsev neeg tsim khoom, yog li thaum peb tus kws tsim khoom me tshaj plaws tau hais tias "Kuv xav ua lub ntiaj teb daus los ntawm lub lauj kaub mason," muaj lus teb zoo ntawm "Mus rau nws!" Thaum nws tsim tus qauv peb pom nws lub zeem muag thiab hnov nws xav ua lub tswv yim ntxiv los ntawm kev siv LEDs los hu rau Aurora Borealis xim txheej txheem. Yog li tau yug los DIY DIY MASON JAR SNOW GLOBE NROG 3D PRINTED BASE - lub npe ntev rau txoj haujlwm zoo.

Mus saib peb hauv YouTube ntawm

Khoom siv

1) Hauv paus - Peb siv PLA 3D Printing Filament, tab sis koj tuaj yeem siv ntoo.

2) Mason Jar - Peb tau xaiv los siv 16oz Thawv Thauj Tog Rau Nkoj vim nws muaj ib sab du.

3) Silicone - GE 2 meej yog qhov peb siv thiab nws ua haujlwm tau zoo.

4) Neopixel Teeb - Ib qho ntawm cov no tuaj yeem ua haujlwm:

www.adafruit.com/product/1376?length=1

www.amazon.com/ALITOVE-WS2812B-Individuall…

5) Adafruit Gemma - Peb siv Gemma V2, txawm li cas los xij tsuas yog vim peb muaj nws lawm … Yog tias peb tab tom yuav ib qho tshiab, peb yuav tau txais Gemma M0

6) Glitter

7) Dej: Yog tias koj xav tau qhov txuas rau dej, txiav txim siab yuav peb qhov xwm txheej ntawm no:

8) Cov pluaj me me daus lossis lwm yam duab

9) Cov roj teeb me me nrog JST txuas:

10) Dye: Peb siv Wilton's Gel Food Colours, tab sis koj tuaj yeem siv yuav luag txhua daim ntawv zas xim …

Kauj Ruam 1: Kauj Ruam A: Mason Jar Tsim

  1. Tau ib lub hub mason nrog hau.
  2. Tau txais qee lub pob zeb lossis lwm yam khoom siv los tsim lub hauv paus rau koj daim duab. Ua kom ntseeg tau tias cov khoom siv hauv paus haum rau hauv qhov txwv ntawm lub mason thawv lub hau ntxig thiab tsis txuas mus rau ib feem ntawm qhov ntxig uas yuav siv los ua lub foob nrog iav.
  3. Siv cov silicone ua raws cov khoom siv hauv paus (pob zeb) rau lub hau. Qhov siab ntawm lub hauv paus no nyob ntawm qhov loj ntawm koj daim duab, tab sis koj yuav zaum xav kom koj cov duab puab nyob saum qhov kev hloov pauv rau lub iav ntsia hlau zawj.
  4. Siv silicone txhawm rau ua raws koj cov duab rau cov khoom siv hauv paus.
  5. Cia nws qhuav li ob peb teev (lossis hmo ntuj).
  6. Ntxiv cov xim, dej, thiab ci ci rau lub lauj kaub tais diav.
  7. Muab lub hau kaw thiab kaw kom nruj heev.
  8. Txheeb xyuas qhov xau.
  9. Yog tias xav tau, txiav txim siab hloov lub hau, lossis kaw lub hau, txhawm rau kaw qhov xau

Kauj Ruam 2: Kauj Ruam 2: Tsim Lub Hauv Paus

Peb tsim peb lub hauv paus hauv Fusion 360 thiab nws ua haujlwm zoo kawg nkaus. Peb siv cov kab hauv nruab nrab txoj kab uas hla uas tau dhau los ua ob lub tog raj kheej thiab lub tog raj kheej kom tsim lub hauv paus. Peb paub peb tab tom yuav ntxiv LEDs, yog li peb tsim nrog lawv cov tuab hauv siab, ntxiv rau ntawm Gemma thiab roj teeb.

Peb lub hauv paus tau luam tawm los ntawm PLA filament ntawm peb Ender 3 Pro lub tshuab luam ntawv. Peb feem ntau nyiam Hatchbox filament, txawm li cas los xij peb siv Robo3D filament vim tias peb muaj nws thiab nws yog xim uas xav tau.

Peb npaj siab los tsim cov hauv paus qub no dua, tab sis tawm ntawm qee cov ntoo ntoo zoo nkauj uas peb muaj.

Nov yog STL ntawm peb qhov kev tsim:

Kauj Ruam 3: Kauj Ruam D: Siv Lub Teeb thiab Ua Haujlwm GEMMA

  1. Npaj qhov kawg ntawm koj cov hlua LED los ntawm tinning qhov kawg (thov siv cov laug rau cov hlau liab qab)
  2. Solder qhov zoo + (feem ntau yog Liab) los ntawm LED Sawb rau VOUT ntawm GEMMA
  3. Solder qhov tsis zoo - (feem ntau yog Dub) los ntawm LED Sawb rau GND ntawm GEMMA
  4. Solder cov ntaub ntawv xov hlau, hauv peb qhov no yog ntsuab thiab yog lub xov tooj cua nruab nrab, rau D1 ncoo ntawm GEMMA
  5. Txuas GEMMA rau koj lub khoos phis tawj thiab siv nws siv Arduino program pom ntawm Arduino.cc

Cov cai peb siv yog ib daim qauv ntawm Neopixel Strand Test tsim los ntawm Adafruit. Yog tias koj tsis paub yuav siv GEMMA lossis LED Strips li cas, txheeb xyuas Adafruit's uberguides.

learn.adafruit.com/adafruit-gemma-m0/overv…

learn.adafruit.com/adafruit-neopixel-uberg…

#include #define PIN 1 Adafruit_NeoPixel strip = Adafruit_NeoPixel (7, PIN, NEO_GRB + NEO_KHZ800);

teeb tsa tsis muaj dabtsis () {strip.begin (); strip.setBrightness (50); strip.show (); // Pib tag nrho cov pixels rau 'tawm'}

void voj () {

zaj sawv (20);

}

tsis muaj zaj sawv (uint8_t tos) {uint16_t kuv, j;

rau (j = 0; j <256; j ++) {rau (i = 0; i

// Sau tus nqi 0 txog 255 kom tau txais tus nqi xim. // Cov xim yog qhov hloov pauv r - g - b - rov qab rau r. uint32_t Log (byte WheelPos) {WheelPos = 255 - WheelPos; yog (WheelPos <85) {rov qab strip. Color (255 - WheelPos * 3, 0, WheelPos * 3); } yog (WheelPos <170) {WheelPos -= 85; rov qab strip. Color (0, WheelPos * 3, 255 - WheelPos * 3); } WheelPos -= 170; rov qab strip. Color (WheelPos * 3, 255 - WheelPos * 3, 0); }

Kauj Ruam 4: Kauj Ruam 5: Rooj Sib Tham Kawg

Tam sim no txhua yam koj yuav tsum tau ua yog silicone cov LEDs rau sab hauv phab ntsa ntawm lub hauv paus thiab txuas lub roj teeb rau Gemma. Tom qab ntawd tua koj lub teeb thiab txaus siab rau lub teeb ci ci.

Pom zoo: