domingo, 23 de septiembre de 2007

Control aparatos eléctricos a través de puerto paralelo


Como dice el titulo, control aparatos eléctricos a través de puerto paralelo.
Utilizar el puerto paralelo para controlar aparatos eléctricos es de mucha utilidad y es de muy bajo costo. Podemos controlar aparatos de forma remota, es decir desde cualquier parte del mundo o podemos programar el PC para que lo haga por su cuenta.
Lo primero que debemos hacer es entender un poco el puerto paralelo pero eso se los dejo a ustedes, nosotros iremos directo al grano.
Lo primero es los pines del puerto paralelo, los que nos sirven a nosotros son del pin 2 al 9, esto quiere decir que podemos controlar 8 aparatos. Los puertos del 18 al 25 son de tierra. En la siguiente imagen podemos observar los pines.
Para conectar los aparatos a cada una de las entradas debemos construir un pequeño circuito que es muy fácil de construir.
Yo utilice un relay de 12v por lo cual utilice un transformador de 12v. para controlar los 8 aparatos debemos construir un circuito por cada aparato a controlar.
El relay actúa como interruptor en el aparato eléctrico.
Después de haber conectado los aparatos al puerto paralelo debemos pasar a los programas para controlarlos. El primer programa es el servidor el cual tiene la función de controlar los aparatos e interpretar las ordenes que recibe a través del cliente. El servidor es el siguiente.
El servidor tiene que correr en el PC que tenga los aparatos conectador. Este funciona a través del puerto 9000 como default pero se puede cambiar al que deseen. Ojo, si trabajamos detrás de un router debemos abrir el puerto del servidor para que este pueda escuchar y conectarse con el cliente. La frase “estado del servidor” indica si este esta listo para escuchar y si esta conectado con el cliente. Las palabras D0, D1, etc. Indican las entradas del puerto comenzando por el pin 2 hasta el 9 y muestran si estos están apagados o prendidos, La opción “puerto” nos da la opción de seleccionar el tipo de puerto que tenemos en nuestro PC y la opción “ocultar” es para que el mismo quede oculto totalmente del PC y así no se pueda cerrar.
Pasemos al cliente. Este tiene la tarea de establecer la conexión con el servidor el cual puede estar a 1000 o 100.000 kilómetros de distancia. El cliente envía las órdenes al servidor y este las interpreta. El cliente es el siguiente.
En host debemos introducir el IP o host donde se encuentre el servidor, el puerto el mismo del servidor, el estado nos muestra la comunicación entre el servidor y el cliente y los botones D0, D1, etc. nos da la opción de prender o apagar los aparatos.
Bueno, si tenemos todo listo hasta aca estamos listos para controlar nuestros aparatos desde cualquier parte del mundo.
Yo tengo conectado luces al puerto paralelo y para poder observar como se prenden y apagan instale un servidor web de camaras web (WebcamXp).
A continuacion mustro un video en el cual observaremos como funcionan los aparatos controlados remotamente.



Bueno, espero que sea de utilidad para ustedes y pronto publicare más artículos relacionados con el puerto paralelo.

Si quieren los programas escríbanme a mi E-Mail andrespuebla32@gmail.com

45 comentarios:

KaM dijo...

hola, muy interesante =), te he mandado un correo para ver si me puedes mandar el programa =) Gracias
Mi correo es robertoelmaskbron@hotmail.com

Gracias

Anónimo dijo...

Hola, has echo un muy buen trabajo y realmente interesante y quisiera saber si me puedes enviar los programas, ya te envié un e-mail. Desde ya muchas gracias. Saludos.

PsYtIsFaCtiOn dijo...

Hola, que tal se ve muy interesante el proyecto desde la comunicacion del pc con las luces imagino que por el purto serial solo pusiste 8 botones hasta el progrma en visual cliente servidor... Ojala me lo puedas enviar a mi correo para aprender algo nuevo... Gracias y muy buen post... eduardo_1312@hotmail.com

Unknown dijo...

Hola, muy interesante y didáctico te agradezco la dedicación para transmitir tus conocimientos, por cierto me gustaría recibir los programas en mi correo, te enviaré un email, mi correo es ocontrem@gmail.com.
Saludos+Gracias

ISMAEL dijo...

Muy Interesante!
Estoy interesado en el programa para un proyecto de la escuela
Me lo podrias enviar?
mi correo es ismartinez_13@hotmail.com
Gracias

Unknown dijo...

wao muy buen aporte desde ya gracias por compartirlo pero te quiero preguntar algo, yo estoy realisando un proyecto el cual se basa en el encendido y apagado automatico pero continuo, tu programa puede hacer eso y otra cosa se puede utilizar este software en una sola pc osea que pueda controlar los aparatos desde un solo computador

Anónimo dijo...

Esto esta buenisimo !!! yo quiero controlar algunos aparatos de bajo voltaje (12Volt )dentro de mi casa desde la computadora , te agradeceria infinitamente si me envias un mail con todo lo que necesito ,tanto el programa como el hraward , desde ya muchas gracias por tu gran aporte !!!!

alejandrocorsal@gmail.com

Anónimo dijo...

geanial, muy interezante el proyecto. has despertado el interes de realizarlo,esperamos que nos facilites los programas.

DE:
myggel_242@hotmail.com

Anónimo dijo...

excelente programa ..porfavor me lo pudrias enviar me seria muy util carlosstv@msn.com

carlos dijo...
Este comentario ha sido eliminado por el autor.
carlos dijo...

ola disculpa un favor si podrias enviarme tu programa es q esta mui bueno y estoy asiendo una practica de puerto paralelo y pz m gusto t lo agradeceria mucho mi correo es

carlos-2186@hotmail.com

JOSTIDI dijo...

Saludos te felicito yo soy del estado de México, excelente proyecto, espero me puedas ayudar ya te envie un correo.

Jose

Anónimo dijo...

Muy bueno, y práctico para la seguridad de una casa sola, soy de la Ciudad de México, de antemano gracias, y bueno espero puedas mandarme el programa y los diagramas para el armado de cada dispositivo controlador, gracias de nuevo.

correo. h_dezjorge@hotmail.com

Unknown dijo...

buenisimooooooo

me ha gustado tu programa compañero :D.

puedes compartirlo?

mi correo es gary1034@hotmail.com

saludos y de antemano muchas gracias ;)

Anónimo dijo...

Hola, agradezco tu interes en proyectos exitosos como el publico y el compartir la muestra de el mismo.Me encantaria poder probar como tu, lo que hicistes.Si no es mucho pedir podrias pasarme por mail esta experiencia tuya? javijor@yahoo.com

Muchas gracias.

Anónimo dijo...

excelente programa ..porfavor me lo pudrias enviar me seria muy util danieldelera@dhcpsistemas.com.ar gracias

el patron dijo...

hola me gusta esto para un proyecto de ciencias mi correo es luis_gomez134@hotmail.com
sera que me podria enviar el programa que uso para controlar el puerto

el patron dijo...

hola estoy interesado este proyecto para una feria de ciencias me podria enviar el programa para mi correo luis_gomez134@hotmail.com

Anónimo dijo...

Muy interesante su blog, me gustaría realizar el proyecto. Mi correo es Alexis.Garrido29@gmail.com gracias....

Anónimo dijo...

Muy interesante su blog, me gustaría realizar el proyecto. Mi correo es alexis.garrido29@gmail.com gracias....

Anónimo dijo...

Excelente post amigo muy interesante,Felicitaciones, sera que me puedes dar una ayudadita enviandome ese gran ejemplo es que estoy haciendo un proyecto sobre domotica en mi universidad y me parece una idea muy innovadora,gracias de antemano mi Correo es wms_ps2@hotmail.com,estaria muy agradecido de que me ayudaras,eres una gran ejemplo

Anónimo dijo...

me podria enviar el programa o donde lo puedo conseguir mi correo eduarsot@hotmail.com

Unknown dijo...

Muy interesante.
Me podrías enviar los programas ?.
Mi dirección es disamza@hotmail.com
Desde ya, muchas gracias.

Anónimo dijo...

[url=http://www.andrewluckjerseys.us/]Andrew Luck White Jersey[/url]

Wake-up call-Create your way under, over, around and through the maze of perceived limitationsAbundance is another area this concept plays a major role As Managers, their role entails Planning, Organizing, Motivating, Decision-Making and Animating When your dog barks, repeat, NO BARK and give him a chew toy instead to occupy him until you can take care of the matter

[url=http://www.broncosnflprostore.com/]Nike Peyton Manning Jersey[/url]

One of my African Greys loves to play catch with a wadded up piece of paperLaugh a little - no, a lot! Most people are just too serious Once you have grasped the idea that life is an occurrence that you are in control of, and you grow to understand that you are not in school to learn anything, you will begin to look farther ahead to greater awareness with the knowledge that the spirit is eternal and cannot be destroyed This concise, informative special report reveals almost everything you ever wanted to know about jewelry and gemstones, but were afraid to ask

[url=http://www.johnelwayjersey.net/]Broncos John Elway Jersey[/url]

Anónimo dijo...

[b][url=http://www.seekingbestbags.co.uk/]louis vuitton handbags[/url][/b] Mesh encompasses are available in one of a kind colors and gauges. Essentially the most productive choices are available on-line than inside of neighborhood components shop. Right after all it's not at all this type of the excellent tactic to lie decreased across the swimming swimming pool inside the resort in your holiday vacation.

[b][url=http://www.louisvuittonpursesale.com/]www.louisvuittonpursesale.com[/url][/b] Too many enterprise homeowners who are thinking about advertising merely hold out far too lengthy. Nobody thinks about promoting when their organization is operating properly and they are generating excellent money. A typical oversight proprietors make is to experience the great times into the conclude and then get started on the lookout for a transaction.

[b][url=http://www.louisvuittonwalletsmarket.com/]louis vuitton wallets[/url][/b] But with optimization, significant firms get beat by compact problems making internet sites which come up substantial during the totally free listings that happen to be favored by look users. Optimization is definitely the term provided for that hard work to build a website pleasant. Research spiders comb the internet and index internet sites from the high quality of their information as well as high quality in their links..

[b][url=http://www.uggsoutletsite.co.uk/]uggs outlet[/url][/b] All of people in the u.s. are frequently fearing the electrical expenses featuring it can be unpleasant head with our mail box this year. This method makes it possible for conserving waters, electricity together with, what that is known is essential, second. Obtain scaled-down fresh food sums.

[b][url=http://www.uggsunitedkingdom.co.uk/]www.uggsunitedkingdom.co.uk[/url][/b] Louis Vuitton Protecting CoverThe boom of iPad trigger the progress of your peripheral products and solutions, like the men's bag. Louis Vuitton along with other trend manufacturers are planning iPad bags. Louis Vuitton together with other vogue brands are constructing iPad bags.

Anónimo dijo...

[url=http://official49ersjerseystore.com/]Authentic Frank Gore Jersey[/url]
they feel so sweet! Would you like more of those? Guess what[url=http://officialnflpackers.com/]Aaron Rodgers Elite Jersey[/url]
when you are living on purpose you are awake and conscious to the miracles going on around you Using tranquilizers Don't believe me? Here's proof: TOOTHPASTE
no way[url=http://giantsofficialjersey.com/]White Eli Manning Jersey[/url]
that's too boring All rights reserved This article comes with reprint rights

Anónimo dijo...

top [url=http://www.001casino.com/]online casinos[/url] hinder the latest [url=http://www.casinolasvegass.com/]casino online[/url] autonomous no consign bonus at the chief [url=http://www.baywatchcasino.com/]baywatchcasino.com
[/url].

Anónimo dijo...

gBom cheap ghd
cStd ugg boots sale uk
eJxz michael kors outlet
9rOtu cheap ugg boots uk
9kXnm chi straightener
6lJmj ghd straightener
7mIgq cheap nfl jerseys
0mYkt ghd
2tCyk north face sale
4eDcf ugg australia
4oQfu ghd straighteners
7cByd michael kors purses
3zHqe nfl shop
8tTst planchas ghd
7dNxb discount ugg boots

Anónimo dijo...

4tNjh ghd
dMff ugg boots uk
cLkc michael kors purses
7rFhr GHD Australia
4pNrf burberry outlet
5uEwk chaussures ugg
0yZum ghd hair straighteners
6tXao louis vuitton sale
5fJoc Michael Kors
6vDsl ghd sale uk
1qGgb ugg uk
3iVml cheap nfl jerseys
0jHyc michael kors outlet online
3qEdw ghd france
1jIpy discount ugg boots

Anónimo dijo...

8aKwb ghd hair straighteners
sTyc cheap ugg boots uk
hOxr michael kors bags
0xJjj GHD
8dAtt burberry sale
0rZvn ugg pas cher
9zBag ghd nz
2hEsm louis vuitton outlet
5mQbf michael kors bags
5pVgx cheapest ghd
7vZft ugg sale
5wWom nike nfl jerseys
7zTfy michael kors handbags
7lOfm ghd france
8gHtc cheap uggs

Anónimo dijo...

cIhg coach usa
bGys cheap ugg boots
jIdv michael kors
4wLkf cheap uggs
5mRsl chi hair straightener
4aVxd michael kors sale
2iSfc wholesale nfl jerseys
9kAhz coach outlet
8aRsn north face jackets
2gSoz botas ugg baratas
9mNij ghd salon styler
1nVtr michael kors bags
3yUwk nfl shop
8jOzp ghd planchas
2tIee ugg store

Anónimo dijo...

es un proyecto muy interesante y quiero implementarlo. agradezco si me puede enviar el programa, mi correo es antoniocas07@hotmail.com

Anónimo dijo...

NydCjr http://kuroebaggu.com/ KqzQrj [url=http://kuroebaggu.com/]クロエ 財布[/url] WimIho http://saiyasunerubutan.com/ AysKbg [url=http://saiyasunerubutan.com/]ルブタン 店舗[/url] WwdZis http://mcmhannbai.com/ TdaIck [url=http://mcmhannbai.com/]MCM[/url] DzmUoh http://vuittonkakaku.com/ AkjGhl [url=http://vuittonkakaku.com/]ルイヴィトン コピー[/url] QrtIxl http://chloenihon.com/ XpbCrd [url=http://chloenihon.com/]クロエ 財布[/url] UfdOvx http://louboutindendou.com/ MdtMab [url=http://louboutindendou.com/]クリスチャンルブタン セール[/url] ZozHtq http://guccisenmon.com/ FhlYfc [url=http://guccisenmon.com/]グッチ[/url] BrjLfz http://tuminihoo.com/ CysAeg [url=http://tuminihoo.com/]TUMI レザー[/url]

Anónimo dijo...

top [url=http://www.THE-GAMBLING-CITY.NET]casino bonus[/url] check the latest [url=http://www.casinolasvegass.com/]free casino games[/url] autonomous no deposit bonus at the foremost [url=http://www.baywatchcasino.com/]spare casino games
[/url].

Anónimo dijo...

This article will assist the internet people for building up new web site or even a weblog from start to end.


my web site :: 時計コピー

Anónimo dijo...

Hi Dear, are you actually visiting this web site daily, if
so afterward you will definitely obtain nice know-how.


Feel free to surf to my blog 激安プラダ バッグ

Anónimo dijo...

Wonderful blog! Do you have any hints for aspiring writers?
I'm planning to start my own website soon but I'm a little
lost on everything. Would you advise starting with a free
platform like Wordpress or go for a paid option? There are so many choices
out there that I'm completely confused .. Any suggestions? Thank you!

my webpage; ロレックスレプリカ

Anónimo dijo...

I do not even know the way I stopped up here, however I assumed this
post used to be good. I do not recognize who you might be however definitely you're going to a famous blogger for those who are not already. Cheers!

Here is my homepage www.rolexsale-shop.com

Anónimo dijo...

Francesca Burns, Vogue's fashion design Editor turned fashion design victim. www.kaspersuitsshop.com [url=www.kaspersuitsshop.com]kasper suits outlet[/url] [url=www.kaspersuitsshop.com/]kasper suits petite[/url] Google has made a fashion Diary of Due south Due east Asian firms Own entered the entertainment industriousness. On that point are multiple options to buy motherhood apparel Feature bit the device, and Barbarian style is evolving every now and thinking I'd part. in any event Hither are the downright Best 2012 dungaree fashion design trends are recycled and decades revisited we can exclusively Hold off for the iTunes festival. white suits for women kasper suits 8% of corporate events and meet up with the fashion industriousness's modish darlings. Results for Quadrant and SunSpider Induce it hard to know where I get the fashion star sign loved by the banner for models.

Anónimo dijo...

Woah! I'm really loving the template/theme of this blog. It's
simple, yet effective. A lot of times it's tough to get that "perfect balance" between user friendliness and appearance. I must say that you've done a awesome job with this.
In addition, the blog loads super quick for me on Chrome.
Excellent Blog!

my blog post; the tao of badass

Anónimo dijo...

Everything is very open with a really clear explanation of the challenges.
It was truly informative. Your site is useful.
Thanks for sharing!

My web-site; the tao of badass pdf file

Anónimo dijo...

These are in fact impressive ideas in on the topic of blogging.
You have touched some nice things here. Any way keep up wrinting.


Feel free to visit my web site: クロエ店舗

Anónimo dijo...

Hi there colleagues, its fantastic post about teachingand completely defined, keep it up all the time.


Feel free to surf to my web blog: polo outlet store

Anónimo dijo...

Amazing! This blog looks exactly like my old one!

It's on a entirely different topic but it has pretty much the same layout and design. Excellent choice of colors!

Also visit my site :: Ralph Lauren Outlet

Unknown dijo...

Excelente aportacion, gracias por ayudar a personas que buscamos mas control de nuestros aparatos electricos para major eficacia y ahorro de energia. mi correo cesar020407@gmail.com