Cov txheej txheem:
- Kauj Ruam 1: Yam Yuav Tsum Tau
- Kauj Ruam 2: Nkag Siab Zaj Lus Qhia
- Kauj Ruam 3: Txuas Arduino Nrog HC 05
- Kauj ruam 4: Upload Sketch
- Kauj Ruam 5: Tsis txhob hnov qab Nco Ntsoov COM Port
- Kauj Ruam 6: Mus rau Flowcode7
- Kauj Ruam 7: Khiav Flowcode File thiab xa cov ntaub ntawv los ntawm Bluetooth ntaus ntawv
- Kauj Ruam 8: Daim Duab Tag Nrho
Video: Android Tswj LCD Screen hauv Flowcode7: 8 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Cov lus qhia no tso cai rau koj los tswj lub vijtsam LCD virtual uas tau sim siv FlowCode7 los ntawm koj lub cuab yeej Android. Koj tuaj yeem pom tseeb pov rau lwm lub platform tab sis lawv yuav tsum tau qhib Bluetooth. Peb tseem yuav siv Arduino ua qhov sib txuas rau PIC 16F877A (simulation hauv Flowcode7) thiab Bluetooth Module (HC-05) kom tau txais cov cim qhia los ntawm Bluetooth ntaus ntawv uas yog Android mobile hauv qhov no. Koj tuaj yeem sim sim xa cov ntaub ntawv siv UDP dhau WiFi los ntawm kev teeb tsa koj lub router. Muaj twb tau qhia ntxaws qhia ntawm Matrix cov rooj sib tham ntawm no. Txawm li cas los xij, vim tsis muaj tus kheej ntiag tug router kuv yuav tsum ua haujlwm ib puag ncig me ntsis kom ua tiav kuv lub hom phiaj. Kuv kuj tau sim upload cov ntaub ntawv ntawm kuv tus neeg rau zaub mov thiab tom qab ntawv nug nws siv MySQL thiab PHP tab sis kuv ua tsis tiav los khaws nws. Nws yog qhov zoo tshaj kom muaj lub router ntiag tug yog tias koj xav xa cov ntaub ntawv hla UDP ntawm WiFi. Cia peb saib seb yuav ua li cas!
Kauj Ruam 1: Yam Yuav Tsum Tau
Nov yog cov npe ntawm txhua tus 'cuab yeej' koj xav tau: Hardware
1. Arduino UNO (Kuv siv MEGA 2560)
2. Bluetooth Module (HC-05)
3. Cov qhob cij
4. Jumper cables (Txiv neej rau Poj niam nyiam dua)
5. USB cable rau Arduino
Software1. Flowcode7: Koj tuaj yeem rub tawm qhov kev sim los ntawm cov ntawv sib piv los ntawm no. Ua tus as khauj, koj yuav tsum tau txheeb xyuas qhov software ntawm txhua qhov pib nrog koj tus lej account thiab tus password. Koj paub yuav ua dab tsi thaum cov 30 hnub dhau mus…;) 2. Arduino IDE: Nov yog.
3. Bluetooth app: Muaj ntau lub apps xa cov ntaub ntawv mus rau bluetooth li ntawm Play Store. Kuv siv "unWired Lite". Koj tuaj yeem siv ib qho uas koj xaiv.
Kauj Ruam 2: Nkag Siab Zaj Lus Qhia
Qhov kev piv txwv no piav qhia txhua yam.
Kauj Ruam 3: Txuas Arduino Nrog HC 05
Nws yog ib qho yooj yim teeb tsaArduino HC 055V VccGnd GndTx RxRx Tx
Txheeb xyuas qib 1 ntawm cov lus qhia no kom nkag siab ntxiv
Thaum koj ua tiav koj yuav pom cov cuab yeej hauv cov npe ntawm koj lub davhlau ya nyob twg Bluetooth. Pair nrog nws los ntawm kev xaiv HC 05. Tus password feem ntau yog 1234.
Kauj ruam 4: Upload Sketch
Muab cov duab kos no tso rau Arduino IDE. Nws yog ib qho tshwm sim ntau rau kev sau cov ntaub ntawv mus rau COM chaw nres nkoj siv Bluetooth.#Suav nrog // ntshuam Serial libraryint BluetoothData; // cov ntaub ntawv muab los ntawm bluetooth ntaus ntawv
tsis muaj teeb tsa teeb tsa () {// muab koj cov cai teeb tsa ntawm no, kom khiav ib zaug:
Serial.begin (9600); tus pinMode (coj mus, OUTPUT); }
void loop () {// muab koj tus lej tseem ceeb ntawm no, kom rov ua dua: yog (Serial.available ()) {BluetoothData = Serial.read (); Serial.write (BluetoothData); } ncua (100); }
Kauj Ruam 5: Tsis txhob hnov qab Nco Ntsoov COM Port
Kauj Ruam 6: Mus rau Flowcode7
Koj yuav tsum tsim daim duab Flow no. Luag qhov chaw nres nkoj RS232 thiab LCD rau ntawm lub dashboard. Txuas Macros mus rau cov khoom siv ib puag ncig. Select lub COM chaw nres nkoj uas Arduino txuas nrog hauv Cov Khoom ntawm RS232
Kauj Ruam 7: Khiav Flowcode File thiab xa cov ntaub ntawv los ntawm Bluetooth ntaus ntawv
Ntaus cov ntawv ntawm koj lub bluetooth app. Nco ntsoov tias lub module txuas nrog koj lub cuab yeej. HC 05 feem ntau ntsais nws cov LED ob zaug nrog qeeb me ntsis ntawm thaum ua ke ua tiav. Nco ntsoov tias txoj haujlwm flowcode ua haujlwm ua ntej koj xa cov ntaub ntawv rau qhov ua tau zoo tshaj plaws. Flowcode7 tau khiav qeeb heev ntawm kuv lub PC thiab cov txiaj ntsig tau los nrog qhov qeeb qeeb. lwm yam.
Kauj Ruam 8: Daim Duab Tag Nrho
Vam tias koj nyiam cov lus qhia! Vim li cas kuv thiaj tshaj tawm qhov no?: Kuv tau nthuav tawm qhov haujlwm no rau kuv tus xibfwb raws li qhov xa tawm qhov haujlwm. Nws tsis txawm thab los txheeb xyuas cov cai ntawm kuv lub laptop. Nws kos npe rau daim ntawv luam tawm thiab tom qab ntawd muab nws pov rau hauv pawg uas muaj cov ntaub ntawv zoo li no. Kuv muaj 2 txoj kev xaiv:
1. Txais tias kuv ua tsis tau dab tsi txog nws2. Qhia tawm nrog cov neeg raug.
Pom zoo:
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev -- Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: 4 Cov Kauj Ruam
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev || Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: Nov Yog Qhov Tuchless Hloov Rau Cov Khoom Siv Hauv Tsev. Koj Siv Tau Qhov No Mus Rau Txhua Qhov Chaw Hauv Pej Xeem Kom Pab Tau Tawm Tsam Ib Yam Kab Mob. Lub Circuit Court Raws Li Tsaus Sensor Circuit Ua Los Ntawm Op-Amp Thiab LDR. Qhov Tseem Ceeb Thib Ob Ntawm Qhov Circuit Court SR Flip-Flop Nrog Sequencell
Kev Tswj Dej Hauv Dej Hauv Dej Hauv Dej: 10 Kauj Ruam (nrog Duab)
Underwater Remote Control Drone: Kuv txiav txim siab los tsim ROV no rau lub hom phiaj ntawm kev tshawb fawb thiab kev qhuas ntawm lub ntiaj teb hauv qab dej vim tias tsis muaj ntau tus nqi tsim txiaj hauv cov drones hauv qab. Txawm hais tias nws siv sijhawm ntau, tshawb fawb, thiab autodidacticism, nws yog qhov kev lom zem
Phab Ntsa Mount rau IPad Raws Li Tsev Automation Tswj Vaj Huam Sib Luag, Siv Servo Tswj Cov Hlau nplaum los Qhib Screen: 4 Cov Kauj Ruam (nrog Duab)
Phab Ntsa Mount rau IPad Raws Li Tsev Automation Tswj Vaj Huam Sib Luag, Siv Servo Tswj Cov Hlau nplaum los Qhib Screen: Tsis ntev los no kuv tau siv sijhawm qee lub sijhawm siv khoom hauv thiab ib puag ncig kuv lub tsev. Kuv tab tom siv Domoticz ua kuv daim ntawv thov Tsev Automation, saib www.domoticz.com kom paub meej. Hauv kuv tshawb nrhiav daim ntawv thov daim ntawv qhia uas qhia tag nrho Domoticz cov ntaub ntawv tog
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Timer Ua Haujlwm: 7 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Lub Sijhawm Ua Haujlwm: Txawm tias tom qab 25 xyoo ntawm nws qhov kev qhia rau cov neeg siv khoom lag luam, kev sib txuas lus infrared tseem muaj feem cuam tshuam nyob rau hnub tsis ntev los no. Txawm hais tias nws yog koj li 55 nti 4K TV lossis koj lub suab lub tsheb, txhua yam xav tau IR chaw taws teeb tswj los teb rau peb