WPS54GU2 control AC LAMP !!!

Discussion in 'Other Linksys Equipment' started by guill663, Dec 13, 2005.

  1. guill663

    guill663 Network Guru Member

    You can use your WPS54GU2 to control an AC lamp. You can control a relay with your printserver !!!!

    USB port ===> My USB PRinter
    Parallel port ===> Why not control a lamp !!! LOL

    This website is in FRENCH but I can translate it ENGLISH if needed.

    I'm the conceptor of this website.

    :clap: :cheer: :cheering:


    I'm the BEST LOL

    No firmware hacking.... Just follow my rules !!! And you will get an AC WIFI lamp !!!!!

    You can control it by internet all around the world !!! The printserver will do the job....

  2. jdepew

    jdepew Administrator Staff Member Member

    Oh, please, please provide a translation!!!!
  3. guill663

    guill663 Network Guru Member

    English Translation

    OK. I will make this website in FRENCH and ENGLISH this week or next week. If you are impatient. GOTO my MSN ==> GuillaumeCB@hotmail.com !!!

  4. funkinguy

    funkinguy Network Guru Member

    Alright, let me try to translate the webie....

    Drank of this electronic assembly: To be able to control a source of AC current of 120 volts via the parallel port of a print server. What gives a source of AC current independent of a computer and with its own address IP. (That of the waiter). Thus one can connect the waiter directly on Internet via a router or a modem.

    Reasons to carry out this assembly (what that gives moreover): Here a setting in situation. A person has a portable computer at it. In normal time, this person can control a lamp via the parallel port of her portable computer. But when this one brings its portable computer travels from there, its lamp is not accessible any more. Thus this project makes it possible to make the lamp AUTONOMOUS and accessible in any time on Internet or a local area network. It is enough to go on Internet to light or close the lamp!!! In general, one calls that of the house automation.

    Necessary competence to carry out this electronic assembly: I will try to explain more in possible detail so that a beginner is able to carry out this project.

    Here by what it is necessary to pass to bind a socket-outlet to a distant computer:

    1 - Computer: In fact the computers is occupied of controlling the distant power source.

    2 - Network *: It is is Internet or a Local area network

    3 - Print server: Component which manages printers normally but can also control components on its parallel port.

    4 - Parallel port: All the old computers have one of them. But that which interests us it is that of the print server.

    5 - Rock Bistable: This part is used as memory. It retains the instructions which the parallel port dictates to him. Without this part, the socket-outlet would ignite only 2-3 seconds and would be closed again at once. (Forgets of its state)

    6 - Transistor : Composante électronique qui fait le pont entre les 5 volts que fournit la bascule et les 12 volts que demande le relais pour s'activer.

    7 - Relay: Electronic part which makes the bridge between its 12 volts and the LARGE AC current (120 volts) to control an electrical appliance.

    8 - Socket-outlet: Taken by which one connects a lamp or an electrical appliance!!!

    The components which are in red are the parts which is found obligatorily on the place of the socket-outlet. * The component purple makes the bridge between the red and blue and these components can be outdistanced by far thanks to Internet. The component blue represents the part which controls the socket-outlet.

    What you have need: A print server with a parallel port A relay 12 volts of 30 amps. A transistor NPN A logical circuit (4027, 4011) for Bistable Rocker A power source continues of 12 volts. A computer connected on a network (that goes from oneself...) A connector of parallel port male A jack (socket-outlet) and a card mâle(connecteur) A case (for more professionalism) A logical circuit (4027, 4011) for Bistable Rocker An integrated circuit containing a bistable rocker is recommended. As regards this case, I will explain you how to use the circuit 4027(Bascule JK). It is a question of feeding the circuit with the power source of 5 volts (pine 16) and the GND. After it is necessary to put the entries SET and RESET at the GND. It is necessary to put the entries J and K at 5V. Finally one rocks the state of 0V with 5V via entry CLOCK of the rocker. Operation of a transistor: A transistor is like an electronic switch. It contains a Base, a Transmitter, and a Collector. When one sends the 5 volts of the parallel port in his Base, it sends ground via its Collector to make activate the relay. The transmitter as long as for him is not used only of RETURNS WATER to run out the current provided to base (LOL). Base in Émetteur: 5 volts Collecteur transmitter: Ground (for the 12 volts) Collector At Base: NO BOND Operation of a relay: A relay is like a mechanical switch. It collection the 12 volts which the transistor provides him and it lets pass the current to the socket-outlet. A relay is able to establish the link between current continuous and large AC current. There is also an electronic switch which can replace a relay. It names a TRIAC. But this one only makes it possible to manage small electrical appliance requiring a weak amperage. Source continues of current of 12 volts: This power source is necessary because the parallel port is not able to make function the relay directly. That can be an adaptor. A connector of parallel port male: It is necessary to make ACCROIRE with the print server that there is a printer of connected above. With this intention it is necessary to create one (NULL PRINTER TO ADAPT). Here how to make: To connect Strobe(1) with ACK(10) To connect Busy(11) with PE(12) to the GND(18 to 25) To connect Select(13), ERROR(15) to INIT(16) These connections will allow the print server to indicate that the printer is ONLINE. The pine INIT(16) can provide current 5V continuously to feed a circuit. Pines 2 to 6 are the bits of data which will control the transistor by giving him 5V and 0V Considering there are 8 bits available, one could control 8 socket-outlets!!!! A card femelle(prise of current) and a card mâle(connecteur) It is necessary to connect the socket-outlet y to have only 2 wire like final result. When these 2 wire are connected, the socket-outlet provides 120volts and when those are disconnected, the socket-outlet is out-tension. These 2 wire will be connected to the relay. Here the diagram: Computer Part: On the computer distant which will control the socket-outlet, it is necessary to have is a program which orders the print server or to have created a Web site which will send the order to the print server To light or To close the power source. This part can be done in PHP, program Visual BASIC, C++, etc... It is only necessary to send one byte on port 9100 of address IP of the print server. 1 - one connects oneself in mode TCP on port 9100 to address IP of the print server 2 - a byte is sent: PINE 2: Bit 0 ==== To send byte 1 to activate it (5 volts) PINE 3: Bit 1 ==== To send byte 2 to activate it (5 volts) PINE 4: Bit 2 ==== To send byte 4 to activate it (5 volts) PINE 5: Bit 3 ==== To send byte 8 to activate it (5 volts) PINE 6: Bit 4 ==== To send byte 16 to activate it (5 volts) PINE 7: Bit 5 ==== To send byte 32 to activate it (5 volts) PINE 8: Bit 6 ==== To send byte 64 to activate it (5 volts) PINE 9: Bit 7 ==== To send byte 128 to activate it (5 volts) P.S. One can activate several pines at the same time. It is a question of adding them. If I want to activate bit 3 and bit 2, I send the byte 12 == (8+4) 3 - one disconnects oneself (firm the socket) Orders in DOS to also control a print server......... (lpr) Copy c:\Log.txt \\Print_server\P1 lpr - S - P P1 c:\Log2.txt Order in DOS port 9100 (IPP, JetDirect) telnet 192.168.130 9100 It is as simple as that!!!!!!!! Click here to control MA power source:)
  5. guill663

    guill663 Network Guru Member

    I can control AC-LAMP via WIFI....
    I can send Winamp equalizer data via WIFI (of WPS54GU2)

    check the video

    contact me GuillaumeCB@hotmail.com for more info

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice