Cov txheej txheem:
Video: Super Easy PC Control ntawm 110 Vac Siv Crydom Solid-State Relay: 3 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Kuv tau npaj los sim kuv txhais tes ntawm kev ua qee cov phaj kub yaj. Yog li ntawd, kuv xav tau txoj hauv kev los tswj 110Vac ntawm kuv lub PC. Cov lus qhia no qhia yuav ua li cas thiaj tswj tau yooj yim 110Vac los ntawm cov chaw nres nkoj tso tawm ntawm lub PC. Qhov chaw nres nkoj uas kuv siv yog hom USB. Txhua tus qauv chaw nres nkoj yuav tsum ua haujlwm. Qhov tswv yim yog txhawm rau txuas DTR (cov ntaub ntawv dav hlau npaj txhij) tus pin los ntawm PC chaw nres nkoj mus rau Crydom solid-state relay. Crydom relay lees txais lub teeb liab tswj ntawm 3 txog 32 volts txhawm rau qhib lub zog-xeev xa tawm. Crydom relay tseem tuaj yeem ua haujlwm txog -32 volts ntawm kev tswj cov tswv yim rau kev xa tawm. Saib daim ntawv txuas nrog. Kev ib txwm muaj xwm txheej DTR teeb liab hloov ntawm +10 volts thiab -10 volts. Qhov no ua haujlwm zoo tshaj plaws rau Crydom relay. Crydom relay tig rau ntawm ib yam dab tsi saum 3 volts. Txhua qhov hluav taws xob qis dua 1 volt tau lees tias yuav tua lub relay. Yog li, siv +10 txog -10 volts ntawm DTR teeb liab yog qhov zoo tshaj. Crydom relay muaj qhov siab tshaj ntawm 2mA ntawm DTR teeb liab. Hloov DTR hauv kev tswj hwm txoj haujlwm tseem yog qhov yooj yim heev. Kuv tau txuas me me Python tsab ntawv uas toggles DTR tus pin txhua ob peb feeb. Python tsab ntawv tsuas yog 16 kab ntev! Txhawm rau kom Python code ua haujlwm koj yuav tsum tau ntxiv pob me me ntxiv rau Python hu ua PySerial. Kuv kuj tseem txuas lub qhov rais teeb tsa rau PySerial rau qhov kev qhia no. Nrog kev tshawb nrhiav Google sai, koj tuaj yeem pom PySerial ntawm Source Forge yooj yim heev.
Kauj ruam 1: Txuas Crydom
Ceev faj! Nco ntsoov tias koj txheeb xyuas txhua yam thaum ua haujlwm nrog 110Vac. Cov xov hluav taws xob tsis tuaj yeem yooj yim dua qhov no! Crydom block tsuas yog kab nrog sab kub ntawm 110Vac kab. Sab nruab nrab hla txoj cai hla. Dhau hauv av dhau lawm. Tab sis, kuj tseem txuas hauv av rau lub rhaub dej kub/Crydom thaiv rau hauv av. Kuv paub, kuv paub, cov hlua kuv siv ntawm sab AC yog me me. Kuv tau txais qhov loj tshaj Crydom relay (40 Amps!) Yog li kuv yuav tsum muaj qee tus niam loj xov hlau. Kuv lub tsev muaj 15 amp breakers yog li #12 thaiv yuav zoo. Kuv nyuam qhuav tuav tus qub PC qaum thiab hnov qab cov xov hlau me me li cas. Kuv xav tias kuv txoj kab hluav taws xob sab AC yog #18. Txog tam sim no kuv nyuam qhuav tau ua si nrog lub teeb 100 watt, yog li tsis muaj teeb meem. Kuv yuav rov ua dua ua ntej ntsaws rau hauv lub phaj kub loj.
Kauj ruam 2: Python Test Code
Hauv qab no yog khawv koob Python code. Ntxiv dua thiab, tsis tuaj yeem yooj yim dua qhov no. Kuv kuj tau txuas cov cai hauv cov ntawv hu ua "Test.py".import sys, serialfrom lub sij hawm ntshuam sleepCOM_PORT = 7BAUD = 9600ser = serial. Serial (COM_PORT-1, BAUD, timeout = 0.5, rtscts = 0)# Toggle DTR tus pin rau 15 vib nas this, tom qab ntawd kaw rau 5 vib nas this. (1): luam "On" ser.setDTR (1) pw (15) luam "Off" ser.setDTR (0) pw (5)
Kauj Ruam 3: Ceev faj
Ua ntej kuv siv qhov Solid-State relay Kuv yuav nce qee Plexiglas hla AC sab ntawm qhov txuas. 110Vac tuaj yeem yaum tau tiag tiag yog li ceev faj! Vam tias qhov no yuav pab - Ua tsaug, Jim
Pom zoo:
DIY Cov Khoom Siv Hluav Taws Xob Hloov los ntawm 2262/2272 M4 Bread Board & Relay for Maker: 4 Cov Kauj Ruam (nrog Duab)
DIY Cov Khoom Siv Hluav Taws Xob Hloov los ntawm 2262/2272 M4 Bread Board & Relay for Maker: lub tsev ntse tuaj rau peb lub neej. yog tias peb xav tau lub tsev ntse tuaj tiag, peb xav tau ntau lub chaw taws teeb tswj. hnub no peb yuav ua qhov kev sim, ua ib qho yooj yim Circuit Court kom kawm txoj kev xav ntawm cov chaw taws teeb tswj hloov.this cov khoom siv tsim los ntawm SINONING ROBOT
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Kev tswj hwm tus kheej ntawm RPM ntawm Lub Cav Siv Lub Tswv Yim Los Ntawm IR Raws Li Tachometer: 5 Cov Kauj Ruam (nrog Duab)
Kev Tswj Tus Kheej ntawm RPM ntawm Lub Cav Siv Lub Tswv Yim Los Ntawm IR Raws Lub Tachometer: Muaj ib txwm xav tau rau kev siv tshuab txheej txheem, ua nws yooj yim/tsis txaus ntseeg. cov txheej txheem rau dej/siv dej rau peb daim av me me.Qhov teeb meem ntawm tsis muaj kab khoom siv tam sim no
Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Cov Neeg Siv Khoom Hloov: 8 Cov Kauj Ruam (nrog Duab)
Kev Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Kev Siv Hluav Taws Xob: Lub Arduino tuaj yeem siv los tswj cov cuab yeej los ntawm kev siv cov khoom siv yooj yim hloov pauv hloov chaw
Tsim Tus Neeg Txais Ham Los Ntawm Cov Khoom Siv Hluav Taws Xob: Siv lub Ramsey FR146 2 Meter FM Kit: 27 Cov Kauj Ruam (nrog Duab)
Tsim Tus Neeg Txais Ham Los Ntawm Cov Khoom Siv Hluav Taws Xob: Siv lub Ramsey FR146 2 Meter FM Kit: Sib dhos cov xov tooj cua - los ntawm kev ntim khoom mus rau kev ua haujlwm. Kev tsim kho yuav tsum tau siv cov khoom siv hluav taws xob yooj yim, suav nrog cov khoom sib txuas thiab cov transistors, thiab kho cov oscillator hauv zos. Suav nrog ntau yam kev qhia thiab cov lus qhia, ntxiv rau cov phooj ywg yooj yim