Cov txheej txheem:

Embedded LED 3D Luam Christmas Ntoo: 10 Cov Kauj Ruam (nrog Duab)
Embedded LED 3D Luam Christmas Ntoo: 10 Cov Kauj Ruam (nrog Duab)

Video: Embedded LED 3D Luam Christmas Ntoo: 10 Cov Kauj Ruam (nrog Duab)

Video: Embedded LED 3D Luam Christmas Ntoo: 10 Cov Kauj Ruam (nrog Duab)
Video: She Completely Called Me Out 😂 2024, Hlis ntuj nqeg
Anonim
Image
Image
Embedded LED 3D Luam Christmas Ntoo
Embedded LED 3D Luam Christmas Ntoo

Los ntawm maketvee@maketveeFollow Ntau los ntawm tus sau:

Neopixel LED Vase
Neopixel LED Vase
Neopixel LED Vase
Neopixel LED Vase
Ntoo LED Gaming Zaub Powered los ntawm Raspberry Pi Zero
Ntoo LED Gaming Zaub Powered los ntawm Raspberry Pi Zero
Ntoo LED Gaming Zaub Powered los ntawm Raspberry Pi Zero
Ntoo LED Gaming Zaub Powered los ntawm Raspberry Pi Zero
LED Matrix Lub Tog Raj Kheej
LED Matrix Lub Tog Raj Kheej
LED Matrix Lub Tog Raj Kheej
LED Matrix Lub Tog Raj Kheej

Txog: Tus kws tsim tsev kawm ntawv qub ua txhua yam phiaj xwm hluav taws xob. Kuv nyiam ua si ib puag ncig nrog LEDs ntxim nyiam. Raspberry Pi tus neeg sau;-) Ntau Ntxiv txog maketvee »Fusion 360 Cov Haujlwm»

Qhov no yog 3D-luam tawm Christmas tsob ntoo nrog kos duab LEDs sab hauv. Yog li nws muaj peev xwm los teeb tsa cov LEDs rau cov teeb pom kev zoo thiab siv cov qauv 3D luam tawm ua lub teeb ci.

Tsob ntoo tau sib cais hauv 4 theem thiab lub hauv paus (tsob ntoo ntoo) kom yooj yim rau sib dhos thiab teeb tsa cov LEDs thaum luam tawm. Yog li tag nrho 5 lub ntsiab lus yuav tsum tau luam tawm.

LEDs yog ib feem ntawm cov ntawv luam, lawv tsis tuaj yeem tshem tawm tom qab. Thov xyuas kom txhua yam ua haujlwm tau zoo ua ntej muab lawv tso rau hauv cov ntawv luam.

Cov ntaub ntawv 3D tau tsim hauv Fusion360 thiab muaj nyob ntawm prusaprinters.org

Khoom siv

  • Pob tshab thiab ntsuab filament (Hauv qhov no PLA filament tau siv)
  • Teensy M0 lossis lwm pawg Arduino me me (Trinket M0)
  • Tib Cell LiPo, piv txwv li 18560 los ntawm Adafruit (roj teeb)
  • ON/OFF Hloov nrog 17.5 hli qhov nrug
  • 25 WS2812B LEDs
  • Coated tooj liab hlau lossis lwm cov xov hlau nyias
  • Cov ntaub ntawv ntawm

Kauj Ruam 1: Siv cov LEDs

Soldering cov LEDs
Soldering cov LEDs
Soldering cov LEDs
Soldering cov LEDs
Soldering cov LEDs
Soldering cov LEDs
Soldering cov LEDs
Soldering cov LEDs

Ua ntej tso cov LEDs hauv 3D luam tawm, lawv yuav tsum txuas nrog ib leeg rau txhua theem sib cais. Siv 3D luam stencil (stencil.stl file) ua kom yooj yim dua kom phim cov xov hlau raug rau theem 1-3. LEDs tau txuas nrog zoo li tau qhia hauv qhov txheej txheem, NTUJ ntawm txhua lub LED txuas nrog DI ntawm qhov txuas ntxiv. Thaum kawg, thawj DI thiab DOUT kawg yog txuas mus rau qhov chaw rau txuas lawv nrog lwm theem tom qab.

Kauj Ruam 2: Lub Tswv Yim ntawm Kev Txhim Kho Cov LEDs

Lub tswv yim ntawm Embedding LEDs
Lub tswv yim ntawm Embedding LEDs
Lub tswv yim ntawm Embedding LEDs
Lub tswv yim ntawm Embedding LEDs
Lub tswv yim ntawm Embedding LEDs
Lub tswv yim ntawm Embedding LEDs

Muaj ib lub tshuab nyem los tuav cov LEDs hauv qhov chaw. Tsis tas li ntawd muaj qhov me me hla ntawm cov ces kaum ntawm cov xov thaiv kom tiv thaiv cov xov hlau tsis txhob tawm ntawm cov channel thaum luam ntawv. Cov xov hlau, uas yog cov hlau lead tawm ntawm cov ntawv luam tawm, tau tsau rau hauv cov qauv zuag kom lawv nyob hauv qhov chaw. Yog li ntawv txoj kab uas hla rau cov xov hlau no yuav tsum nyob ib ncig 1 hli.

Kauj Ruam 3: Npaj Luam Cov Ntawv

Npaj Luam Ntawv
Npaj Luam Ntawv

Cov ntaub ntawv 3D tau muab ua.3mf cov ntaub ntawv, suav nrog cov xim hloov pauv los ntawm pob tshab mus rau ntsuab. Txawm li cas los xij, vim tias txhua lub ntsiab lus sib txawv me ntsis. Thov txheeb xyuas qhov nqes ntawm koj cov ntaub ntawv thiab ua cov ntawv luam tawm (piv txwv li thawj 5 hli) txhawm rau hloov kho qhov ntsuas yog tias xav tau kom cov LEDs haum rau hauv cov txheej txheem nyem.

Kauj Ruam 4: Pib Luam Ntawv

Txhua qhov luam tawm pib nrog cov ntsiab lus pob tshab. Cov theem 1-3 muaj 1 qhov hloov xim, Theem 4 muaj ob qho.

Kauj Ruam 5: Khaws cov LEDs

Embed cov LEDs
Embed cov LEDs
Embed cov LEDs
Embed cov LEDs
Embed cov LEDs
Embed cov LEDs
Embed cov LEDs
Embed cov LEDs

PrusaSlicer tau siv los ntxiv cov xim hloov pauv ntawm 5 hli txhawm rau teeb tsa LEDs, hloov mus rau cov xim ntsuab thiab txuas ntxiv luam ntawv. Nws yog ib qho tseem ceeb heev kom ntseeg tau tias LEDs tau teeb tsa kom raug yog li tsis muaj dab tsi sib tshooj 5mm uas yuav ua rau muaj teeb meem rau qib luam ntawv tom ntej. Nws yog qhov muaj txiaj ntsig zoo los kho cov xov hlau nyob hauv nruab nrab nrog qee daim kab xev. Thov txheeb xyuas cov vis dis aus saum toj no, cov txheej txheem tau qhia ntau zaus, tseem rau lub topper LED. Qhov ntev hauv nruab nrab cov kab hluav taws xob yog qhov yooj yim dua tom qab sib dhos. Tab sis qhov chaw raug txwv vim yog 5mm qhov siab txwv.

Kauj Ruam 6: Xeem Nws

Kuaj Nws!
Kuaj Nws!
Kuaj Nws!
Kuaj Nws!

Tsuas yog sim nws los ntawm kev txuas V+, GND thiab DIN thiab siv piv txwv li ib pawg Arduino thiab cov piv txwv Neopixel yooj yim.

Kauj Ruam 7: Txuas Tus Kheej

Txuas Cov Theem
Txuas Cov Theem
Txuas Cov Theem
Txuas Cov Theem
Txuas Cov Theem
Txuas Cov Theem

Cov theem tau txuas nrog raws li daim duab qhia kab. V+ thiab GND txuas nrog los ntawm theem mus rau theem. Thov kuj txheeb xyuas cov vis dis aus saum toj no, muaj ntu ntu-sijhawm los ntawm cov txheej txheem sib dhos tag nrho.

Kauj Ruam 8: Npaj Cov Khoom Siv Hluav Taws Xob thiab Roj Teeb

Npaj Cov Khoom Siv Hluav Taws Xob thiab Roj Teeb
Npaj Cov Khoom Siv Hluav Taws Xob thiab Roj Teeb

Muaj ntau txoj hauv kev los ua kom lub zog LEDs. Feem ntau lawv tau ntsuas rau 5V, tab sis lawv kuj tseem ua haujlwm nrog 3, 7 roj teeb hluav taws xob thiab 3.3V cov laj thawj, yog tias koj siv tsuas yog qee qhov ntawm lawv. Trinket M0 los ntawm Adafruit tuaj yeem ncaj qha los ntawm ib lub xov tooj ntawm tes Li-Ion roj teeb. V+ ntawm LEDs txuas nrog Bat tus pin, GND rau GND thiab DIN ntawm LEDS mus rau Pin 4 ntawm Trinket. Txhawm rau zam qhov teeb meem nrog LEDs, thov ntxiv 330 Ohm resistor nruab nrab ntawm Pin 4 thiab thawj LED thiab tseem muaj lub zog loj dua (ib puag ncig 1000uF) ntawm V+ thiab GND zoo li tau hais hauv Adafruit Neopixel cov lus qhia zoo tshaj plaws.

Kauj Ruam 9: Rooj Sib Tham Kawg

Los Ua Ke Kawg
Los Ua Ke Kawg
Los Ua Ke Kawg
Los Ua Ke Kawg

Nruab nrab ntawm lub roj teeb ntxiv-tus pin thiab Trinket Bat tus pin, ON/OFF-Switch tau tso. Qhov hloov pauv tuaj yeem ntswj rau lub hauv paus thiab lub trinket kuj tseem tso rau hauv lub hauv paus. Roj teeb haum rau hauv tsob ntoo yog tias nws qhov dav me dua 30mm. Thov kuj saib daim vis dis aus.

Kauj ruam 10: Code

Code
Code
Code
Code
Code
Code

Muaj ntau txoj kev xaiv rau kev teeb tsa lub LEDs, tsuas yog siv Arduino IDE thiab Neopixel lub tsev qiv ntawv lossis yog CircuitPython tau txais kev txhawb nqa tsuas yog siv qhov no zoo li hauv qhov ua qauv qhia no. Txoj cai yog qhov piv txwv hloov pauv me ntsis los ntawm Adafruit CircuitPython Neopixel piv txwv muab rau hauv lawv lub vev xaib. Tsuas yog hloov qhov teeb tsa rau:

pixel_pin = board. D4

num_pixels = 25

Zoo siab!

Kev Sib Tham Hauv Tsev Kho Kom Zoo Nkauj
Kev Sib Tham Hauv Tsev Kho Kom Zoo Nkauj
Kev Sib Tham Hauv Tsev Kho Kom Zoo Nkauj
Kev Sib Tham Hauv Tsev Kho Kom Zoo Nkauj

Runner Up hauv Kev Sib Tham Hauv Tsev Kho Kom Zoo Nkauj

Pom zoo: