Cov txheej txheem:
- Kauj Ruam 1: Sib sau Cov Khoos Phis Tawj
- Kauj Ruam 2: Tsim Circuit Court
- Kauj Ruam 3: Kovari's Circuit Design
- Kauj Ruam 4: Giacomo's Circuit Design
- Kauj ruam 5: Software
- Kauj Ruam 6: Ntim Nws
Video: 4 Ch DMX Dimmer: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Lub tswv yim yog tsim thiab tsim lub dimmer nqa tau.
Yuav tsum:
- DMX512 Tswj tau
- 4 Raws
- Portable
- Yooj yim rau siv
Kuv tau thov lub tswv yim no rau kuv tus xibfwb ntawm WSU vim tias kuv xav ua ke kuv lub siab nyiam ua yeeb yam thiab khoos phis tawj. Txoj haujlwm no ua haujlwm zoo ib yam li kuv qhov haujlwm loj hauv chav ua yeeb yam. Yog tias koj muaj lus nug lossis lus nug, kuv xav pab.
Kev txhim kho yav tom ntej tuaj yeem suav nrog ntau txoj hauv kev, 5 tus pin DMX txuas, DMX passthrough, 8 nqes hluav taws xob hloov pauv cov channel, luam tawm Circuit board.
Kuv tau tsiv qhov haujlwm no los ntawm https://danfredell.com/df/Projects/Entries/2013/1/6_DMX_Dimmer.html vim tias nws tseem nrov, kuv twv. Tsis tas li kuv poob kuv cov ntaub ntawv noob iWeb yog li kuv tsis tuaj yeem hloov kho nws tau yooj yim dua. Nws yuav yog qhov zoo tso cai rau tib neeg los sib qhia lawv cov lus nug ntawm qhov haujlwm ib leeg.
Kauj Ruam 1: Sib sau Cov Khoos Phis Tawj
Kho vajtse Siv: Feem ntau nws tau xaj los ntawm Tayda Electronics. Kuv nyiam lawv zoo dua DigiKey vim qhov me me thiab nkag siab yooj yim rau xaiv.
- ATMEGA328, Micro-controller
- MOC3020, TRIAC Optocoupler. Tsis yog ZeroCross.
- MAX458 lossis SN75176BP, DMX Txais
- ISP814, AC Optocoupler
- 7805, 5v Tus Tswj
- BTA24-600, 600V 25A TRIAC
- 20 MHz Crystal
- 9V Fais fab mov
Ob peb qhov teeb meem thiab kawm tau los ntawm txoj kev
- Yog tias koj tsis yog tus kws tshaj lij sau npe, lo nrog ATMEGA328P
- Tsis ncaj ncees optocouplers. Koj tsis xav tau Zero Cross
- Cov channel siab tsis ruaj khov. Hloov los ntawm 16MHz txog 20MHz daws qhov teeb meem no
- Tsis tuaj yeem muaj DMX teeb pom kev zoo vim hais tias kev cuam tshuam hu yuav tsum tau nrawm heev
- Lub zog DC yuav tsum ruaj khov heev, txhua lub suab nrov yuav ua rau DMX teeb liab nrov nrov
TRIAC tsim los ntawm MRedmon, ua tsaug.
Kauj Ruam 2: Tsim Circuit Court
Kuv siv Fritzing 7.7 ntawm Mac los tsim kuv lub voj voog.
MAX485 nyob rau sab saum toj yog siv los hloov lub teeb liab DMX rau qee yam uas Arduino nyeem tau.
4N35 ntawm sab laug yog siv txhawm rau txheeb xyuas qhov xoom hla ntawm AC teeb liab yog li Arduino yuav paub thaum twg thiaj li dim lub Sine yoj tso tawm. Xav paub ntau ntxiv txog yuav ua li cas kho vajtse thiab software cuam tshuam hauv ntu software.
Kuv tau txais cov lus nug yuav qhov haujlwm no ua haujlwm nyob hauv Europe nrog 230V thiab 50Hz? Kuv tsis nyob hauv Europe, thiab kuv tsis tau mus ncig ntau zaus kom tuaj yeem sim qhov kev tsim no. Nws yuav tsum ua haujlwm, koj tsuas yog yuav tsum hloov kho qhov ci ci lub sijhawm ntawm cov cai rau qhov sib txawv zaus ncua sijhawm.
Kauj Ruam 3: Kovari's Circuit Design
Los ntawm cov txheej txheem ntawm muaj kuv lub vev xaib Kuv tuaj yeem muaj ob peb tus email sib tham. Ib tus tau nrog Kovari Andrei uas ua tus tsim tsim hluav taws xob raws qhov haujlwm no thiab xav qhia nws qhov kev tsim. Kuv tsis yog tus tsim lub rooj sib tham tab sis nws yog Eagle project. Qhia rau kuv paub tias nws ua haujlwm li cas rau koj yog tias koj siv nws.
Kauj Ruam 4: Giacomo's Circuit Design
Qee lub sij hawm tib neeg yuav xa xov rau kuv nrog kev hloov pauv zoo uas lawv tau ua nrog cov lus qhia no thiab kuv xav tias kuv yuav tsum qhia lawv rau txhua tus ntawm koj.
Giacomo hloov kho qhov Circuit Court yog li qhov chaw nruab nrab tapped transformer tsis xav tau. Lub pcb yog ib leeg ib sab thiab tuaj yeem yog qhov kev daws teeb meem ntau dua rau leej twg tsis tuaj yeem ua ob tog nyob hauv tsev (nyuaj me ntsis).
Kauj ruam 5: Software
Kuv yog software engineer los ntawm kev lag luam yog li qhov no yog qhov ntxaws tshaj plaws.
Summery: Thaum Arduino thawj khau raj teeb tsa () txheej txheem hu ua. Nyob rau ntawd kuv teeb tsa ob peb qhov hloov pauv thiab cov chaw tso tawm kom siv tom qab. zeroCrossInterupt () hu ua/ khiav txhua lub sijhawm AC hla ntawm qhov zoo mus rau qhov tsis zoo. Nws yuav teeb tsa tus chij zeroCross rau txhua tus channel thiab pib lub sijhawm. Lub voj () txheej txheem hu ua txuas ntxiv mus tas li. Txhawm rau qhib cov zis, TRIAC tsuas yog yuav tsum tau ua rau 10 microseconds. Yog tias nws yog lub sijhawm los ua rau nws TRIAC thiab zeroCross tau tshwm sim cov zis yuav tig mus txog thaum kawg ntawm AC theem.
Muaj qee qhov piv txwv online uas kuv tau siv los pib qhov haujlwm no. Qhov tseem ceeb uas kuv nrhiav tsis tau yog muaj ntau yam TRIAC tso tawm. Lwm tus siv qhov ua haujlwm qeeb rau PWM tso tawm, tab sis qhov ntawd yuav tsis ua haujlwm hauv kuv rooj plaub vim tias ATMEGA yuav tsum tau mloog DMX txhua lub sijhawm. Kuv daws qhov no los ntawm pulsing TRIAC ntawm ntau ms tom qab xoom-hla. Los ntawm pulsing TRIAC ze rau xoom-hla qhov ntau ntawm kev ua txhaum nthwv dej tawm.
Nov yog qhov ib nrab 120VAC qhov kev ua txhaum zoo li ntawm oscilloscope, saum toj no.
ISP814 txuas nrog cuam tshuam 1. Yog li thaum nws tau txais lub teeb liab tias AC hloov pauv los ntawm qhov zoo mus rau qhov tsis zoo lossis vise sib txawv nws teeb tsa zeroCross rau txhua tus channel kom muaj tseeb thiab pib lub sijhawm nres.
Hauv lub voj () txoj hauv kev, nws tshuaj xyuas txhua txoj hauv kev yog tias xoomCross muaj tseeb thiab lub sijhawm rau nws qhib tau dhau los nws yuav ua rau TRIAC rau 10 microseconds. Qhov no txaus los qhib TRIAC. Thaum TRIAC qhib rau nws yuav nyob twj ywm mus txog rau thaum xoom hla. Lub teeb yuav flicker thaum DMX nyob ib puag ncig 3% yog li kuv tau ntxiv qhov txiav me me nyob ntawd kom tiv thaiv nws. Qhov no tau ua rau Arduino qeeb dhau, thiab cov mem tes yuav qee lub sijhawm ua rau nthwv dej txhaum tom ntej no tsis yog 4% kawg ntawm nthwv dej.
Tsis tas li hauv lub voj () Kuv teeb PWM tus nqi ntawm cov xwm txheej LEDs. Cov LEDs no tuaj yeem siv PWM sab hauv tsim los ntawm Arduino vim tias peb tsis tas yuav txhawj xeeb txog xoomCross ntawm AC. Thaum PWM tau teeb tsa Arduino yuav txuas ntxiv ntawm qhov ci ci ntawd kom txog thaum qhia lwm qhov ntse.
Raws li tau sau tseg hauv cov lus hais saum toj kawg nkaus txhawm rau siv DMX cuam tshuam ntawm tus pin 2 thiab khiav ntawm 20MHz koj yuav tau kho qee cov ntaub ntawv thov Arduino. Hauv HardwareSerial.cpp ib thooj ntawm cov cai yuav tsum raug tshem tawm, qhov no tso cai rau peb sau peb tus kheej cuam tshuam hu. Txoj hauv kev ISR no yog hauv qab ntawm txoj cai los tswj DMX cuam tshuam. Yog tias koj yuav siv Arduino ua ISP programmer, nco ntsoov rov qab hloov koj li HardwareSerial.cpp txwv tsis pub ATMEGA328 ntawm lub rooj mov ci yuav tsis tuaj yeem nkag mus. Qhov kev hloov thib ob yog qhov yooj yim dua. Cov ntaub ntawv boards.txt yuav tsum tau hloov mus rau qhov tshiab 20MHz moos ceev.
ci ntsa iab [ch] = daim ntawv qhia (DmxRxField [ch], 0, 265, 8000, 0);
Cov duab ci ci rau 8000 vim tias yog tus nqi microseconds ntawm 1/2 ntawm AC sine wave ntawm 60hz. Yog li ntawm qhov ci tag nrho 256 DMX txoj haujlwm yuav tawm 1/2 AC AC sine wave ON rau 8000us. Kuv tuaj nrog 8000 ntawm kev twv thiab kos. Ua lej ntawm 1000000us/60hz/2 = 8333 yog li ntawd tej zaum yuav yog tus lej zoo dua, tab sis muaj qhov ntxiv 333us dhau lub taub hau tso cai rau TRIAC qhib thiab muaj qhov tsis txaus ntseeg hauv qhov haujlwm yog tej zaum yog lub tswv yim zoo.
Ntawm Arduino 1.5.3 uas lawv tau hloov chaw ntawm HardwareSerial.cpp cov ntaub ntawv. Nws yog tam sim no /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/HardwareSerial0.cpp Koj yuav tsum tau tawm tswv yim tag nrho no yog tias thaiv pib nrog kab 39: #if txhais (USART_RX_vect)
Txwv tsis pub koj yuav xaus nrog qhov yuam kev no: core/core.a (HardwareSerial0.cpp.o): Hauv kev ua haujlwm `_vector_18 ':
Kauj Ruam 6: Ntim Nws
Kuv tau khaws lub thawv txho txho ntawm Menards hauv lawv qhov hluav taws xob. Kuv siv lub tshuab pom rov qab los txiav tawm qhov hluav taws xob ntsaws qhov. Cov ntaub ntawv tau txais kev ua yeeb yam c-clamp txuas rau sab saum toj rau dai lub hom phiaj. Teeb pom kev zoo rau txhua qhov kev tawm tswv yim thiab tso tawm los pab kuaj xyuas yog tias muaj teeb meem ib txwm muaj. Tus neeg tsim daim ntawv lo tau siv los piav qhia qhov chaw nres nkoj sib txawv ntawm lub cuab yeej. Cov lej tom ntej ntawm txhua lub ntsaws sawv cev rau DMX channel tus lej. Kuv txuas daim phiaj hluav taws xob thiab hloov pauv nrog qee cov kua nplaum kub. Cov LEDs tau daig hauv qhov chaw nrog cov tuav tuav.
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
RC Tracked Robot Siv Arduino - Kauj Ruam Ib Nrab: Hav guys, Kuv rov qab los nrog lwm tus neeg hlau txias chassis los ntawm BangGood. Vam tias koj tau dhau los ntawm peb cov phiaj xwm yav dhau los - Spinel Crux V1 - Tus Cwj Pwm Tswj Tus Neeg Hlau, Spinel Crux L2 - Arduino Xaiv thiab Muab Neeg Hlau nrog Robotic caj npab thiab Badland Braw
All in One · DMX Terminator & DMX Tester: 3 Kauj Ruam
Txhua Hauv Ib · DMX Terminator & DMX Tester: Raws li tus kws tshaj lij teeb pom kev zoo, qee zaum koj yuav tsum paub paub tias koj li kev sib txuas dmx nyob ntawm cov khoom siv li cas. Qee zaum, vim yog cov xov hlau, teeb lawv tus kheej lossis hloov pauv qhov muaj zog, DMX system tau nthuav tawm ntau yam teeb meem thiab ua yuam kev. Yog li kuv ua
Kawm Yuav Ua Li Cas Kos Tus Tswm Ciab - Kauj Ruam Ib Kauj Ruam: 6 Kauj Ruam
Kawm Yuav Ua Li Cas Thiaj Li Tswmciab - Kauj Ruam Ib kauj ruam: Cov tswm ciab no siv sijhawm 10 feeb los kos yog tias koj ua raws kuv cov kauj ruam ua tib zoo