Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Qee Zauv
- Kauj ruam 2: Tau Qee Cov Ntaub Ntawv
- Kauj Ruam 3: Kho vajtse 1 tus Linear Actuator
- Kauj Ruam 4: Kho vajtse 2 - H -Choj
- Kauj Ruam 5: Kho Vajtse 3 Cov Khoom Siv Hluav Taws Xob (Arduino)
- Kauj Ruam 6: 'Rear Drop Outs'
Video: Qhib (Tsheb kauj vab) Qib Simulator - OpenGradeSIM: 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Taw qhia
Ib lub tuam txhab Asmeskas paub zoo raws li lub tuam txhab qoj ib ce (Wahoo) tsis ntev los no tau nthuav tawm kev qhia sab hauv tsev zoo uas nce thiab txo qis pem hauv ntej ntawm lub tsheb kauj vab ntawm tus kws qhia turbo raws li qib simulated ntawm toj uas tus neeg siv caij (Kickr Climb).
Zoo li tsis txaus ntseeg tab sis tu siab qhov no tsis muaj rau peb txhua tus raws li koj xav tau 1) sab saum toj ntawm thaj tsam Wahoo tus kws qhia thiab 2) cash 500 nyiaj ntsuab los ua qhov no rau koj li.
Kuv tsoo lub clavicle (tsis txhob tso tus neeg caij tsheb kauj vab ntawm lub tsheb kauj vab roob) yog li kuv muaj ntau mais ntawm tus kws qhia thiab ntau lub sijhawm rau tinker thiab xav tias qhov no tuaj yeem yog txoj haujlwm lom zem.
Chav ua lag luam simulates -5% rau +20% yog li kuv xav los ze rau qhov ntawd tab sis ntawm 10% ntawm pob nyiaj siv!
Qhov no tau tsim nyob ib puag ncig kuv Tacx Neo tab sis ib tus kws qhia uas tshaj tawm nws lub zog thiab cov ntaub ntawv nrawm ntawm ANT+ lossis BLE tuaj yeem ua haujlwm (Kuv xav!)
Txij li lub hauv paus log ntawm kuv txoj kev tsheb kauj vab ntsuas qhov tseeb 1000mm Kuv yuav tsum tau nqa lub diav rawg los ntawm 200mm los simulate 20% (saib daim duab) yog li 200mm linear actuator yuav ua. Lub tsheb kauj vab + tus neeg hnyav hnyav tsis zoo li ntau dua 100kg thiab vim qhov no tau faib tawm ntawm cov qag thiab feem ntau yog nyob tom qab 750N yuav nqa 75kg thiab yuav tsum ua li cas. Cov neeg ua haujlwm nrawm muaj rau nyiaj ntau dua tab sis qhov no raug nqi kuv ib ncig £ 20 thiab tswj 10 hli/sec. Actuators nrog lub zog ntsuas uas tuaj yeem siv tau yooj yim servos kuj tseem yog 2 txog 3 zaug kim dua.
Khoom siv
3D luam tawm (PLA lossis ABSetc) ntawm txoj kab sib txuas ua ke ntu:
100mm ntawm 3/4 nti 10 swg txhuas raj hauv Tshuag (rau los ntawm txoj kab uas hla ncej)
80mm ntawm 6mm stainless hlau bar Tshuag
3D luam tawm (PLA lossis ABSetc) ntawm cov khau rau qhov ua haujlwm ncaj qha:
3D luam tawm ntawm Case rau H-choj
3D luam tawm ntawm Case rau Arduino (Version 1 nrog cov keyboard) https://www.thingiverse.com/thing:3984911 (Version 2 raws li qhia (https://www.thingiverse.com/thing:3995976)
Laser txiav daim ntawm 3mm ntshiab acrylic 32 x 38mm kom koj tsis txhob tawm hws thoob plaws cov khoom siv hluav taws xob (ua li ntawd, tsis zoo tagnrho).
Qee qhov los ntshav (hloov kho kom tawm hauv ncoo) txhawm rau tiv thaiv koj yuam kev thawb lub piston hu tawm ntawm koj li Shimano disc nres hauv koj txoj kev txaus siab
Tawm Tawm 750N 200mm mus ncig piv txwv li Al03 Mini Linear Actuators los ntawm
L298N H choj (zoo li:
Arduino Nano IoT 33 www.rapidonline.com xaj 73-4863
2 qhov tseem ceeb membrane keyboard piv txwv li
IIC I2C Logic Level Converter Bi-Directional Module 5V rau 3.3V Rau Arduino piv txwv li
12V 3A DC fais fab mov - ib qho rau LED teeb pom kev zoo ua haujlwm zoo!
NPE CABLE Ant+ to BLE bridge
3D luam tawm clip rau CABLE choj
1.3 OLED LCD Display Module nrog IIC I2C Interface 128x32 3.3V
Kauj Ruam 1: Qee Zauv
Peb yuav tsum suav cov kab uas tau simulated. Kuv tau cia siab tias tus kws qhia yuav tshaj tawm cov ntaub ntawv no nrog rau kev nrawm, lub zog, kev ua haujlwm thiab lwm yam. Kuv tsis muaj txoj hauv kev yooj yim mus ntes 'qib simulated' los ntawm software yog li kuv yuav tau ua haujlwm rov qab …
Lub zog ua haujlwm ntawm lub tsheb kauj vab thiab tus neeg caij tsheb yog sib xyaw ua ke ntawm kev tiv thaiv kev poob thiab lub zog xav tau kom nce toj. Tus kws qhia qhia ceev thiab lub zog. Yog tias peb tuaj yeem pom qhov kev tiv thaiv poob ntawm qhov nrawm tau muab tso rau ntawd lub zog uas siv tau yog nce toj. Lub zog nce mus yog nyob ntawm qhov hnyav ntawm lub tsheb kauj vab thiab tus neeg caij tsheb thiab tus nqi nce thiab yog li peb tuaj yeem rov ua haujlwm rov qab.
Ua ntej kuv siv qhov zoo https://bikecalculator.com txhawm rau nrhiav qee cov ntsiab lus cov ntaub ntawv rau kev tiv thaiv lub zog poob ntawm qhov nrawm. Tom qab ntawd kuv hloov pauv qhov nrawm los tsim txoj kev sib raug zoo thiab pom kab zoo tshaj plaws. Noj cov kab zauv ntawm kab tam sim no peb tuaj yeem suav lub zog (W) los ntawm kev tawm tsam = (0.0102*(Speedkmh^2.8))+9.428.
Siv lub zog los ntawm kev tiv thaiv los ntawm lub zog ntsuas kom muab lub zog ntawm 'nce toj'.
Peb paub qhov nrawm ntawm nce hauv km/hr thiab hloov qhov no mus rau SI units ntawm m/s (faib los ntawm 3.6).
Kev pom tau pom los ntawm: Kab rov qab (%) = ((PowerClimbing/(WeightKg*g))/Ceev)*100
qhov twg nrawm ntawm lub caij nplooj zeeg dawb g = 9.8m/s/s lossis 9.8 N/kg
Kauj ruam 2: Tau Qee Cov Ntaub Ntawv
Kev suav xam xav tau nrawm thiab lub zog. Kuv siv Arduino Nano 33 IoT los txuas rau tus kws qhia ntawm BLE kom tau txais qhov no. Kuv tau nyam heev thaum xub thawj raws li v.1.1.2 tam sim no ntawm ib txwm tsev neeg ArduinoBLE lub tsev qiv ntawv rau cov qauv no tsis ua haujlwm txheeb xyuas qhov tseeb hauv txhua daim ntawv uas txhais tau tias feem ntau (?) Kev lag luam BLE sensors yuav tsis ua ke nrog nws.
Qhov kev daws teeb meem yog siv NPE Cable ANT+ rau BLE choj (https://npe-inc.com/cableinfo/) uas ua rau BLE ntawm tus kws qhia pub dawb rau kev qhia app txhawm rau sib tham thiab tsis xav tau kev lees paub ntawm BLE sab.
Lub zog BLE tus yam ntxwv yog qhov yooj yim zoo li lub zog hauv watts muaj nyob hauv qhov thib ob thiab thib peb bytes ntawm cov ntaub ntawv xa mus raws li 16 tus lej ntxiv (me ntsis endian piv txwv li tsawg kawg qhov tseem ceeb octet thawj). Kuv tau thov lub lim nruab nrab txav los muab 3s lub zog nruab nrab - ib yam li kuv lub tsheb kauj vab khoos phis tawj qhia pom - vim qhov no tsis txawv txav.
yog (powerCharacteristic.valueUpdated ()) {
// Txhais qhov array rau tus nqi uint8_t tuav lub zog [6] = {0, 0, 0, 0, 0, 0, 0}; // Nyeem tus nqi rau hauv array powerCharacteristic.readValue (tuav lub zog, 6); // Lub zog raug xa rov qab raws li cov watts hauv qhov chaw 2 thiab 3 (loc 0 thiab 1 yog 8 tus chij) byte rawpowerValue2 = tuav lub zog [2]; // lub zog tsawg kawg sig byte hauv HEX byte rawpowerValue3 = tuav lub zog [3]; // hwj chim feem ntau sig byte hauv HEX ntev rawpowerTotal = (rawpowerValue2 + (rawpowerValue3 * 256)); // Siv qhov txav nruab nrab lim los muab '3s zog' powerTrainer = movingAverageFilter_power.process (rawpowerTotal);
Tus yam ntxwv BLE nrawm (Cycling Speed thiab Cadence) yog ib yam uas ua rau koj xav tsis thoob hauv ntiaj teb SIG tau haus luam yeeb thaum lawv sau cov lus qhia tshwj xeeb.
Tus Cwj Pwm rov qab los ntawm 16 byte array uas tsis muaj qhov nrawm lossis tsis ua haujlwm. Hloov chaw koj tau txais cov kiv puag ncig lub log thiab kev hloov pauv crank (tag nrho) thiab sijhawm txij li cov ntaub ntawv tshwm sim zaum kawg hauv 1024ths ntawm ob. Yog li ntau lej ua ntej. Auj, thiab cov bytes tsis tas li tam sim no yog li muaj tus chij byte thaum pib. Auj, thiab cov bytes me ntsis endian HEX yog li koj yuav tsum tau nyeem rov qab muab qhov thib ob byte los ntawm 256, thib peb los ntawm 65536 thiab lwm yam ces ntxiv lawv ua ke. Txhawm rau nrhiav nrawm koj yuav tsum xav txog tus qauv tsheb kauj vab ib puag ncig kom paub qhov nrug….
yog (speedCharacteristic.valueUpdated ()) {
// Tus nqi no xav tau 16 byte array uint8_t tuav cov nqi [16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} // Tab sis kuv tsuas yog nyeem thawj 7 speedCharacteristic.readValue (tuav tus nqi, 7); byte rawValue0 = tuav tus nqi [0]; // binary chij 8 ntsis int byte rawValue1 = holdvalues [1]; // revolutions yam tsawg kawg tseem ceeb byte hauv HEX byte rawValue2 = holdvalues [2]; // revolutions tom ntej tseem ceeb tshaj byte hauv HEX byte rawValue3 = holdvalues [3]; // revolutions tom ntej tseem ceeb tshaj byte hauv HEX byte rawValue4 = holdvalues [4]; // revolutions tseem ceeb tshaj byte hauv HEX byte rawValue5 = holdvalues [5]; // lub sijhawm txij li qhov xwm txheej zaum kawg tsawg kawg sig byte byte rawValue6 = holdvalues [6]; // lub sijhawm txij li qhov kev tshwm sim zaum kawg feem ntau sig byte yog (firstData) {// Tau txais cov log tig rov los li me ntsis endian hex hauv zos 2, 3 thiab 4 (tsawg kawg qhov tseem ceeb octet thawj) WheelRevs1 = (rawValue1 + (rawValue2 * 256) + (rawValue3 * 65536) + (rawValue4 * 16777216)); // Tau txais lub sijhawm txij li lub log tshwm sim zaum kawg hauv 1024ths ntawm Lub Sijhawm thib ob_1 = (rawValue5 + (rawValue6 * 256)); firstData = tsis tseeb; } lwm {{Tau txais cov txheej thib ob ntawm cov ntaub ntawv ntev WheelRevsTemp = (rawValue1 + (rawValue2 * 256) + (rawValue3 * 65536) + (rawValue4 * 16777216)); Ntev Sijhawm = (rawValue5 + (rawValue6 * 256)); yog (WheelRevsTemp> WheelRevs1) {// xyuas kom lub tsheb kauj vab txav mus WheelRevs2 = WheelRevsTemp; Sijhawm_2 = Sijhawm Sijhawm; firstData = tseeb;}
// Pom qhov sib txawv ntawm qhov sib txawv hauv cm thiab hloov mus rau km ntab debTravelled = ((WheelRevs2 - WheelRevs1) * wheelCircCM);
ntab kmTravelled = nrugTravelled / 1000000;
// Nrhiav sijhawm hauv 1024ths ntawm ib pliag thiab hloov mus ua teev
ntab timeDifference = (Sijhawm_2 - Sijhawm_1); ntab timeSecs = sijhawm sib txawv / 1024; ntab timeHrs = timeSecs / 3600;
// Nrhiav ceev kmh
speedKMH = (kmTravelled / timeHrs);
Arduino kos duab yog tuav ntawm GitHub (https://github.com/mockendon/opengradesim).
Kauj Ruam 3: Kho vajtse 1 tus Linear Actuator
Los ntawm lub qag ntawm kuv lub disc nres txoj kev tsheb kauj vab qhia meej 19.2mm axel kom tshem tawm 12mm los ntawm qag nrog 100mm nruab nrab ntawm rab rawg.
Tshuag 3/4 nti 10swg txhuas raj yog qhov haum zoo thiab muaj tshooj zoo hu ua Dave ntawm ebay (https://www.ebay.co.uk/str/aluminiumonline) muab thiab txiav nws kom ntev rau kuv ob peb phaus.
Tus actuator muaj 20mm bar nrog 6mm qhov yog li 3D luam tawm ib feem txuas cov raj txhuas mus rau 6mm steel bar thiab txij li lub zog yog 90% kev sib zog qee cov PLA / ABS yog qhov nyuaj.
Yog tias koj ua tus txheej txheem tso tawm sai sai tom qab qee yam zoo li no (https://www.amazon.co.uk/Sharplace-Quick-Release-Conversion-Adapter/dp/B079DCY344) yuav zam tsis tau rov tsim dua cov khoom no.
Lub khau raj tau tsim los kom haum rau hauv qhov raiser muab nrog kuv tus kws qhia Tacx tab sis tej zaum yuav haum rau ntau tus neeg sib tw zoo sib xws lossis koj tuaj yeem hloov kho TinkerCad cov ntaub ntawv kom haum rau koj qhov xav tau.
Kauj Ruam 4: Kho vajtse 2 - H -Choj
Cov L298N H choj pawg thawj coj uas muaj ntau hauv online tau tsim hauv 5V tus tswj hwm uas yog qhov zoo rau kev ua kom lub zog Arduino los ntawm 12V lub zog xa hluav taws xob xav tau rau tus ua haujlwm tawm. Hmoov tsis zoo Arduino Nano IoT pawg thawj coj yog 3.3V teeb liab li qhov xav tau rau cov qib kev hloov pauv (lossis tus optoisolator txij li cov cim qhia tsis yog ib qho nkaus xwb).
Cov ntaub ntawv tau tsim los lees txais cov txuas hluav taws xob feem ntau siv hauv LED teeb pom kev zoo. Kuv butchered USB txuas ntxiv ua kom nws muaj peev xwm txuas / txiav tawm Arduino lub taub hau chav yooj yim thiab thaum kuv paub tseeb tias yuav siv cov kab hluav taws xob rau lub zog thiab cov ntaub ntawv kab rau 3.3V teeb liab Kuv xav ncaj ncees qhia ntxiv qhov no raws li kuv xav tau ntxub ib tus neeg los kib lawv cov chaw nres nkoj USB lossis cov khoom siv los ntawm kev ntsaws lawv ua yuam kev!
Kauj Ruam 5: Kho Vajtse 3 Cov Khoom Siv Hluav Taws Xob (Arduino)
Cov ntaub ntawv rau Arduino OLED thiab qib kev hloov pauv logic muaj tus qauv 1/2 tig Garmin style mount rau sab nraub qaum kom tso nws kom ruaj ntseg rau lub tsheb kauj vab. Ib qho 'tawm sab xub ntiag' yuav tso cai rau chav nyob kom qaij lossis nce mus rau 'xoom' txoj haujlwm ntsuas qhov ntsuas lossis kab ntawm kab lus tsuas yog pib xoom thaum pib yuav yooj yim ntxiv.
Cov ntaub ntawv muaj qhov chaw rau daim nyias nyias khawm - qhov no yog siv los teeb tsa tus neeg caij tsheb thiab lub tsheb kauj vab hnyav. Koj tuaj yeem tsim qhov programmatically tshwj xeeb tshaj yog tias koj tsis qhia tus kws qhia nrog leej twg.
Nws yuav yog qhov zoo los siv hom 'phau ntawv'. Tej zaum nias ob lub nyees khawm tuaj yeem pib ua hom ntawv thiab tom qab ntawd cov nyees khawm tuaj yeem nce / txo qis. Kuv yuav ntxiv qhov no rau daim ntawv yuav tsum ua!
STL cov ntaub ntawv ntawm rooj plaub yog, dua, muaj nyob ntawm Thingiverse (saib ntu khoom siv rau txuas).
Arduino kos duab yog tuav ntawm GitHub (https://github.com/mockendon/opengradesim).
Koj tuaj yeem luam daim ntawv me me kom zoo rau koj tus CABLE choj los ntawm no
Kauj Ruam 6: 'Rear Drop Outs'
Coob leej neeg tau teeb tsa qhov teeb meem ntawm lub tsheb nraub qaum rub tawm thaum lub tsheb kauj vab txav mus. Qee tus kws qhia muaj qag uas txav (zoo li Kickr) tab sis ntau tus tsis ua.
Tam sim no kuv qhov kev daws teeb meem zoo tshaj plaws rau kuv yog txhawm rau teeb tsa tus qauv 61800-2RS sib sib zog nqus groove npas kabmob (kwv yees £ 2 txhua) ntawm qhov tso tawm sai thiab tom qab ntawd mount los ntawm axel poob tawm ntawm cov no (saib duab) nrog rau qhov loj me me QR skewer
Cov kabmob xav tau lub tshuab ntxhua khaub ncaws me me piv txwv li M12 16mm 0.3mm nruab nrab ntawm lub adapter thiab cov kabmob.
Lawv haum zoo kawg nkaus thiab tig nrog lub tsheb kauj vab thiab tus pas nrig ntawm tus kws qhia.
Tam sim no qhov kev hloov pauv ntawm qhov tsav ntawm ob peb mm yog li koj yuav tsum rov ntsuas dua
Kuv tab tom tsim cov ntu kev cai (saib daim phiaj pdf) rau tshuab (ntawm kuv yav tom ntej tus nus-yawg-tus-tshuab dhos thaum nws muaj sijhawm teev los pab!). Cov no tseem tsis tau sim !!! Tab sis sib tsoo 1 hli tawm sab hauv ntawm cov khoom lag luam sab QR adapter yog kho sai uas tsis muaj cov cuab yeej tshwj xeeb;)
Pom zoo:
Tsim Lub Tsheb kauj vab Yooj Yim Qhib Teeb: 11 Kauj Ruam (nrog Duab)
Tsim Lub Tsheb kauj vab Yooj Yim Yooj Yim Teeb: Nrog rau lub caij nplooj zeeg, nws qee zaum nyuaj rau paub tias hnub tau luv dua, txawm hais tias qhov kub yuav zoo ib yam. Nws tau tshwm sim rau txhua tus- koj mus caij tsheb kauj vab yav tav su, tab sis ua ntej koj yuav rov qab ib nrab, nws tsaus ntuj thiab koj nyob nraum
Tsheb kauj vab Simulator Nrog Kev Hloov Sijhawm Ceev: 5 Kauj Ruam
Tsheb kauj vab Simulator Nrog Kev Ceev Sijhawm Hloov Kho: Qhov haujlwm no siv lub tshuab hluav taws xob sib nqus hloov los tsim lub ntsuas cua nrawm thiab tswj cov vis dis aus nrawm ntawm thawj tus neeg caij tsheb kauj vab yeeb yaj kiab hauv YouTube lossis lwm yam xov xwm. Arduino suav mph thiab tom qab ntawd siv cov ntaub ntawv ntawd los sim ua lub computer khawm nias
Tus Ntxhais Lub Tsheb kauj vab Zoo Tshaj Plaws Tsheb Teeb: 12 Kauj Ruam (nrog Duab)
Tus Ntxhais Qhov Zoo Tshaj Plaws Tsheb Tom Qab: Qhov no yog hais txog lub roj teeb ua lub teeb pom kev tom qab hauv lub plawv zoo li daim ntawv.Rau qhov laj thawj kev nyab xeeb, lub teeb nraub qaum zoo yog qhov tseem ceeb rau menyuam yaus caij tsheb kauj vab. Yog li nws yuav tsum ntseeg tau tiag tiag.Koj ib txwm hnov qab tig lub teeb tom qab thaum lawv pib caij tsheb kauj vab. Yog li nws tsis yog
Tsheb kauj vab Infinity - Kev Qhia Tsheb kauj vab hauv tsev: 5 kauj ruam
Tsheb kauj vab Infinity - Kev Qhia Tsheb kauj vab sab hauv tsev: Hauv lub caij ntuj no, hnub txias thiab huab cua tsis zoo, cov neeg caij tsheb kauj vab tsuas yog muaj ob peb txoj hauv kev los qoj ib ce ua lawv nyiam ncaws pob. Peb tab tom nrhiav ib txoj hauv kev los qhia kev sab hauv tsev nrog tsheb kauj vab/tus kws qhia teeb tsa kev lom zem me ntsis tab sis feem ntau
Tsheb kauj vab GPS LOSSIS tsheb taug qab ntawm SMARTPHONE: 9 Kauj Ruam
GPS BIKE LOS YOG CAR TRACKING FROM SMARTPHONE: Nyob Zoo, Zoo Siab Txais Tos rau Kev Tsim Kho Buzz. Ntawm no kuv qhia koj Li Cas Koj Taug Qab Koj Lub Tsheb Tsheb lossis Tsheb. Koj tuaj yeem taug qab qhov chaw nyob ntawm lub tsheb kauj vab siv cov tswv yim no