Cov txheej txheem:

Ntxiv Bluetooth rau Creality Ender 2 3D Tshuab Luam Ntawv: 3 Kauj Ruam
Ntxiv Bluetooth rau Creality Ender 2 3D Tshuab Luam Ntawv: 3 Kauj Ruam

Video: Ntxiv Bluetooth rau Creality Ender 2 3D Tshuab Luam Ntawv: 3 Kauj Ruam

Video: Ntxiv Bluetooth rau Creality Ender 2 3D Tshuab Luam Ntawv: 3 Kauj Ruam
Video: 5 Daily Must-Have Habits for Immune System Health Webinar 2024, Kaum ib hlis
Anonim
Image
Image
Ntxiv Bluetooth rau Creality Ender 2 3D Tshuab Luam Ntawv
Ntxiv Bluetooth rau Creality Ender 2 3D Tshuab Luam Ntawv
Ntxiv Bluetooth rau Creality Ender 2 3D Tshuab Luam Ntawv
Ntxiv Bluetooth rau Creality Ender 2 3D Tshuab Luam Ntawv

Kuv tau siv kuv li Ender-2 rau yuav luag ob xyoos thiab kuv yuav tsum tau hais tias kuv muaj kev hlub-ntxub kev sib raug zoo nrog nws. Muaj ntau yam uas tuaj yeem txhim kho, tab sis tag nrho, kuv xav tias nws yog lub tshuab luam ntawv 3D zoo.

Ib qho ntawm qhov tsis txaus ntseeg tshaj plaws nws tsis muaj Wifi/Bluetooth kev sib txuas lus, uas hauv kuv lub tswv yim xyoo 2020 yuav tsum yog qhov yuav tsum tau ua ntawm txhua lub tshuab luam ntawv 3D.

Kuv tau hla tus yees duab youtube los ntawm Chris Riley, uas qhia yuav ua li cas ntxiv Bluetooth ntawm RAMPS board, yog li kuv txiav txim siab muab nws sim.

Kuv twb muaj HC-06 Bluetooth board dag nyob ib puag ncig, tab sis kev teeb tsa ntawm cov khoom lag luam ntawm Ender-2 yog qhov tsawg heev: txawm hais tias nws siv ATMEGA1284p, uas muaj ob UART, tsis muaj nws UART cov chaw nres nkoj nkag tau ntawm niam ntawv. ntawm cov pawm los yog cov khoom sib txuas.

Tib txoj hauv kev nkag mus rau cov RX0 thiab TX0 tus pin (feem pin9 thiab pin10) yog txhawm rau ncaj qha rau MCU nti.

Raws li kuv xav kom tshem ntawm USB cable ntawm txhua tus nqi, Kuv txiav txim siab pheej hmoo txhua yam thiab kuv tau ua nws (cov ntsiab lus ntxiv hauv cov duab).

Ua rau kuv xav tsis thoob, qhov no ua haujlwm tau zoo heev! Kuv tau luam tawm ntawm Bluetooth tau 3 lub lis piam thiab kuv tseem tsis tau luam tawm vim qhov kev txuas tsis tau.

Khoom siv

- Thawj Creality Ender2 nrog Marlin firmware tau teeb tsa yav dhau los (tsis paub meej tias nws yuav ua haujlwm nrog cov khoom lag luam ib yam nkaus)

- FTDI USB rau hloov pauv hloov lossis Arduino Uno;

- Bluetooth pawg thawj coj sib tham (HC-06 lossis zoo sib xws);

- Multimeter;

- Soldering hlau;

- Tin thiab flux;

- Lub tsom iav los yog tsom iav;

- Poj niam Dupont txuas;

- nyias gauge tooj liab hlau;

- 1K resistor;

- 680 Ohm resistor;

Kauj ruam 1: Teeb tsa Bluetooth Module

Teeb tsa Bluetooth Module
Teeb tsa Bluetooth Module

- Txuas HC-06 tus qauv rau USB rau hloov pauv hloov pauv (FTDI) lossis Arduino siv poj niam rau poj niam dhia;

- Tsuas yog cov pins hauv qab no yuav tsum txuas nrog VCC> VCC GND> GND TX> RX RX> TX;

- RX tus pin ntawm HC-06 txhawb 3.3V cov laj thawj, yog li, xyuas kom tseeb tias koj lub rooj tsav xwm FTDI nws tuaj yeem hloov mus rau 3.3V txwv tsis pub, koj yuav ua rau lub module puas tsuaj. Yog tias tsis yog qhov xwm txheej, txuas lub resistor faib kom poob 5V los ntawm TX tus pin ntawm cov hloov pauv mus rau 3.3V (Siv 680Ohm thiab 1K resistor ua haujlwm rau kuv);

- Txuas nws mus rau hauv USB chaw nres nkoj ntawm koj lub PC thiab qhib Arduino IDE cov ntawv xov xwm raws li peb xav tau hloov BAUD tus nqi rau 115200k, tus password thiab npe

- AT Commands (Tsis muaj qhov chaw nruab nrab ntawm lub npe thiab hais kom ua)

- AT: txheeb xyuas qhov kev sib txuas (yuav tsum tau txais OK raws li cov lus teb)

- AT+NPE: Hloov lub npe

- AT+BAUD8 hloov pauv los ntawm 9600 (default baud rate to 115200)

- AT+PIN: hloov tus pin, 1234 yog tus lej txuas ua ntej

Kauj Ruam 2: Soldering rau MCU

Soldering rau MCU
Soldering rau MCU
Soldering rau MCU
Soldering rau MCU
Soldering rau MCU
Soldering rau MCU
Soldering rau MCU
Soldering rau MCU

- Raws li nws yog qhov pheej hmoo ua qhov kev hloov pauv no, ua nws ntawm koj tus kheej txoj kev pheej hmoo.

- Peb yuav tsum tau muab peb cov laug txuas rau TX (hlau ntsuab) thiab RX (lub teeb xiav xaim) ntawm HC-06 feem rau pin9 (RXD0) thiab pin10 (TXD0) ntawm ATMEGA1284p nti.

- Kuv pom yooj yim dua los txhawm rau xaim ntsuab los yog FTDI nti (txhawm rau txo qis kev pheej hmoo ntawm luv TX RX ua ke);

- Peb xav tau tus tiv thaiv kab mob sib kis kom txo 5V ntawm Atmega TX tus pin, mus rau 3.3V txhawb los ntawm RX tus pin ntawm HC-06 (Kuv tau siv 680 Ohm thiab 1K resistor zoo li hauv daim duab kab hluav taws xob).

- Koj tuaj yeem tau txais 5V thiab GND los ntawm cov phiaj xwm phiaj ntawm lub motherboard.

- Kuv tau siv cov xaim tooj liab uas xaim tshaj plaws uas kuv muaj thiab muaj ntws ntau txawm tias qhov zoo tshaj yuav yog siv hlau nplaum hlau;

- Nws pab kom ruaj ntseg xaim siv qee daim kab xev mus rau ntawm lub nti thaum siv qhov muag.

- Ib txwm tshuaj xyuas cov choj ua ntej txuas lub zog.

- Kuv tau ntxiv qhov hloov mus rau 5V tus pin yog li kuv tuaj yeem tso lub Bluetooth module tawm, yog tias tsis xav tau.

Kauj Ruam 3: Pairing Module Nrog Koj Lub PC thiab Luam

Pairing Module Nrog Koj Lub PC thiab Luam
Pairing Module Nrog Koj Lub PC thiab Luam
Pairing Module Nrog Koj Lub PC thiab Luam
Pairing Module Nrog Koj Lub PC thiab Luam

- Hwj chim rau lub tshuab luam ntawv 3D (koj yuav tsum pom ntsais muag liab LED yog BT module qhib, yog lub cim zoo).

- Tsuas yog ntxiv cov cuab yeej Bluetooth tshiab los ntawm Windows teeb tsa thiab txuas rau koj lub cuab yeej Bluetooth;

- Ib qhov chaw tshiab virtual COM yuav raug tsim (qhib tus thawj tswj ntaus ntawv kom paub seb qhov chaw nres nkoj COM twg peb xav tau txuas rau hauv Repetier lossis Pronterface);

- Qhib koj lub tshuab luam ntawv 3D thiab hloov chaw nres nkoj COM raws li;

- Tam sim no koj yuav tsum tuaj yeem tswj lub tshuab luam ntawv ntawm Bluetooth!

- Yog tias koj tsis tuaj yeem pom koj lub cuab yeej sim pab kom Bluetooth hauv Marlin teeb tsa cov ntaub ntawv

- Zoo siab luam ntawv wireless!

Pom zoo: