Cov txheej txheem:

MagicCube - Coj mus rhaub Hloov Xim: 6 Kauj Ruam (nrog Duab)
MagicCube - Coj mus rhaub Hloov Xim: 6 Kauj Ruam (nrog Duab)

Video: MagicCube - Coj mus rhaub Hloov Xim: 6 Kauj Ruam (nrog Duab)

Video: MagicCube - Coj mus rhaub Hloov Xim: 6 Kauj Ruam (nrog Duab)
Video: Yasmi - Txiv Nraug Ntsuag ft. JN Vang (Music Video) 2024, Kaum ib hlis
Anonim
Image
Image
MagicCube - Coj mus rhaub Hloov Xim
MagicCube - Coj mus rhaub Hloov Xim

Fusion 360 Cov Haujlwm »

Zoo siab txais tos rau kuv thawj qhov kev qhia. Kuv vam tias koj tuaj yeem ua raws txhua kauj ruam. Yog tias muaj lus nug, nug thiab kuv yuav ntxiv cov ntsiab lus rau qhov qhia tau.

Lub tswv yim ntawm txoj haujlwm no yog, txhawm rau txhim kho thiab tsim ib lub voos xwmfab me me uas muaj qhov tshwj xeeb ua khoom plig rau Christmas. Txhua tus neeg hauv kuv tsev neeg tau txais ib qho ntawm no thiab lawv zoo siab heev tau txais ib qho.

Kauj Ruam 1: Lub Tswv Yim thiab Cov Khoom

Lub Tswv Yim thiab Cov Khoom
Lub Tswv Yim thiab Cov Khoom

Lub tswv yim tau tshoov siab los ntawm lwm qhov haujlwm. Lub Cube nws tus kheej yuav tsum muaj qhov me me, tag nrho nws yog 39mm^3.

Kuv qhov chaw yog muaj qhov cuam tshuam los txhawm rau lub voos xwmfab. Feem ntau yog micro USB hnub no.

Ntxiv lub LIS3DH sensor los ntsuas lub kais dej (Kuv siv nws hauv lwm qhov haujlwm, yog li kuv paub nws).

Kuv xav kom muaj lub cev ON/OFF hloov.

Kuj txiav txim siab siv qee qhov WS2812b LEDs, lawv yooj yim siv thiab ua kom pom kev zoo.

Tam sim no muaj peev xwm tau txais tag nrho cov khoom siv lossis sib dhos pcb hla Tindie, yog tias koj tsis muaj txuj ci lossis

cov cuab yeej rau cov laug thiab luam tawm txoj haujlwm no.

Lub qhov taub luam tawm nrog PLA los ntawm das Filament

Cov tshuab luam ntawv yog Ender 2 thiab Ender 3 pro.

Cov npe ntawm Cov Khoom Siv yog ntev, vim tias kuv teev txhua tus tiv thaiv. Yuav luag txhua qhov yog SMD qhov chaw.

Cov cuab yeej koj xav tau:

  • cam khwb cia hlau
  • 3D tshuab luam ntawv
  • khoos phis tawj nrog Arduino IDE
  • USBTinyISP (Qhov no lossis qhov no tau sim)
  • Kua nplaum
  • Phom Cua Kub lossis lub qhov cub me me rov qab
  • solder muab tshuaj txhuam

Cov Nqi Khoom:

  • 1x PCB PCBway lossis sib dhos PCB
  • 1x ATmega328P-AU Digikey
  • 16 MHz siv lead ua Digikey
  • 1x LIS3DH Digikey
  • 3x WS2812b Digikey
  • 2x LED ntsuab (0603) Digikey
  • 1x LED txiv kab ntxwv (0603) Digikey
  • 1x Roj teeb nrog molex picoblade txuas (503035 lossis 303035 lossis 603030)
  • 1x TP5400 Aliexpress
  • 1x TLV70233 Digikey
  • 1x Micro USB Port Digikey
  • 1x swb hloov Digikey
  • 1x molex 2p txuas Digikey
  • 1x Polyfuse 350mA Digikey
  • 1x 4, 7uH inductor (3015) Digikey
  • 1x SS32 diode Digikey
  • 2x BSS138 transistor Digikey
  • 7 x 10k Ohm resistor (0603)
  • 4x 1 uF cap (0603)
  • 7x 100 nF cap (0603)
  • 4x 22 uF cap (0805)
  • 2x 10uF cap (0805)
  • 1x 4, 7uF Tantalcap (3216A)
  • 1 x 330 Ohm resistor (0603)
  • 1 x 500k Ohm resistor (0603)
  • 3 x 5k Ohm resistor (0603)

Thaum koj txiav txim siab siv lub program adapter, tom qab ntawd koj xav tau pogo-pins ib yam.

Ib yam zoo li no: Pogo Pins

Txoj kab uas hla yuav tsum yog 2 hli thiab ntev 3 hli. Tom qab ntawd lawv haum rau sab hauv lub qhov thiab txuas rau PCB zoo kawg nkaus.

Kauj Ruam 2: 3D Luam Ntawv Case

3D Luam Case
3D Luam Case
3D Luam Case
3D Luam Case
3D Luam Case
3D Luam Case

Cov ntaub ntawv tau tsim hauv Autodesk Fusion360. Kuv tau ua txhua qib hauv qhov ntawd, lub tsev nyob, tus qauv tsim rau cov pogo pins thiab tseem yog cov qauv yooj yim ntawm PCB!

Muaj kev xa tawm zoo thiab kev koom tes ua haujlwm hauv Fusion360 thiab Eagle, yog li koj tuaj yeem rub thiab thawb koj qhov kev hloov pauv ntawm PCB los ntawm ib txoj haujlwm mus rau lwm qhov.

Pom tawm, qhov no ua haujlwm li cas los ntawm kev saib cov vis dis aus hauv youtube:

Fusion360 PCB Zoo

Kuv xaiv kuv cov chaw teeb tsa kom muaj tsawg los ua thaum rooj plaub raug luam tawm. Txhua yam tau tsim los kom tsis muaj kev txhawb nqa ntau thiab luam tau zoo. Tsuas yog lub zog hloov pauv xav tau qee qhov kev txhawb nqa, tab sis nws yog qhov me me tiag tiag. Nws yog qhov zoo dua los luam nws nrog Brim.

  • Txheej 0.15
  • Thickness ntawm phab ntsa 2
  • Ua kom tiav 20%

Kauj Ruam 3: PCB-Layout

PCB-Txheej txheem
PCB-Txheej txheem

PCB Layout tsis muaj qhov nyuaj nyuaj. Txhua kauj ruam uas ua nrog Autodesk Eagle.

Muaj qee qhov qauv yooj yim raws li:

  • ATmega328P raws li Arduino Nano
  • Ob lub BSS138 transistors rau qib hloov pauv
  • Peb WS2812b LEDs
  • Kev Tswj Roj Teeb thiab lub zog hluav taws xob
  • lub accelerometer
  • muaj peev xwm ua kom siv tau 3x1 tus pinhead ntawm pawg thawj coj saib rau kev txuas

Kauj ruam 4: Soldering

Soldering
Soldering
Soldering
Soldering
Soldering
Soldering
Soldering
Soldering

Thaum koj tab tom ua qhov no nrog lub qhov cub ci rov qab, nws yooj yim dua los ua stencil lossis yuav nws. Txwv tsis pub koj yuav siv sijhawm ntau heev los tso cov kab laug sab tso rau ntawm cov ntaub qhwv. Nws raug nquahu kom siv lub qhov cub ci rov qab.

Thov siv cov tshuaj ntsuas kub tsis zoo, vim tias LEDs tuaj yeem ua rau puas tsuaj nrog kub. Nov yog cov lus qhia nyuaj rau kuv thiab rov muag dua ntawm cov LEDs no tsis lom zem heev.

Yuav ua li cas thiaj li siv cov tshuaj txhuam txhuam tso rau ntawm pcbs?

Kuj tseem nyob ntawm no yog cov vis dis aus muaj txiaj ntsig los ntawm youtube: Yuav thov li cas thiaj muab tshuaj txhuam txhuam txhuam

Tom qab siv cov tshuaj txhuam hniav koj yuav tsum muab cov khoom tso rau ntawm qhov chaw raug. Kuv pom tias nws yooj yim dua rau tso cov khoom los ntawm kev teeb tsa nrog cov lej ib feem. Yog li kuv tau ua PCB nrog qhov tseem ceeb ntawm cov ntu thiab koj tuaj yeem rub nws. Thaum ib feem tsis meej thov qhia rau kuv tam sim no.

LED7 = ntsuab

LED3 = ntsuab

LED4 = txiv kab ntxwv

Thaum tso ICs saib xyuas cov ntawv cim! Txoj kev siv tsis raug yuav ua rau koj lub rooj tsavxwm thiab cov khoom puas tsuaj!

U3 = LIS3DH

U4 = TLV70233

IC2 = TP5400

Tom qab siv lub qhov cub ci rov qab, koj yuav tsum tau muab 4 lub ntsiab lus tso rau ntawm qhov chaw nres nkoj micro USB, txwv tsis pub nws yuav tawg thiab tuaj yeem ua rau koj puas tsuaj ntawm PCB.

Kauj Ruam 5: Programming Koj Pawg Thawj Coj

Programming Koj Pawg Thawj Coj
Programming Koj Pawg Thawj Coj
Programming Koj Pawg Thawj Coj
Programming Koj Pawg Thawj Coj
Programming Koj Pawg Thawj Coj
Programming Koj Pawg Thawj Coj

Rau cov kauj ruam no koj xav tau:

  • USBTinyISP
  • Cov hlau thiab cov hlau txuas
  • Pogo Pins (yeem)
  • 3D Luam adapter rau lub cajmeem (yeem)
  • Arduino IDE Cov

Txhawm rau Programm Atmega ntawm lub pcb, koj xav tau USBTinyISP Programmer. Nws tsuas yog ua tau rau program micro tswj nrog ISP Interface. Tsis muaj USB rau hloov pauv hauv lub pcb, yog li kev ua haujlwm nrog lub micro USB chaw nres nkoj tsis tuaj yeem ua tau.

Hauv qab hauv qab ntawm pcb koj tuaj yeem pom cov ntawv xeem nrog cov cim sib txawv rau ISP Interface. Muaj ob txoj kev xaiv tam sim no, siv cov xov hlau txuas rau cov ntaub qhwv no lossis siv pogo-pins txuas rau lawv.

Hauv kuv qhov xwm txheej kuv siv qee tus pogo pins vim tias kuv tsim ntau dua ib qho. Tus adapter koj tuaj yeem pom hauv ua.stl cov ntawv luam tawm thiab tau txais txoj haujlwm raug rau pogo pins.

Tom qab txuas tus programmer ntawm ISP interface rau pcb koj tuaj yeem pib Arduino IDE.

NCO TSEG: Tus Microcontroller yuav tsis tshwm raws li qhov chaw nres nkoj hauv Arduino IDE

Hloov kho qhov teeb tsa ntawm koj lub rooj tsav xwm hauv qab cov cuab yeej:

  • Xaiv "Arduino Nano" ua koj pawg Arduino
  • Tsis txhob xaiv ib qho chaw nres nkoj!
  • Hloov cov programmer rau "USBtinyISP"

Ua tib zoo saib cov duab.

Tam sim no koj tau npaj rau program ATmega!

  1. Hlawv Bootloader
  2. Programming

Ua ntej koj yuav tsum hlawv lub bootloader. Cov kauj ruam no yuav hlawv fuses thiab cia lub micro tswj kom nco qab tias nws yog leej twg. Txog qhov no xaiv hauv Arduino IDE hauv qab "cuab yeej" -> "Hlawv Bootloader".

Thaum qhov no, LED7 ntawm PCB yuav tsum qhia tus cwj pwm ntsais muag. Tom qab ua tiav kev kub nyhiab, LED ntsais ntsais nrog qhov ua haujlwm tas li. Nrog koj zoo siab, koj lub rooj tsavxwm tau npaj txhij.

Kauj Ruam 6: Sib dhos thiab Ua Haujlwm

Sib dhos thiab Ua Haujlwm
Sib dhos thiab Ua Haujlwm
Sib dhos thiab Ua Haujlwm
Sib dhos thiab Ua Haujlwm
Sib dhos thiab Ua Haujlwm
Sib dhos thiab Ua Haujlwm

Sib dhos

Thaum txhua qhov luam tawm thiab lub pcb tau ua haujlwm tiav, koj tuaj yeem sib sau ua lub Cube. Rau cov kauj ruam no koj xav tau cov kua nplaum. Vim yog qhov me me nws tau sim ua kom haum nrog cov pob qij txha, tab sis kuv tsis muaj sijhawm txaus kom txog thaum Christmas. Qhov kev txiav txim siab los lo nws ua ke yog qhov zoo ib yam.

Rau kev sib sau ua ke, thov saib cov duab. Lawv tab tom qhia txhua kauj ruam ib yam nkaus.

1.) Txuas lub roj teeb nrog PCB, qee zaum nws yooj yim dua los tso lub roj teeb ua ntej rau hauv paus.

2.) Ntxig PCB rau hauv lub hauv paus. PCB haum hauv ib txoj haujlwm nkaus xwb, yog li tsis muaj peev xwm muab nws tso rau hauv qhov tsis raug. Koj tuaj yeem kho PCB nrog qee cov kua nplaum kub, dua li lub ntsuas cua ua haujlwm tau zoo dua, ua rau tsis muaj qhov cuam tshuam ntawm PCB.

3.) Muab tso rau hauv qhov chaw swb. Txhawm rau txheeb xyuas seb qhov hloov pauv tau teeb tsa kom raug koj tuaj yeem hloov nws rau thiab tawm.

4.) Siv qee cov kua nplaum rau ntawm ntug ntawm lub hauv paus, uas yuav sab hauv ntawm lub voos xwmfab. Saib xyuas kom tsis txhob lo kua nplaum. Koj tsis xav tau kua nplaum ntau.

5.) Txuas lub hauv paus thiab Lightcube ua ke thiab thaum cov kua nplaum qhuav, muab qee yam hnyav rau nws.

6.) Thaum cov kua nplaum qhuav, them lub roj teeb thiab txaus siab rau:)

Kev ua haujlwm

Thaum cov kua nplaum qhuav thiab koj tuaj yeem siv koj lub Cube, ntawm no yog cov haujlwm yooj yim:

  • Them Nyiaj - Txiv kab ntxwv LED thaum them nyiaj
  • Them Nyiaj - Ntsuab LED thaum them tas lawm
  • Xaub hloov kom tig MagicCube qhib/tua
  • Coj mus rhaub ib zaug kom hloov xim
  • Coj mus rhaub ob zaug kom hloov LEDs tawm
  • Koj tuaj yeem coj mus rhaub ntawm lub rooj lossis rooj uas MagicCube sawv ntawm
  • Muaj kev lom zem
Ua nws Glow Contest 2018
Ua nws Glow Contest 2018
Ua nws Glow Contest 2018
Ua nws Glow Contest 2018

Khiav Tawm hauv Kev Ua Nws Glow Contest 2018

Pom zoo: