Instrument control from PC desktop or via internet

Control the light via the Internet.
Naturally, you can control not only the light, but also any other  devicefromyourcomputerorremotelyviatheInternet.Oneormoredevices.&Nbsp;
Forexample,wewillcontrolthelamp.
Thedetailsoftheproductioninthepicture.So,theunitconsistsofhardwareandsoftwareparts.Part1.HardwareWeneedthefollowingdetails:1.Lamp220V;2.lpt-extension;3.Fee;4.angledlpt-connectorontheboard;5.relay12VDCandswitchingvoltage220volts;6.4.7Kresistor;7.AnnpntransistorsuchasKT3117Aoranyotherwithanormal coeff. gain;8.diode;9.apowersplitterinthePC,ifpoweredbyaPC.Butitisalsopossiblefromanothersourcewithavoltageof12volts.Thedevicelayoutissimpletobuild:center;">Thegrayboxatthetopisarelay.IfwefeedapinDunit,onitvoltagewillappearandeventuallytherelayswitches,turningonthelamp.Accordingtotheabovediagram,wesolderlike:Wesoldertheboardintotheopencircuitofourlamp;weconnectvialpt-extensioncabletothecorrespondingportofthePC;connecttothePCpowersupplyviapowersplitter11;well,andthelampitselfin220V.Parttwo.Toreviveourlamp,wewillwriteaprogramonDelphi(thefirstthingthatcameunderthehands,rewriteinCisnotdifficult,intheprogramthereareliterally3linesofcode)Youcanturnonthelamporanyother lampfromyourcomputer! Havingslightlymodernizedtheprogram,wegetthesecondsource: /svetom/lamp_2.0.rar(thisprogrammonitorsthefile,whichcanbechangedbythephp-scriptlamp2.phponthelocalwebserver).Nowwecanturnonourfavoritelampfromanywhereintheworld.wheretheInternetis.Good luck!
Date: 09.10.2018, 09:03 / Views: 71475

Related News


Amazing Pumpkin Sculptures
Chopped Chicken Cutlets with Curd
The aquarium. Where to place the aquarium
How to eliminate the beating of the cartridge in a screwdriver
DIY paper heart