|
|
View previous topic :: View next topic |
Author |
Message |
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Sun Dec 13, 2009 5:16 pm |
|
|
Anonymous wrote: | Rolling my own has had a LOT of advantages,especially being hacker proof. | I'm happy for you the system has not been tampered with (as far as you know of) but your protection sounds like 'security through obscurity', not the best known protection scheme. |
|
|
Guest
|
|
Posted: Sun Dec 13, 2009 5:48 pm |
|
|
Actually the system is quite robust and hacker proof(has to be to get ULC AA rating).Since it monitors for shorts between both main and backup conductors as well as grounds to Mother Earth. Also the hardware and software protocols do NOT conform to ANY known standard(RS232,485,ethernet,cable modems,cell phones, etc.)
Slap a 'sniffer' on the wires and I know about it, where and when. As well I can isolate your location and allow nodes ahead and behind to still communicate with the host. Something that 'normal' serial is incapable of. IE. ground RS-485 bus and you're compromised...me , I keep on working.
Jay |
|
|
creative_35
Joined: 02 Jan 2007 Posts: 15
|
|
Posted: Sun Dec 13, 2009 8:53 pm |
|
|
Thanks for the comments,
ckielstra wrote: | Not sure what you mean by 'communication up on request', |
I meant, The Master PIC sends a request to slave (Pull up or Pull down the bus) and while getting request, Slave sends a data to master.
ckielstra wrote: |
The only questions remaining are:
- What is the distance to the receiving PIC?
- Will there be only a single PIC listening, or multiple?
- What is the desired baudrate? |
The distance may vary from 10 meter to 50 meter.
Only the master pic listens.
Baudrate is not critical.
Master PIC have to do so many functions and busy always. While Master PIC need data, it will send a request to slave and listen for the reply. Master can wait only 10ms. Slave is ready to send data always. The data to be tranferred one time is 128 bit wide.
Thankyou |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Mon Dec 14, 2009 12:06 am |
|
|
If 10 ms includes the data transmission, the UART speed must be at least 19k2. Not very comfortable for a software UART.
Because the communication is basically unidirectional, it could use a hardware UART as ckielstra mentioned. The
pin configuration has to be changed dynamically to allow passing of the request. But hardware UART doesn't work for PIN_C1.
Software UART is the only way for the receiver in this case, you have tune your application to make it work. Perhaps
the receiver can disable interrupts during reception period? |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|