Home > database >  How to use a computer to control the light switch
How to use a computer to control the light switch

Time:09-30

How to use a computer to control the light switch

CodePudding user response:

Such as ipv6 became popular

CodePudding user response:

It is ok to make industrial control computer!

CodePudding user response:

I know the control switch controller through serial port,

CodePudding user response:

Industrial control + + software serial port

CodePudding user response:

With connecting peripherals are the same, as long as the set up, all can

CodePudding user response:

You need special hardware, can go to buy a IO card, needs several hundred yuan
Or someone to help you do a little on the serial port, a few dollars + a meal

CodePudding user response:

Need hardware support.

CodePudding user response:

Cloth cable, through the network to send a package to relay will switch to play up,

CodePudding user response:

The ENTER key on your keyboard up, press the light switch in the following, then press ENTER lamp lights!
I was too talented!!!!!!!!!!!

CodePudding user response:

To bind your home television remote control your lights

Put on your computer and TV remote control equipment, it is not good, ha ha!!!!!!!!!!

CodePudding user response:

Pick up points is king!

CodePudding user response:


Have any PB can master to moonlight as a training instructor? If an interested friends, please send resume

To: [email protected], please contact: QQ: 174629429 MSN:[email protected]

CodePudding user response:

The ENTER key on your keyboard up, press the light switch in the following, then press ENTER lamp lights!
I was too talented!!!!!!!!!!!

///////////////////////////////


This is a positive solution

CodePudding user response:

Looking for a serial port controller

CodePudding user response:

The
reference 13 floor ribut9225 reply:
ENTER key on your keyboard up, press the light switch in the following, then press ENTER lamp is bright!
I was too talented!!!!!!!!!!!

///////////////////////////////


This is a positive solution is


simple

CodePudding user response:

Use PLC + serial port controller

CodePudding user response:

references 9 f SKY_4K_PPM response:
ENTER key on your keyboard up, press the light switch in the following, then press ENTER lamp is bright!
I was too talented!!!!!!!!!!!




Really talented, admire. Ha ha

CodePudding user response:

Need hardware support! I have to do before, spend a lot of money to buy the IO card and relay, quite complicated!!!!!

CodePudding user response:

Use a computer to control the light switch?

You also is a waste of computer? A computer is used to control the light switch this economical?

You buy a remote control toys, remote control parts removed modified, can not control?

CodePudding user response:

Have remote control switch to buy, 20 yuan

CodePudding user response:

With blue YA, lamp there also want to add a receiver, with two MCU, it is very easy.

CodePudding user response:

.

CodePudding user response:

The ENTER key on your keyboard up, press the light switch in the following, then press ENTER lamp lights!
I was too talented!!!!!!!!!!!
//////////////////////
The elder brothers, too talented

CodePudding user response:

You of the acoustics wire cut, amplifying circuit is connected, and then plug in the light,
Then you can take a volume control button to determine how much your lights bright,
Ha ha, that's a good idea,

CodePudding user response:

NO, NO, NO, Look at this solution!!!!!!
Above all, the most economical, simple and efficient solutions
1, buy a voice-activated switch lamp holder (very), connected to the lamp,
2, computer speakers, I think I should have, don't need to add another), with the volume of the speaker to the remote control, voice control lamp
Can perfect solve/how to use a computer to control the light switch,

CodePudding user response:

Hardware support

CodePudding user response:

Through code, soft lights out
 
The object of a;
A="bulb"
Cb_1 event click ()
{
A.c lose ();
}
Cb_2 event click ()
{
The biggest lose ();
}

CodePudding user response:

The object of a;
A="bulb"
Cb_1 event click ()
{
A.c lose ();
}
Cb_2 event click ()
{
The biggest lose ();
}

Too talented, b is "stupid"?

CodePudding user response:

A serial port communication + relay
Will a serial port communication is very simple, IO device is very mature, introduces a device JMDM - 28 diomr you know to check online

CodePudding user response:

Interesting

CodePudding user response:

For two years,,,

CodePudding user response:

The
reference 31 floor xys_777 response:
for two years,,,

Yes!!!!!! Deeply sad

CodePudding user response:

The
reference 25 floor softdn response:
NO, NO, NO, Look at this solution!!!!!!
Above all, the most economical, simple and efficient solutions
1, buy a voice-activated switch lamp holder (very), connected to the lamp,
2, computer speakers, I think I should have, don't need to add another), with the volume of the speaker to the remote control, voice control lamp
Can perfect solve/how to use a computer to control the light switch,


This unique!

CodePudding user response:

Computer control appliance serial port control relay control relay serial IO module (SanJin 3)

Input voltage: DC 12 v. The on-board regulator chip.
Communication protocol: asynchronous serial port communication protocol (RS232), eight bits of data, a stop bit. And white parity bits. Baud rate 9600 BPS.

Data format: frame transmission, timeout overflow, check and, with the data returned.
Data in the form of a frame to send, 9 bytes per frame, if she lose data, or data validation and error, that the frame data will be null and void, and will not have the data returned. If the frame data correctly and successfully executed command and control panel will send back the frame data. The upper software can be sent back is used to determine the control panel is correct to receive and execute commands, if is not received within 50 ms echo data, instructions and communication error control panel, then should resend the frame data. In order to make sure the control panel.
Industrial complex, long distance communication, etc., may produce serious interference, often appear the phenomenon such as loss of data or data error. This panel with checksum, correct execution of return data, data timeout overflow function, when serious interference can guarantee reliable data transmission, command executed correctly.

Frame type: 9 bytes, as follows.
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related