Cov txheej txheem:

Tsim Koj Tus Kheej DMX Fixture - Arduino: 7 Kauj Ruam (nrog Duab)
Tsim Koj Tus Kheej DMX Fixture - Arduino: 7 Kauj Ruam (nrog Duab)

Video: Tsim Koj Tus Kheej DMX Fixture - Arduino: 7 Kauj Ruam (nrog Duab)

Video: Tsim Koj Tus Kheej DMX Fixture - Arduino: 7 Kauj Ruam (nrog Duab)
Video: Python! Reading and Writing JSON Files 2024, Hlis ntuj nqeg
Anonim
Image
Image
Tsim Koj Tus Kheej DMX Fixture - Arduino
Tsim Koj Tus Kheej DMX Fixture - Arduino
Tsim Koj Tus Kheej DMX Fixture - Arduino
Tsim Koj Tus Kheej DMX Fixture - Arduino

Zoo siab txais tos rau kuv nplooj Ntawv Qhia thib ob. Kuv tau kawm ntau yam los ntawm lub xaib no thiab qhov no zoo li yog qhov chaw zoo los qhia kuv cov phiaj xwm. Kuv vam tias koj pom txoj haujlwm no lom zem thiab muaj txiaj ntsig. Kuv mob siab paub koj xav li cas. Qhia rau kuv paub hauv cov lus, thov nco ntsoov tias kuv yog tus pib thiab tsis yog tus neeg hais lus. Txhua yam ntawm koj cov lus tau txais tos;)

Txoj Haujlwm

Hauv Cov Lus Qhia Kuv yuav qhia koj yuav ua li cas tsim DMX teeb tsa txhua yam ntawm koj tus kheej. Nrog rau qhov yog nws yooj yim ua rau xav tsis thoob, koj tsuas yog xav tau ob peb yam khoom. Kuv yuav qhia koj yuav hloov kho lub teeb liab DMX li cas (+2.5V thiab -2.5V) mus rau lub teeb liab haum (5V) rau koj Arduino thiab yuav ua li cas thiaj ua tau lub teeb liab no. Ntxiv mus Kuv yuav qhia koj yuav ua li cas tswj hwm lub zog loj LEDs ntawm tus pin PWM.

Saib cov vis dis aus kom paub ntau ntxiv thiab pom lub teeb DMX hauv kev nqis tes ua.

Kauj Ruam 1: Txheej Txheem Txheej Txheem thiab Tom Qab

Txheej txheem cej luam thiab keeb kwm yav dhau
Txheej txheem cej luam thiab keeb kwm yav dhau
Txheej txheem cej luam thiab keeb kwm yav dhau
Txheej txheem cej luam thiab keeb kwm yav dhau
Txheej txheem cej luam thiab keeb kwm yav dhau
Txheej txheem cej luam thiab keeb kwm yav dhau

Kuv cov phooj ywg thiab kuv tsis yog neeg txawv rau Dutch qhov chaw ua yeeb yam thiab qee zaum peb nyiam teeb tsa ob tog peb tus kheej. Tsuas yog thaum peb teeb tsa ib tog peb tsis muaj teeb pom kev ntau thiab yog li kuv tau ua ob peb DMX teeb tsa kuv tus kheej. Hauv daim duab thib peb koj tuaj yeem pom kuv thawj zaug (ua tiav) sim tsim DMX teeb tsa ntawm kuv tus kheej.

Vim tias kuv tus phooj ywg tsis meej pem tau tso tsab ntawv no kuv yuav tsum ua tus tshiab thiab kuv xav tias nws yuav yog lub tswv yim zoo los tshaj tawm kuv qhov kev nce qib ntawm Cov Lus Qhia rau lub sijhawm no. Txaus siab rau! Kuv vam tias nws tuaj yeem muaj txiaj ntsig zoo rau koj qhov project.

Kauj Ruam 2: Tau Koj Cov Khoom Siv

Tau txais koj cov khoom siv
Tau txais koj cov khoom siv

Nws yog lub sijhawm kom tau txais koj cov khoom siv! Cov khoom feem ntau ntawm cov npe kuv tau txais los ntawm eBay lossis Amazon. Cov khoom no tau muaj dav yog li kuv rov pom nws yuav tsis muaj teeb meem pom lawv.

Qhov

  • Lub Hwjchim Loj UV LEDs (700mA) suav nrog. lub hnub qub daim hlau
  • ATmega328 IB
  • 5V qhov ntsuas hluav taws xob IC (L7805CV)
  • N-channel mosfet (BUZZ11)
  • Me me transistor (2N2222)
  • 10-dip Hloov
  • Teeb liab hloov IC (SN75176BP) lossis MAX485
  • 16mhz ua
  • 22 pF ceramic capacitors [2x]
  • 1 uF ceramic capacitor
  • 10 uF electrolytic capacitor
  • Lub zog loj tiv taus (0.81ohm, 5W)
  • 100K ohm resistor
  • 10K ohm resistor [11x]
  • XLR qhov (txiv neej thiab poj niam)
  • Fais fab mov / adapter (32V thiab 16V, Kuv khaws qhov no los ntawm lub tshuab luam ntawv qub)
  • Thaum tshav kub kub tog
  • Headers thiab pins
  • Proto-pawg thawj coj saib
  • Cov khoom siv rau lub casing (Kuv siv ntoo nrawm (hauv Dutch: MDF))

Kauj Ruam 3: Lub Sijhawm Rau Cov Kws Lij Choj

Lub sij hawm rau Solder
Lub sij hawm rau Solder
Lub sij hawm rau Solder
Lub sij hawm rau Solder
Lub sij hawm rau Solder
Lub sij hawm rau Solder

Nws yog lub sijhawm kom sov cov hlau txuas thiab qhia tawm koj cov txuj ci.

Vim tias cov phiaj xwm phiaj xwm me me, kuv tau siv peb ntawm lawv. Kuv faib nws hauv pawg tswj hwm lub hwj chim, pawg tswj hwm thiab pawg hloov pauv. Kuv tau muab lub rooj hloov pauv hloov mus rau hauv qab yog li qhov hloov pauv tau ntsib sab nraud yog li tus neeg siv tuaj yeem nkag mus tau thiab hloov DMX pib qhov chaw nyob.

Kauj Ruam 4: Tsim Rooj plaub

Tsim Case
Tsim Case
Tsim Case
Tsim Case
Tsim Case
Tsim Case
Tsim Case
Tsim Case

Qhov no ib txwm muaj teeb meem rau kuv. Kuv tsis muaj cov tshuab hnyav lossis lub tshuab luam ntawv 3D ntawm kuv qhov pov tseg yog li kuv tau txiav txim siab rau cov ntoo nrawm (MDF). Ntoo yog qhov hloov pauv tau yooj yim thiab kuv muaj kev tswj hwm cov khoom tiav.

Rau feem ntau kuv siv cov ntsia hlau thiab ntoo kua nplaum. Tsuas yog ib feem uas kuv tsis tau siv cov kua nplaum ntoo yog sab xub ntiag, yog li kuv tuaj yeem nkag mus rau sab hauv.

Kuv paub tias cua sov thiab ntoo tsis yog phooj ywg zoo tshaj. Kuv thawj zaug tuaj koom yog siv lo ntsiab muag rau LEDs, tab sis kuv ditched lawv nyob rau hauv kev cia siab tias cov airflow yuav txaus kom txias txias lub zog LEDs. Ntxiv rau UV LEDs yuav ua haujlwm li lub teeb dub thiab yuav yog lub sijhawm txwv thaum lub sijhawm ua kev lom zem. Kuv cia siab tias yuav siv lub teeb no tsuas yog 10% ntawm lub sijhawm thaum lub sijhawm ua kev lom zem thiab kuv vam tias qhov kev ncua ntawm kev siv yuav txaus kom txias LEDs.

Kuv sim qhov no thiab kuv txoj kev xav yog lawm, sab hauv ntawm lub qhov rooj tsis tau kub dua 40 degrees Celsius. Dhau li, vim tias kuv siv ntoo kuv ib txwm tuaj yeem siv lub kiv cua me me tom qab txhawm rau ua kom huab cua ntws thiab yog li ua kom txias LEDs sai dua.

Kauj ruam 5: Schematics

Schematics
Schematics

Tsav Circuit High Power LEDs

Kuv tau txais lub tswv yim no los ntawm Dan Goldwater. Txheeb xyuas nws Cov Lus Qhia rau cov ntaub ntawv ntau ntxiv thiab ntau yam kev hloov pauv ntawm cov tsav tsheb no:

Kuv npaj yuav siv 0.75 ohm resistor tab sis thaum lub sijhawm kuv tsuas muaj 0.81 resistors tso ib puag ncig. Qhov no tsis yog teeb meem vim tias hauv kev teeb tsa no qhov siab dua yuav ua rau qis dua tam sim no thiab yuav txuas ntxiv lub neej ntawm UV LEDs.

Dip-hloov

Kuv siv rub-down resistors los tswj cov teeb liab. Nws yuav nyuaj rau tswj lub teeb ntawm DMX yog tias DMX pib qhov chaw nyob hloov pauv thaum lub sijhawm tog. Kuv yuav plam lub peev xwm los tswj lub teeb thiab nws yuav ua rau lub teeb tsis muaj qab hau.

DMX teeb liab hloov dua siab tshiab

Txhawm rau hloov cov teeb liab DMX (+2.5V thiab -2.5V) Kuv siv lub teeb liab hloov pauv IC. Kuv siv (pheej yig) SN75176BP rau qhov no. Qhov ntau tshaj IC yog MAX485. Txuas tus pin ntawm XLR lub qhov (socket) zoo li no:

XLR1 [GND] Av / pin5

XLR2 [D-] B / pin6

XLR3 [D+] A / pin7

Tsis txhob hnov qab txuas RO/pin1 thiab RE/pin2 rau hauv av thiab DE/pin3 rau VCC! Txuas DI/pin4 rau koj lub microcontroller.

Nco tseg: qhov no tsuas ua haujlwm rau cov teeb liab DMX. Yog tias koj xav xa DMX cov cim koj xav tau kev teeb tsa sib txawv. Tej zaum kuv yuav ua ib qho kev qhia cais txog qhov no, qhia rau kuv paub yog tias qhov no yuav pab tau.

Cov xwm txheej LED

Kuv tsis nco qab kos hauv 100K resistor ntawm tus pin3 thiab LED. Kuv siv 100K ohm resistor vim nws tseem tso cai rau kuv pom yog tias LED ntsais lossis tsis tab sis LED yuav tsis ci kom ci kom nws thiaj li tsis pom chav.

Kauj Ruam 6: Txoj Cai

Kuv tau ua kuv qhov zoo tshaj plaws los piav cov cai raws li kuv tuaj yeem ua tau tab sis kuv xav tias muaj chav rau qee qhov kev txhim kho, Kuv tau qhib rau cov lus qhia. Yog tias koj muaj kev dag ntxias yuav ua li cas txo kab ntawm cov cai, qhia rau kuv paub!

Ua ntej koj nug kuv cov lus nug txog tus lej, thov saib cov vis dis aus. Ntawm no kuv piav qhia yuav luag txhua kab ntawm txoj cai thiab nws cov haujlwm.

Kauj Ruam 7: Muab tag nrho ua ke

Muab Tso Ua Ke
Muab Tso Ua Ke
Muab Tso Ua Ke
Muab Tso Ua Ke
Muab Tso Ua Ke
Muab Tso Ua Ke

Tam sim no muab nws tag nrho ua ke. Xim rooj plaub. Ntxiv qee tus lej txhawm rau ua kom nws tuaj yeem dai lub teeb los ntawm lub tsaj thiab txaus siab rau koj lub teeb!

Ntxuam

Tsuas yog kom ntseeg tau tias lub teeb yuav tsis kub ntau Kuv tau siv lub kiv cua me me uas kuv tau tso ib puag ncig. Kuv txuas qhov no mus rau 16V tso tawm ntawm lub zog hloov pauv thiab yuav khiav thaum lub teeb tau txais lub zog. Yog li txawm tias thaum LEDs tawm, tus kiv cua tuaj yeem ua kom txias LEDs.

Teeb pom kev zoo

Txog qhov ua tau zoo tshaj plaws kuv xav qhia qee yam uas yuav pom kev thaum UV LEDs nyob. Qhov zoo tshaj yog siv cov xim dawb lossis qee yam khoom siv fluorescence (piv txwv li tus cim tseem ceeb). Rau thawj tog kuv siv qee qhov txiav tawm ntawm cov duab los qhia thiab txau lawv nrog cov xim pleev xim. Hauv thawj daim duab LEDs tau muab tua, hauv qhov thib ob lawv tau qhib. Koj tuaj yeem pom qhov sib txawv tshwj xeeb hauv lub neej tiag tiag. Kuv tau txais qee qhov kev xav tau zoo los ntawm pawg neeg thaum lub teeb qhib.

Pom zoo: