Cov txheej txheem:
- Kauj Ruam 1: Sau Cov Khoom thiab Cov Cuab Yeej
- Kauj ruam 2: Luam 3D
- Kauj ruam 3: Tsim Circuit Court
- Kauj Ruam 4: Muab Cov Kabmob thiab Khoom Siv Hluav Taws Xob
- Kauj Ruam 5: Txuas txoj hlua rau Qhov Kov Loj
- Kauj Ruam 6: Sib Sau Ob Qhov Kov
- Kauj Ruam 7: Sib Raug Dhau Rope
- Kauj Ruam 8: Piav Qhia
- Kauj Ruam 9: Tshaj Tawm Txoj Cai
- Kauj ruam 10: Cia Peb Pib Hla
Video: Ntse Skipping Rope: 10 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob zoo thiab txais tos rau kuv thawj Kev Qhia!
Hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas thiaj ua rau koj tus kheej Smart Skipping Rope. Ntse Skipping hlua txee yog cov cuab yeej uas taug qab koj txhua hnub hla txoj haujlwm ua ub no thiab khaws cov ntaub ntawv ntawm huab. Nws xa cov ntaub ntawv rau browser hauv lub sijhawm tiag tiag thaum koj hla mus. Koj tuaj yeem saib cov ntaub ntawv ntawd ntawm koj lub laptop/smartphone lub browser. Nws qhia txog tus lej hla, hla tus nqi ib feeb thiab calories hlawv. Nws teev cov ntaub ntawv qub rau Thingspeak tom qab kev sib tham. Yog li yog tias koj xav kom haum lossis xav kom poob qee qhov hnyav qhov khoom siv no yog rau koj.
Kauj Ruam 1: Sau Cov Khoom thiab Cov Cuab Yeej
Nov yog cov npe ntawm cov khoom tsim nyog. Lub Circuit Court tsis nyuab. Yeej, nws suav nrog Wemos d1 mini, quadrature encoder, roj teeb, thiab hloov pauv.
Cheebtsam:
- 1x Wemos d1 mini
- 1 x Rotary encoder
- 1x 3.7v 500mAh LiPo roj teeb
- 1x Mini swb hloov
1x 608ZZ Cov Kabmob
1x 624ZZ Cov Kabmob
1x M4 ntsia liaj qhov rooj (1 nti)
2x4mn cog
4 x 0.320-nti mounting screws
Cov Cuab Yeej Tsim Nyog:
- 3D tshuab luam ntawv koj tuaj yeem siv kev pabcuam online
- Soldering hlau thiab Tin
- Screwdriver thiab plier.
- Hlau stripper
Kauj ruam 2: Luam 3D
Muaj ob txoj hauv kev los hla txoj hlua, ib qho yog khaws tag nrho cov khoom siv hluav taws xob thiab tuav ib qho kawg ntawm txoj hlua thiab lwm tus tuav yog tuav lwm qhov kawg ntawm txoj hlua. Kuv tau txuas tag nrho cov ntaub ntawv stl. Kuv siv Flashforge tus tsim pro nrog 0.4mm lub taub hau thiab teeb tsa ib txwm thiab nrog txhawb nqa. Koj tseem tuaj yeem rub tawm txhua cov ntaub ntawv los ntawm Thingiverse.
Kauj ruam 3: Tsim Circuit Court
Kev cuam tshuam ntawm cov teb encoder:
CLK -D2 ua
DT → D1
SWB → D5
GND thiab GND
+ → 5v
Rotary encoder yog siv los suav tus lej hla. Tus lej nkag teb chaws no kuj tseem hu ua quadrature encoder lossis tus txheeb ze rotary encoder thiab nws cov khoom tsim tawm yog cov xwm txheej ntawm cov plaub fab plaub fab.
Ua ntej yuav siv cov khoom siv, ntxig rau encoder_knob ib feem hauv cov cav ntoo teb thiab ntxig M4 Txiv ntoo rau hauv nws raws li qhia hauv daim duab.
Kuaj tag nrho cov khoom ua ntej soldering. Solder tag nrho cov khoom siv raws li qhia hauv daim duab kos. Siv lub hauv paus tseem ceeb thaum siv cov laug kom koj yuav tau txais lub tswv yim ncaj ncees ntawm cov xov hlau ntev thiab cov khoom siv tso. Siv cov duab ua siv.
Kauj Ruam 4: Muab Cov Kabmob thiab Khoom Siv Hluav Taws Xob
Coj tus tuav loj thiab 624zz kev coj tus kheej. Ntxig rau 624zz cov kabmob hauv tus tuav loj raws li qhia hauv daim duab. Yog tias koj tau tshem tag nrho 3D luam ntawv txhawb nqa los ntawm lub hauv paus tuav kom raug ces cov kabmob yuav haum zoo rau hauv lub qhov. Cov kabmob tau siv los txo qis kev sib txhuam thiab kev sib hloov.
Ua ntej tso tag nrho cov khoom siv hluav taws xob sab hauv kom ntseeg tau tias txhua yam ua haujlwm tau zoo. Siv tus lej txuas nrog los ntsuas tus lej nkag. Muab cov duab kos no tso rau hauv Wemos d1 mini, qhib lub ntsuas saib thiab tig tus lej cim thiab txheeb xyuas qhov tshwm sim ntawm tus lej saib.
Tam sim no tso tag nrho cov khoom siv hluav taws xob soldered hauv lub hauv paus loj raws li qhia hauv daim duab. Nco ntsoov tias cov xov hlau tsis cuam tshuam nrog tus lej nkag teb chaws. Lub encoder teb yuav tsum tig yam tsis muaj kev cuam tshuam.
Kauj Ruam 5: Txuas txoj hlua rau Qhov Kov Loj
Tam sim no siv txoj hlua khi tus tuav, M4 Txiv Ntseej thiab M4 ntsia liaj qhov rooj. Ntxig lub txiv ntseej m4 hauv hlua_ tus tuav thiab tom qab ntawd ntxig M4 Bolt hauv Txiv Ntseej.
Nqa cov ntsia liaj qhov rooj tso rau hlua_ tus tuav ib sab thiab muab nws txuas rau Txiv Ntseej ntawm tus lej nkag teb chaws. Txhawm rau muab nws txuas rau Rotary encoder ntxig nws hla lub qhov nyob rau sab xub ntiag. Tam sim no Hloov nws los kho rau tus lej nkag teb chaws.
Muab qhov tseem ceebHandle_cover ib feem nyob rau sab saum toj los npog lub thawv. Siv 0.320-nti mounting screws los kho nws.
Tshem txoj hlua los ntawm txoj hlua hla uas tau npaj tseg thiab txuas ib kawg rau txoj hlua hlua_hoder. Siv cov duab rau siv.
Txheeb xyuas lub tshuab ntxhua khaub ncaws rotary encoder tig tau yooj yim lossis tsis los ntawm txoj hlua ntawm tes. Tsis tas li, nco ntsoov tias koj tuaj yeem nias lub pob ntawm tus lej nkag teb chaws los ntawm nias lub khawm ib leeg. Yog hais tias lub cav encoder tig tig tau yooj yim thiab koj muaj peev xwm nyem lub pob ntawm lub cav nkag teb chaws ces tus kov tseem ceeb tau npaj tiav.
Kauj Ruam 6: Sib Sau Ob Qhov Kov
Cov kauj ruam no yog nyob ntawm yeem. Koj tseem tuaj yeem siv tus tes tuav ntawm txoj hlua hla kev npaj ua tiav.
Siv cov ntawv luam tawm 3d no los ua ke tuav thib ob: ob txhais tes, ob txhais tes_ npog thiab thib ob tuav_ropeHolder.
Ua ntej sib sau ua ke, xyuas kom tseeb tias koj tau ntxuav tag nrho cov ntawv luam tawm 3d los ntawm tus tuav thib ob. Siv lub tshuab laum lossis rab riam los ntxuav qhov kev txhawb nqa.
Nqa 608zz cov kabmob thiab ntxig nws rau hauv lub qhov ntawm sab xub ntiag ntawm tus tes tuav. Tom qab ntawd nqa lwm qhov kawg ntawm txoj hlua thiab ntxig nws hauv qhov kov thib ob los ntawm cov kabmob qhov. Tam sim no ntxig txoj hlua kawg rau hauv tus tuav txoj hlua thiab rub txoj hlua kom tus tuav txoj hlua yuav tau tsau rau hauv qhov ntawm cov kabmob. Tom qab ntawd npog qhov kawg ntawm tus tuav thib ob los ntawm kev txuas lub npog.
Kauj Ruam 7: Sib Raug Dhau Rope
Tom qab sib dhos ob leeg tuav koj txoj hlua hla yuav tsum zoo li qhov no. Tam sim no hla txoj hlua yog npaj tau. cia peb ua nws ntse los ntawm kev xa cov cai hauv Wemos.
Kauj Ruam 8: Piav Qhia
Ua haujlwm ntawm cov cuab yeej no yog yooj yim. Muaj 4 ntu tseem ceeb, ua ntej tshaj yog txuas rau wifi, thib ob yog suav tus lej hla, thib peb yog xam qhov hla tus lej thiab calories hlawv thiab plaub yog xa cov ntaub ntawv no mus rau lub vev xaib thiab teev cov ntaub ntawv no mus rau Thingspeak.
Txuas rau WiFi:
WiFiManager yog lub tsev qiv ntawv zoo ntxiv rau koj li ESP8266 cov haujlwm vim tias siv lub tsev qiv ntawv no koj tsis tas yuav nyuaj-code koj li ntawv pov thawj network (SSID thiab tus lej nkag). Koj li ESP yuav cia li koom nrog lub network paub lossis teeb tsa Access Point uas koj tuaj yeem siv los teeb tsa lub peev xwm ntawm lub network. Nov yog qhov txheej txheem no ua haujlwm li cas:
Suav tus lej hla mus:
Kuv tau siv tib txoj cai peb siv rau kev ntsuas ntsuas ntsuas kom suav tus lej hla. Rau 1 hla tus lej nkag nkag muab suav 5 rau ntawm tus saib xyuas. Kuv sim nrog 50 hla ces kuv suav qhov suav nruab nrab ntawm tus lej nkag rau 1 hla. Tom qab ob peb qhov kev sim thiab sim, rau 1 hla tus lej nkag nkag suav 5. Yog li yog tus lej suav tus lej yog 5 ces nws txhais tau tias 1 hla tau ua tiav.
Xam Tus Nqi Hla:
Txhawm rau xam tus nqi hla ib feeb, Kuv tau khaws lub sijhawm pib siv millis () ua haujlwm hauv qhov sib txawv. Nws suav tus lej hla tom qab txhua 20 suav los ntawm kev siv cov mis no, Hla tus nqi = hla suav/sijhawm Sijhawm* 60
Xam Calories Burnt:
Txhua qhov haujlwm xav tau kev siv zog sib txawv. Taug kev ntawm qhov nrawm nrawm yuav muaj tseeb hlawv calories ntau dua li kev khiav lossis aerobics. Qhov kev siv hluav taws xob no feem ntau tau hais tawm hauv MET - Metabolic Sib npaug ntawm Txoj Haujlwm. Qhov ntsuas no qhia koj pes tsawg calories uas koj hlawv ib teev ntawm kev ua ub no thiab rau ib kilogram ntawm lub cev hnyav. Koj tuaj yeem yooj yim xaiv ib qho ntawm ntau hom haujlwm hauv peb cov calories hlawv lub laij lej. Piv txwv li, kev taug kev muaj tus lej MET ntawm 3.8, thaum taug kev twb dhau lawm 6. Tus nqi siab dua no yog, lub zog xav tau ntau dua ntawm txoj haujlwm. Qhov tseeb yog 1 MET, yog li cas? Nws tau txiav txim siab raws li qhov sib piv ntawm lub zog siv rau ib lub sijhawm nyob rau lub sijhawm ua haujlwm tshwj xeeb rau lub cev siv ntawm 3.5 ml O₂/(kg · min). Tom qab qee qhov suav rov qab thiab hloov pauv cov milliliters ntawm cov pa mus rau calories, peb tuaj txog ntawm cov mis kawg: calories = T * 60 * MET * 3.5 * W / 200 qhov twg T yog lub sijhawm ua haujlwm hauv cov xuab moos, thiab W yog koj qhov hnyav hauv kilograms. Peb lub tshuab xam zauv hlawv calories siv cov qauv saum toj no rau qhov kwv yees kwv yees ntau tshaj ntawm cov calories hlawv. Yog tias koj xav ua koj cov lej los ntawm txhais tes, koj tseem tuaj yeem siv cov lus yooj yim ntawm qhov sib npaug no: calories = MET * T * W Qhov kev ua zauv no yog ua raws qhov kwv yees hais tias 1 MET = 1 kcal / (kg * h). Nws tsis yog 100% raug; tseem, nws muab cov txiaj ntsig zoo txaus uas tuaj yeem siv los kwv yees cov calories poob. Yog xav paub ntau ntxiv txog qhov no:
Tso cov suav ntawm lub vev xaib:
Thaum peb muaj tag nrho cov ntaub ntawv peb yuav xa cov ntaub ntawv no mus rau lub vev xaib siv WebSocket. WebSocket yog thev naus laus zis uas ua rau TCP kev sib txuas qhib, yog li koj tuaj yeem xa cov ntaub ntawv rov qab los ntawm ESP thiab tus neeg siv khoom, nrog qis qis. Thiab txij li nws yog TCP, koj paub tseeb tias cov pob ntawv yuav tuaj txog.
ESP tuav lub vev xaib nrog tus qhab nia ntawm qhov chaw thiab hla tus lej thiab calories hlawv rau saum. 1 slider ntawm lub kaum sab xis saum toj los teeb qhov hnyav ntawm tus neeg uas tab tom ua qhov haujlwm hla. Tus nqi ntawm qhov hnyav tau kis los ntawm qhov browser mus rau ESP ntawm WebSocket kev txuas. Txhawm rau pib hla qhov kev ua ntu ntu nias lub pob ntawm tus lej nkag thiab pib ua haujlwm. Koj tuaj yeem pom qhov hla hla hauv lub sijhawm tiag tiag ntawm lub vev xaib.
Upload cov ntaub ntawv rau Thingspeak:
ThingSpeak yog lub vev xaib pub dawb uas tso cai rau koj sau thiab khaws cov ntaub ntawv sensor hauv huab thiab txhim kho Internet ntawm Yam Khoom. Tsim ib tus as khauj ntawm Thingspeak thiab tsim cov channel tshiab. Tsim peb thaj chaw rau cov channel ntawd. Ib qho rau hla suav, thaj tsam thib ob rau hla tus lej thiab daim teb thib peb rau cov calories hlawv. Siv cov channel Write_Key hauv txoj cai. Txhawm rau xa cov ntaub ntawv mus rau Thingspeak, tom qab koj ua tiav nrog koj hla kev ua haujlwm nias tib lub pob dua. ESP yuav xa cov ntaub ntawv mus rau Thingspeak.
Kauj Ruam 9: Tshaj Tawm Txoj Cai
Ua ntej xa cov cai, hloov Thingspeak qhov tseem ceeb hauv txoj cai. Tsim cov channel tshiab ntawm Thingspeak thiab siv cov channel ntawd tus yuam sij hauv txoj cai. Tsim tus as khauj ntawm Thingspeak yog tias koj tshiab rau Thingspeak, tsim cov channel tshiab thiab siv cov channel tseem ceeb ntawm no.
Siv lub micro USB cable los ua haujlwm rau Wemos d1 mini ntaus ntawv. Qhib Arduino IDE thiab xa cov lej no
Kauj ruam 10: Cia Peb Pib Hla
- Tom qab xa cov cai rau Wemos ntaus ntawv, tshem lub micro USB cable thiab tig rau qhov hloov mus rau lub zog Wemos d1 mini los ntawm lub roj teeb.
- Tom qab qhib lub zog, Txuas Wemos ntaus ntawv mus rau WiFi network. Txhawm rau txuas nws rau WiFi, Koj tuaj yeem siv koj lub xov tooj ntawm tes/laptop los txuas rau lub cuab yeej ntse hla txoj hlua. Tom qab ntawd, qhib koj tus browser thiab ntaus tus IP chaw nyob hauv qab no: 192.168.4.1. Qhov no thauj cov nplooj ntawv tom ntej, qhov twg koj tuaj yeem teeb tsa koj li ntawv pov thawj Wi-nkaus. Tam sim no koj tuaj yeem txuas koj txoj hlua hla kev ntse rau WiFi network siv nplooj ntawv no.
- Tom qab txuas koj lub cuab yeej rau WiFi network, Nrhiav tus IP chaw nyob ntawm koj cov cuab yeej hla. Siv ntiv tes (hauv xov tooj ntawd/iOS app) lossis tus IP scanner app siab tshaj los nrhiav tus IP chaw nyob. Qhib lub Web browser ntawm koj lub xov tooj lossis lub laptop thiab Ntaus tus IP no thiab ntaus nkag. Koj yuav pom hla nplooj ntawv txee.
- Teem qhov hnyav kom raug siv tus slider ntawm kaum sab xis.
- Nias lub khawm ntawm tus lej cim kom pib ua haujlwm. Tam sim no koj tuaj yeem ua koj txoj haujlwm hla. Koj tuaj yeem pom qhov hla hla, hla tus lej thiab calories hlawv ntawm lub vev xaib thaum hla.
- Nias tib lub pob dua thaum koj ua tiav nrog koj txoj haujlwm hla. Tom qab nias lub khawm thib ob, tag nrho cov ntaub ntawv (hla suav, hla tus lej thiab calories hlawv) yuav muab tso rau hauv Thingspeak. Yog li koj tuaj yeem taug qab koj cov dej num hla txhua hnub.
- Ntawm tus nqi them ib zaug, yog tias koj siv nws li 2-3 teev nyob rau ib hnub, cov cuab yeej no tuaj yeem kav ntev txog 7-8 hnub. Txhawm rau them lub roj teeb txuas lub micro USB cable rau Wemos ntaus ntawv thiab roj teeb yuav pib them. (khaws qhov hloov mus rau thaum them nyiaj). Tshem lub micro USB cable tom qab ib teev vim tias tsis muaj qhov taw qhia them.
Txaus siab rau hla, Nyob haum thiab Nyob zoo.
Pom zoo:
Ntse Rooj LED Teeb - Ntse Teeb Pom Kev W/ Arduino - Neopixels Chaw Ua Haujlwm: 10 Kauj Ruam (nrog Duab)
Ntse Rooj LED Teeb | Ntse Teeb Pom Kev W/ Arduino | Neopixels Chaw Ua Haujlwm: Tam sim no ib hnub peb tau siv sijhawm ntau nyob hauv tsev, kawm thiab ua haujlwm virtualy, yog li vim li cas ho tsis ua peb qhov chaw ua haujlwm ntau dua nrog kev cai thiab teeb pom kev zoo Arduino thiab Ws2812b LEDs raws li ntawm no Kuv qhia koj li cas tsim koj li Smart Lub teeb LED teeb uas
Ntse Tswb Tswb: Ntse Tswb Tswb Ua Nrog Raspberry Pi: 10 Kauj Ruam (nrog Duab)
Ntse Tswb Tswb: Ntse Tswb Tswb Ua Nrog Raspberry Pi: Koj puas tau xav tau lub moos ntse? Yog tias yog, qhov no yog kev daws teeb meem rau koj! Thaum lub tswb nrov tawm, yuav muaj lub suab (buzzer) thiab 2 lub teeb yuav
Daim Ntawv Qhia Ntse ntawm Idaho Nrog Cov Ntaub Ntawv LED + Duab: 8 Kauj Ruam (nrog Duab)
Daim Ntawv Qhia Ntse ntawm Idaho Nrog LED Cov Ntaub Ntawv + Kos Duab: Kuv ib txwm xav tau txoj hauv kev los kos duab thiab ua kom pom cov ntaub ntawv thaj chaw los ntawm " tha xim " daim duab qhia chaw nrog lub teeb. Kuv nyob hauv Idaho thiab nyiam kuv lub xeev yog li kuv xav tias qhov no yuav yog qhov chaw pib zoo! Ntxiv rau qhov yog ib qho txuj ci kev txawj ntse
Lub Hnab Ntse Hnab Ntse Ntse Computer: 4 Kauj Ruam (nrog Duab)
Lub Hnab Ntse Hnab Ntse Ntse Computer: Qhov no yog "hnab looj tes ntse" nas lub computer uas tuaj yeem siv nrog ib lub PC, Mac, lossis Linux computer. Nws tau tsim los siv Binho Nova ntau tus txheej txheem USB host adapter, uas tso cai rau koj txuas cov ntsuas thiab lwm yam khoom siv rau koj lub khoos phis tawj thiab tom qab ntawd txuas ntxiv
Ntse Duab Duab: 4 Cov Kauj Ruam (nrog Duab)
Ntse Daim Duab Duab: Lub hauv paus ntawm txoj haujlwm no yog los daws peb teeb meem: txheeb xyuas huab cua hauv cheeb tsam sai sai kom ntseeg tau tias tag nrho tsev neeg tau hloov kho tshiab ntawm txhua qhov haujlwm uas tau teem tseg tso saib kom pom cov duab hnub so loj raws li nws tau tig tawm, Kuv muaj cov laus dua