PDA

View Full Version : PIC network over AC 220V



boban
- 11th February 2007, 18:00
Hello, I was searching this forum, but didn't found any valueable information about the communication between the PIC controllers over 220V AC. I found in BPB pro compiler interresting commands XIN and XOUT, looks very nice, but how I can use it for communication between the PICs connected to 220V? I've just want to switch on/off the bulb from the master PIC, but I don't want to use any other wires od wireless solutions. Thanks for ideas or links.
Bob

Ron Marcus
- 11th February 2007, 19:46
http://www.shed.com/x10stuff.html#pluginx
Use these devices with the X commands.

phoenix_1
- 20th May 2007, 22:55
If you want to play you find datasheet for TDA5051 9600 kbps / 220V
best regards phoenix_1

dhouston
- 21st May 2007, 00:58
Xin & Xout are rather limiting because of the low speed (60 bps) and limited number of commands. Plus you'll need an XM10 to send/receive.http://www.simplyautomate.co.uk/productdisplay.asp?prodid=3523
Here's a module based on the TDA5051A...
http://www.michat.com/GB/pages-gb/domotique-long-range.htm
Yitran's design has been selected for HomePlug Command & Control chipsets.
http://www.yitran.com/prod.htm

boban
- 30th May 2007, 22:59
Hello, so thanks to everyone for the posts. I played around and discoverred, that the best thing is to use the power modem TDA 5051. I am able to communicate between the two PIC via the power sockets. I build the remote controlled relay, simply I connected directly the serial line of TDA 5051 directly to PIC and it is working very well!!! So for those, who are interrested in to communicate via power lines use TDA 5051. Boban

phoenix_1
- 31st May 2007, 09:46
Hello, so thanks to everyone for the posts. I played around and discoverred, that the best thing is to use the power modem TDA 5051. I am able to communicate between the two PIC via the power sockets. I build the remote controlled relay, simply I connected directly the serial line of TDA 5051 directly to PIC and it is working very well!!! So for those, who are interrested in to communicate via power lines use TDA 5051. Boban

My pleasure if my idea is good.All the best to you and I wish many good project's in future to you.

Best regards Phoenix_1

rgregor
- 5th June 2007, 16:25
Yes, your idea with TDA kicked me to the right direction :)))))
I am thinking now about the security of this solution, some kind of encryption or authentication, but anyway your idea was the best !!!

phoenix_1
- 5th June 2007, 21:26
Yes, your idea with TDA kicked me to the right direction :)))))
I am thinking now about the security of this solution, some kind of encryption or authentication, but anyway your idea was the best !!!

If you need more ideas write me here or on my Email.
I have one question!
Do you have some time problem like address 001F error write on 16F84A!
Today I read this first time in my life (37 year old) and I can read PIC
and I can't erase or write them !!!
PIC is not code protest !!!
I don't know hove to fix this problem - need some idea !!!
Best regards

mister_e
- 6th June 2007, 02:12
I would bet of a poor JDM type programmer and IC-Prog? Case not, just tell us which one you're using

How do you program it? in the socket or ICSP?

phoenix_1
- 6th June 2007, 10:31
I programming with ALL programmer ( not JDM ) and I was probe with ICSP to
but last night I was erase all in 16F84A @ 4 MHz , and after reading I was see
that at location 029F still have writen some code !!!
I was replaced that pic with next and board work correct but I want to find
what was hapend with this firs.
Its programmed only 3 times (program memory).Data memory is clear - not usage data location - eeprom inside.

Sorry for may bad english !!!
Regards by phoenix