Cov txheej txheem:
- Kauj Ruam 1: Khawv Koob - Circuit
- Kauj Ruam 2: Khawv Koob - Tsev Nyob
- Kauj Ruam 3: Lub Hauv Paus (Hloov 12v LED Vaj Huam Sib Luag)
Video: Magic Button '' Hloov Chaw Taws Teeb: 3 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Teeb meem: Lub teeb vaj huam sib luag LED (DIY - tau kawg!) Tau teeb tsa ntawm lub qab nthab ntawm kuv lub rooj cob qhia/chav nres tsheb tau txuas rau lub qhov hluav taws xob ntawm lub qab nthab. Kuv xav tau qee txoj hauv kev los hloov nws nyob thiab tawm ntawm qhov chaw uas lub teeb pom kev tseem nyob.
SOLUTION: Lub "Khawv Koob" tau yug los.
Khawv koob khawm yog lub me me nyob ib leeg infrared chaw taws teeb nrog lub pob loj (nws yog qhov tseeb, Kuv nyiam cov nyees khawm loj - saib qee yam ntawm kuv lwm Cov Lus Qhia). Thaum nias lub teeb liab raug xa los ntawm IR LED mus rau lub hauv paus los hloov lub vaj huam sib luag rau thiab tawm.
Hauv qhov xwm txheej no kuv tau siv tshwj xeeb tsim lub tsev txais (uas tseem muaj qee qhov kev hloov pauv ntxiv - rub rub thiab sim teeb pom kev pom - pom tom qab). Tab sis Khawv Koob Kuj tseem tuaj yeem siv ntawm nws tus kheej kom hloov ntawm IR tswj cov cuab yeej, zoo li TV.
Kauj Ruam 1: Khawv Koob - Circuit
XEEM
1x ATTINY85 SMD2x 22pF SMD Capacitors1x 47R SMD Resistor1x 5mm TSAL6200 (lossis Zoo ib yam) Infrared LED
1x 6pin 2mm Pitch Header1x 12x12x12mm Push Button with Cap (https://www.ebay.com/itm/131912566751)
24mmx24mm Ib Leeg 0.8mm PCB22AWG (0.7mm) Tinned Copper WireUSBasp Programmer (https://www.fischl.de/usbasp/)
PCB
PCB tau tsim los siv cov txheej txheem hlau-rau toner ntawm 0.8 hli tuab pawg thawj coj saib. Mount cov khoom siv saum npoo av ua ntej. Siv ob peb cm ntawm cov hlau xaim tooj liab xaim rau hauv cov roj teeb (ntawm sab tooj liab ntawm PCB) txhawm rau txuas rau lub roj teeb tuav tom qab.
FIRMWARE
Lub firmware yuav tsum tau rub tawm siv tus programmer USBasp. Cov koob ntawm tus programmer (https://www.batsocks.co.uk/readme/isp_headers.htm) yuav tsum txuas nrog 6 tus pin header ntawm Magic Button (saib teeb tsa PDF rau tus pin-outs). Kuv tau siv ob peb tus txuas txuas ua ke los ua tus hloov pauv, tab sis koj tuaj yeem yooj yim siv cov jumper xov hlau.
Nruab ATTiny kev txhawb nqa ntawm koj li Arduino IDE (https://highlowtech.org/?p=1695) thiab qhib daim duab txuas. Xaiv: Pawg: ATtiny25/45/85Timer 1: CPUChip: ATtiny85Clock: 8Mhz (sab nraud) BOD xiam oob qhab
Tom qab ntawv xaiv qhov hlawv bootloader xaiv los hlawv cov teeb tsa no. Tam sim no upload koj daim duab.
Kuv tau suav nrog qhov hloov kho ntawm ir-xa tsev qiv ntawv (https://github.com/anorneto/attiny85_ir_send). Kuv tsis tuaj yeem tau txais lub tsev qiv ntawv los ua haujlwm zoo li nws yog - lub sijhawm los ntawm delayMicroseconds () zoo li yuav tawm los ntawm qhov xwm txheej ntawm ob txawm tias kuv tau teeb tsa lub moos raug - tej zaum kuv muaj qhov tsis raug ntawm ATTiny core teeb tsa? Kuv tau kho qhov kev hu xov tooj kom ncuaMicroseconds () los ntawm qhov tseem ceeb los them nyiaj - tab sis koj yuav muaj hmoov zoo nrog lub tsev qiv ntawv tsis hloov kho.
Yog tias koj yuav siv Khawv Koob los qhib lub cuab yeej uas twb muaj lawm, tom qab ntawd koj yuav tsum hloov kho daim duab kom nws thiaj li xa qhov raug cai IR code IRCODERAW (saib cov ntawv siv hauv Cov Hauv Paus Hauv Tsev kauj ruam ntawm Cov Lus Qhia no).
Koj tuaj yeem tshawb xyuas tias lub voj voog ua haujlwm los ntawm kev saib IR LED siv koj lub xov tooj ntawm tes lub koob yees duab, uas tuaj yeem 'pom' infrared txawm tias koj lub qhov muag tsis tuaj yeem pom.
Kauj Ruam 2: Khawv Koob - Tsev Nyob
PARTS1x Jamma Long Arcarde Button (https://www.ebay.com/itm/301287758471)2x 2x3x8mm Rare Earth MagnetsSteel los ntawm Tin CanEpoxy Glue3D Luam Tshooj4x M2 6mm Screws thiab Nuts1x CR2025 3V Roj Teeb
Kev tsim kho
Muaj plaub qhov luam tawm 3D: Plhaub, Lub hauv paus, Lub Roj Teeb thiab Lub Tshuab Spacer.
Kuv ob daim qauv (pom hauv daim duab npe) muaj qhov sib txawv me ntsis tsim:- Ib qho dawb (uas kuv tau teeb tsa ntawm phab ntsa kom hloov lub vaj huam sib luag LED) muaj LED teeb tsa ntawm kwv yees li 40 degree lub kaum ntse ntse kom nws taw tes rau tus txais ntawm qab nthab. Nws kuj muaj qhov sib dhos hauv qhov hauv paus.- Cov xim ib yog me ntsis ntau dua sib npaug thiab muaj LED tsom mus rau kab rov tav. Qhov no yog tsim los muab tso rau ntawm lub tiaj tiaj kom tig lub TV lossis lwm yam khoom siv.
Raws li txuas nrog.stl cov ntaub ntawv rau ob qho no, kuv kuj tau suav nrog tsab ntawv OpenSCAD yog li koj tuaj yeem tsim koj tus kheej Khawv Koob khawm nrog cov tsis sib txawv.
Cov Arcade khawm yuav tsum tau muab sib dhos thiab txiav hauv ob qhov chaw nrog hacksaw raws li qhia. Lub pob khawm (los ntawm 12mm thawb khawm) haum rau hauv lub pob khawm uas txuas rau sab saum toj ntawm Arcade khawm.
Lub hauv paus yog tuav rau lub plhaub sib nqus: Ob lub hlau nplaum tau lo rau hauv lub qhov hauv lub plhaub - xyuas kom tseeb tias lawv yaug. Ob daim me me ntawm cov hlau (4x10mm) raug txiav (ua tib zoo - ntse! - xa cov npoo) los ntawm cov kaus poom. Cov no tau txuas rau hauv qhov chaw cim ntawm lub hauv paus. Nco ntsoov tias lawv tsis sib tshooj sab nrauv.
Muab lub roj teeb tso rau ntawm ob lub xov hlau thiab ntsia hlau rau PCB nrog M2 ntsia hlau. Cov xov hlau tau txiav thiab khoov raws li qhia hauv daim duab, yog li thaum lub roj teeb raug ntxig nws ua rau sib cuag nrog txhua lub xaim. Lub siab ntawm ob sab xaim yuav tsum tuav lub roj teeb nyob hauv txoj haujlwm.
Kua nplaum sab nrauv ntawm Arcade khawm rau hauv lub qhov nyob rau sab saum toj ntawm lub plhaub. Tom qab ntawd nws yuav tsum tsuas yog haum ua ke!
Kauj Ruam 3: Lub Hauv Paus (Hloov 12v LED Vaj Huam Sib Luag)
XEEM (CIRCUIT)
1x Arduino Nano ATmega168 5V1x 3mm Liab LED1x 3mm Daj LED1x 5V Relay1x LDR (Lub Teeb Ntsuas Tus Kheej) 1x 2N2222 NPN transistor2x 1N4007 Diodes1x TSOP4138 IR Receiver1x Mini Slide Switch1x Micro Hloov (los ntawm Arcade Button) 1x 100K Multi-turn TrimItot Step Down Module (https://www.ebay.com/itm/360741066304)DC qhov (socket) thiab Plug
XEEM (CASE)
1mm Waxed Bead Cord24mm Txoj Kab Ntoo Ntoo (nrog 5mm Txoj Kab Hau) 1x 12mm M6 Dub Ntsia Hlau Case 116mmx68m36mm (https://www.ebay.com/itm/382231522470)
Dub XimEpoxy Glue
ZOO SIAB
Lub hauv paus chav tsev muaj IR tus txais uas yuav hloov pauv qhov xa rov qab thaum lub khawm Khawv Koob raug nias. Xwb, tseem muaj qhov rub rub uas tuaj yeem siv tau (piv txwv li yog Magic Button roj teeb tiaj tus).
Kuj tseem muaj kev sim teeb pom kev zoo. Qhov no tuaj yeem hloov pauv lossis tawm nrog lub swb swb (Kuv tsis paub meej tias qhov kev ua haujlwm no yuav ua haujlwm zoo li cas). Yeej thaum lub teeb tseem ceeb hauv chav nres tsheb qhib, nws yuav nkag siab lub teeb thiab hloov ntawm qhov txuas. Qee lub raj dub thiab cua sov-ntsws tau muab tso rau ntawm LDR kom ua rau nws muaj kev coj ua ntau dua, thiab tau tsom mus rau lub teeb tsom teeb loj. Lub trimpot tau hloov kho kom raug qhov teeb pom kev zoo (lub teeb daj yuav ci thaum lub teeb pib mus txog).
Kev tsim kho
Solder lub qhov hluav taws xob nkag qhov hluav taws xob thiab nqis qis tus tswj hwm thawj zaug, tom qab ntawv thov lub zog thiab kho tus tswj hwm rau qhov ntsuas hluav taws xob ntawm 4.5 - 5 volts. Kub nplaum lub trimpot hauv txoj hauj lwm. Nco ntsoov koj ua qhov no ua ntej txhim kho Arduino, lossis koj tuaj yeem tshuab nws vim qhov hluav taws xob ntau dhau
Muaj ob qhov luam tawm 3D:- Ib qho rau rub lub tshuab hloov pauv. Cov xov ciab yog xov los ntawm lub qhov raws li qhia, nrog lub pob cyuam loj khi rau thaum kawg. - Lwm qhov yog ntsaws rau pob. Qhov no tau txuas rau hauv lub qhov hauv pob thiab lwm qhov kawg ntawm cov xov hla. Ib txoj hlua tau txuas rau lwm qhov kawg, thiab M6 ntsia hlau tau ntsia rau hauv lub hauv paus ntawm pob (kom nws hnyav).
FIRMWARE
Lub firmware siv IR cov tsev qiv ntawv nyob deb ntawm no: https://github.com/z3t0/Arduino-IRremote Upload rau Arduino ib txwm ua.
Yog tias koj xav ua raws li kev tswj chaw taws teeb uas twb muaj lawm (kom qhib TV) tom qab ntawd siv IRrecvDump piv txwv kos duab los ntawm lub tsev qiv ntawv no los nyeem thiab pov tseg cov cai los ntawm koj lub TV tej thaj chaw deb. Siv cov lej pov tseg pov tseg hauv Khawv Koob kos duab. Tau kawg, hauv qhov xwm txheej no koj yuav tsis tas yuav tsim lub hauv paus, tab sis hais txog cov txheej txheem raws li koj yuav xav txuas IR Tus Txais Txais mus rau Arduino txhawm rau txhawm rau nyeem thiab pov tseg.
IR TSO CAI
Kuv tau xub teeb tsa IR Tus Txais Txais ntawm PCB (txuas rau hauv 3 tus pin header kom nce nws qhov siab), thiab pom los ntawm lub qhov hauv rooj plaub. Tab sis kuv pom tias nws tsis pom 'txaus los sau npe nias, yog li kuv tau xaus qhov teeb tsa sab nraud ntawm rooj plaub, thiab tam sim no nws ua haujlwm zoo tag nrho.
Zoo siab khawm nias!
Khiav Tawm Hauv Kev Sib Tw Wireless
Pom zoo:
Chaw Ua Si Chaw Taws Teeb Chaw Tswj Hluav Taws Xob Wireless 3D Luam Tsheb: 7 Cov Kauj Ruam (nrog Duab)
Chaw Ua Si Chaw Taws Teeb Chaw Tswj Hluav Taws Xob Wireless 3D Luam Tsheb: Leej twg tsis nyiam twv txiaj? Sib tw thiab Sib ntaus hauv Ntiaj Teb Virtual ntawm Chaw Ua Si thiab Xbox !! Yog li, coj qhov kev lom zem rau lub neej tiag tiag Kuv tau ua Cov Lus Qhia no uas kuv yuav qhia koj li cas koj tuaj yeem siv ib qho Chaw Ua Si Chaw Taws Teeb Chaw Taws Teeb (Wired
Bluetooth Chaw Taws Teeb Tswj Chaw Teeb - Retrofit. Lub Teeb Hloov Tseem Ua Haujlwm, Tsis Muaj Kev Sau Ntawv Ntxiv: 9 Kauj Ruam (nrog Duab)
Bluetooth Chaw Taws Teeb Tswj Kev Teeb - Retrofit. Lub Teeb Hloov Tseem Ua Haujlwm, Tsis Muaj Kev Sau Ntxiv: Hloov Kho Lub Kaum Ib Hlis 25, 2017 - Rau Lub Hwj Chim Siab ntawm qhov haujlwm no uas tuaj yeem tswj tau kilowatts ntawm kev thauj mus los saib Retrofit BLE Kev Tswj rau Kev Siv Lub Hwj Chim Siab - Tsis Xav Tau Ntxiv Ntxiv Qee cov BLE cov laug cam / software sib sau ua ke
Ordinary Cov Khoom Siv Hluav Taws Xob Hloov pauv mus rau Plaub-channel RC Qho Chaw Taws Teeb Chaw Taws Teeb: 4 Cov Kauj Ruam
Ordinary Cov Khoom Siv Hluav Taws Xob hloov pauv mus rau plaub-channel RC Toy Remote Control: 将 将 通用 遥控 器 转换 转换 玩具 玩具 模型 使用 的 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62方法 方法 非常。 只需 准备 一些 瓦楞纸 瓦楞纸 板 板 , , , 然后 然后
Hloov koj li IR Chaw Taws Teeb rau RF Chaw Taws Teeb: 9 Kauj Ruam (nrog Duab)
Hloov Koj Li IR Chaw Taws Teeb rau RF Chaw Taws Teeb: Hauv hnub no Qhia tau, kuv yuav qhia koj li cas koj tuaj yeem siv tus lej RF tsis muaj lub microcontroller uas thaum kawg yuav coj peb los tsim txoj haujlwm uas koj tuaj yeem hloov IR Chaw Taws Teeb ntawm ib lub cuab yeej mus rau RF Tej thaj chaw deb. Qhov txiaj ntsig tseem ceeb ntawm kev hloov pauv
Olympus Evolt E510 Cov Hluav Taws Xob Hluav Taws Xob Tshaj Tawm (Version 2 Nrog Pib Ua Haujlwm ntawm Chaw Taws Teeb): 6 Cov Kauj Ruam (nrog Duab)
Olympus Evolt E510 Cov Hluav Taws Xob Hluav Taws Xob Tso Tawm (Version 2 Nrog Pib Ua Haujlwm ntawm Cov Chaw Taws Teeb): Nag hmo Kuv tau tsim lub khawm yooj yim ib qho chaw taws teeb rau kuv Olympus E510. Cov koob yees duab feem ntau muaj lub khawm kaw (qhov uas koj thawb kom thaij duab) uas muaj ob hom. Yog tias khawm maj mam nyuaj siab, lub koob yees duab yuav pib tsom thiab ntsuas lub teeb