Cov txheej txheem:
- Kauj Ruam 1: Kaw Cov Hlau nplaum
- Kauj ruam 2: Hlau Sensors
- Kauj Ruam 3: Kos rau lub Sensors
- Kauj Ruam 4: Kaw cov Sensors On
Video: DIY Rotary Encoder: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Thov txim rau qhov tsis muaj cov duab, Kuv tsis tau txiav txim siab los ua qhov kev qhia no txog thaum tom qab kuv yuav luag tag nrog nws.
Txheej txheem cej luam:
Cov encoders teb siv ob lossis ntau lub ntsuas hluav taws xob txhawm rau txheeb xyuas txoj haujlwm, kev taw qhia ntawm kev sib hloov, nrawm, thiab tus lej ntawm cov khoom siv tig. Qhov tshwj xeeb no siv cov cuab yeej ua kom pom kev zoo thiab cov hlau nplaum. Hom tshwj xeeb no tuaj yeem tiv thaiv dej tau yooj yim los ntawm kev kaw lub ntsuas cua lossis tiv thaiv dej hauv lwm txoj kev. Hall effect rotary encoders ntawm qee qhov tsw tau siv hauv qee lub tsheb rau ob lub log nrawm sensor, thiab crankshaft txoj haujlwm sensor rau lub cav, thiab tseem siv hauv qee qhov ntsuas cua. Muaj peb hom tseem ceeb ntawm cov encoders teb:
1. Hluav taws xob, siv cov khoom siv hluav taws xob thiab txhuam
2. Kho qhov muag, siv lub teeb pom kev thiab lub ntsuas cua
3. Sib nqus, siv lub ntsuas hluav taws xob sib nqus ntawm qee yam thiab cov khoom siv sib nqus, xws li cov cuab yeej ua kom pom tseeb thiab cov hlau nplaum. Ib feem ntawm qhov hloov pauv tiag tiag tuaj yeem yog hlau nplaum ib yam.
en.wikipedia.org/wiki/Rotary_encoder
Ib txoj kab encoder tuaj yeem ua tau zoo ib yam nkaus li lub cav nkag teb chaws.
Kuv sim cov encoder kuv ua txog ~ 1500 RPM nrog cov nab npawb nab npawb ntawm raspberry pi. Qhov txuas rau cov cai thiab cov txheej txheem yuav nyob rau qhov kawg. Cov chaw tsim khoom tshwj xeeb ntawm qhov laum uas kuv siv los ntsuas nws hais tias qhov nrawm tshaj plaws ntawm 1500 RPM thiab qhov nrawm kuv tau yog ~ 1487 RPM los ntawm tus lej nkag mus ob qho tib si mus thiab ~ 1485 rov qab. Qhov no tuaj yeem yog los ntawm lub roj teeb tsis tau them tag nrho lossis lub sijhawm tsis zoo ntawm raspberry pi's. Ib qho arduino yuav siv tau zoo dua tab sis qhov kuv tsis nyiam 12v ntawm tus pin analog haha oops.
Cov Ntaub Ntawv/Cov Cuab Yeej:
1. Ib qho khoom tig (Kuv siv lub chuck los ntawm lub laum hluav taws xob)
2. Ob lossis ntau qhov kev ntsuas lub ntsej muag (nyob ntawm qhov kev daws teeb meem uas koj xav tau)
3. Plaub tus hlau nplaum (nyob ntawm qhov kev daws teeb meem uas koj xav tau)
4. Kua nplaum
5. Hlau (Kuv tau siv ob peb tus txuas los ntawm qee qhov kev tawg uas kuv muaj)
6. Cov laug
7. Soldering hlau
8. Cov cua sov ntsws ntsws, kab xev hluav taws xob, lossis lwm yam khoom tiv thaiv rau cov xov hlau, ntawm qhov koj nyiam
9. Npav ntaus ntawv xws li tus cim lossis tus cim
Kauj Ruam 1: Kaw Cov Hlau nplaum
Kauj Ruam 1: Kos cov ntsiab lus sib npaug nyob ib puag ncig sab nraud ntawm qhov tig thiab lo cov hlau nplaum, hauv qhov qhia kom raug, rau cov ntsiab lus no. Nws pab txhawm rau kos lub polarity ntawm cov hlau nplaum. Hauv kuv qhov xwm txheej nws yog txhua 90 degree (0, 90, 180, thiab 270 degrees) rau kev daws teeb meem ntawm 4/kev sib hloov uas ntau dua li txaus rau kuv daim ntawv thov, tab sis nws yuav txawv rau koj nyob ntawm qhov kev daws teeb meem koj tab tom tua rau. Ib txoj hauv kev zoo los xam qhov sib nrug yog: (360 degrees/tus naj npawb ntawm cov hlau nplaum) yog tias koj mus raws qib, lossis (ib puag ncig/tus naj npawb ntawm cov hlau nplaum) yog tias koj tab tom ntsuas. Hauv kuv qhov xwm txheej, cov neeg raug ntes rau tuav tes twb tau tawm mus zoo heev rau kuv daim ntawv thov yog li kuv tsis tas yuav ntsuas dab tsi.
Kauj ruam 2: Hlau Sensors
Cov kab hluav taws xob txuas mus rau lub ntsuas cua, tiv thaiv, thiab cua sov ntsws nws. Saib xyuas kom tsis txhob ntsuas kub dhau thiab nco ntsoov sim nws kom pom tias nws tseem ua haujlwm tom qab koj ua tiav. Kev ntsuas nws yog ib qho yooj yim, tsuas yog txuas lub zog thiab txuas tus LED rau lub teeb liab xaim. Yog tias LED tig thaum lub hlau nplaum ntawm kev qhia kom raug coj mus ib sab ntawm nws thiab tawm thaum nws rub tawm (yam tsis yog latching), lossis cov ncej sib txawv ntawm cov hlau nplaum tau siv (hom latching), tom qab ntawd koj zoo rau mus. Qhov tshwj xeeb uas kuv siv yog tsis yog latching thiab txuas rau hauv av (-) thaum qhib.
Kauj Ruam 3: Kos rau lub Sensors
Ua cov cim qhov twg cov ntsuas yuav tsum mus. Rau qhov kev npaj tshwj xeeb, qhov no yog ntawm 1/16 kev faib ntawm ib puag ncig (0, 1/16). Qhov laj thawj rau qhov no yog tias ib lub sensor yuav tsum tau tua ua ntej lwm qhov tab sis hauv txoj hauv kev uas tso cai rau tus tswj hwm kom paub qhov txawv ntawm lub sijhawm sib txawv ntawm mus tom ntej thiab thim rov qab. Kuv sim nws ntawm 1/8th cim thawj zaug tab sis kuv tsis tuaj yeem qhia qhov taw qhia nws tau mus vim tias lub sijhawm sib txawv zoo ib yam. Nws pab kaw kab ntawv ib ntus kom txog thaum koj tau txais txoj haujlwm raug, tom qab ntawd ua cov cim. Koj tuaj yeem ua ntu 1/8, koj yuav tsis muaj kev paub tab tab sis koj yuav muaj qhov kev daws teeb meem ob zaug. Ib yam uas tuaj yeem ua tiav yog siv txheej txheej thib ob ntawm ob lub ntsuas hluav taws xob nrog rau 1/8 kev faib sib nrug ntawm lwm sab ntawm 5/16 thiab 7/16 faib los ntawm lwm lub ntsuas kom tau txais kev daws teeb meem ntawm 16 mem tes/tig, tab sis Kuv tsis xav tau qhov kev daws teeb meem zoo ntawd. Lub sijhawm ua qauv qhia yog nyob hauv video.
Kauj Ruam 4: Kaw cov Sensors On
Muab cov kua nplaum tso rau ntawm cov cim thiab kaw lawv nyob rau qhov chaw kom txog thaum cov kua nplaum zoo. Nco ntsoov tawm qhov kev tshem tawm ntawm cov hlau nplaum thiab cov ntsuas kom lawv tsis txhob tsoo thiab tseem xyuas kom tseeb tias cov ntsuas tau sib haum nrog cov hlau nplaum thiab ua raws qhov tsim nyog. Tos kom cov kua nplaum kom qhuav thiab koj ua tiav.
Txhawm rau kom tau txais cov txheej txheem thiab cov nab npawb nab npawb rau raspberry pi txhawm rau ntsuas kev nrawm nrawm hauv RPM, kev taw qhia ntawm kev sib hloov, thiab tus lej tig mus ntawm no, thiab kom tau txais PDF rau qhov no mus ntawm no lossis ntawm no.
Vim li cas kuv thiaj them tus lej yog tias nws siv ~ 4 hnub kom tau txhua yam ua haujlwm tau zoo qhov seem ntawm txoj haujlwm, suav nrog tag nrho cov ntaub ntawv, tsuas yog siv ~ 7 teev (5 uas yog cov ntaub ntawv), ntxiv rau, $ 1 tsis ntau thiab nws pab txhawb nqa cov haujlwm loj dua thiab nyuaj dua, qhov tseeb, qhov no tsuas yog qhov haujlwm kuv tseem tsis tau them dab tsi rau, thaum lub sijhawm no tau tshaj tawm.
Pom zoo:
Timer Nrog Arduino thiab Rotary Encoder: 5 Kauj Ruam
Timer Nrog Arduino thiab Rotary Encoder: Lub timer yog cov cuab yeej siv feem ntau hauv kev lag luam thiab tsev neeg cov haujlwm no. Muaj ntau txoj haujlwm sau los ntawm kuv, rau Ardui
Rotary Encoder Controlled Robot Arm: 6 Kauj Ruam
Rotary Encoder Controlled Robot Arm: Kuv tau mus ntsib howtomechatronics.com thiab pom bluetooth tswj cov neeg hlau caj npab nyob ntawd.Kuv tsis nyiam siv bluetooth, ntxiv rau kuv pom peb tuaj yeem tswj servo nrog tus lej nkag teb chaws, yog li kuv rov txhim kho nws tias kuv tuaj yeem tswj tus neeg hlau caj npab siv lub tshuab ntsuas teb thiab sau nws
Lub Hwj Chim Timer Nrog Arduino thiab Rotary Encoder: 7 Cov Kauj Ruam (nrog Duab)
Lub Hwj Chim Timer Nrog Arduino thiab Rotary Encoder: Lub Hwj Chim Timer no yog ua raws lub sij hawm nthuav qhia ntawm: https: //www.instructables.com/id/Timer-With-Arduin…A lub zog muab khoom siv thiab SSR (lub xeev muaj zog xa tawm) ) tau txuas nrog nws.Ua haujlwm hnyav txog li 1KW tuaj yeem ua haujlwm thiab nrog kev hloov pauv me me
USB Volume Knob Siv DigiSpark thiab Rotary Encoder: 3 Kauj Ruam
USB Volume Knob Siv DigiSpark thiab Rotary Encoder: Qhov no yog qhov pheej yig tshaj USB Volume Control Knob. Qee lub sij hawm cov pob qhov rooj yooj yim dua rau kev tswj hwm yam tsis yog nyem nas nyob txhua qhov chaw. Txoj haujlwm no siv DigiSpark, Rotary Encoder thiab Adafruit Trinket USB Library (https: //github.c
Rotary Encoder - Nkag siab thiab Siv Nws (Arduino/lwm tus -Controller): 3 Cov Kauj Ruam
Rotary Encoder - Nkag siab thiab Siv Nws (Arduino/lwm tus ontController): Tus lej nkag teb yog cov cuab yeej siv hluav taws xob uas hloov cov lus tsa suab tig mus rau hauv digital lossis analog cov ntaub ntawv. Nws tuaj yeem tig lub moos los yog clockwise. Muaj ob hom kev hloov pauv ntawm tus lej: Tsis meej thiab txheeb ze (nce ntxiv) encoders.Wh