Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 4th June 2008, 10:36 AM   (permalink)
Default Communication between controllers

Dear all i am designing a project in which i have to control three phase volatges currents and many other parameters according to the desicions. m using 4 microcontrollers one is 8051 and 3 pic 16f688. i want to make communication between these four controllers using minimum i/o s . is that possible that the 3 pic controllers communicate with 8051 using usart communication ?
or 1st pic send data to 2nd pic and then 2nd sends data of 1st and 2nd to 3rd pic and then 3rd pic transfers all the data to 8051..


which method will be easier and better and which communication is possible.i mean to say is usart better or i will have to use SPI communication in which per controller 3 pins will be accquired.
neelam29 is offline  
Reply With Quote
Old 4th June 2008, 10:48 AM   (permalink)
Default

USART should be fine, but it seems a bit obscure mixing different types of controllers?.

Depending exactly what you're trying to do, passing data from one to the next is probably the easiest way?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Reply With Quote
Old 4th June 2008, 12:36 PM   (permalink)
Default

You could daisy chain them or perhaps wire them in a 'star' configuration using open drain drivers for master/slave operation.
Mike, K8LH is online now  
Reply With Quote
Old 4th June 2008, 09:22 PM   (permalink)
Default

The 8051 is the stickler for sure, why not use a Pic as a master? You could then use say Master I2C (two pins), with the 16f688's as slaves. Whoops, see you can't use the 16f688 as I2C slaves, never mind.
nickelflippr is offline  
Reply With Quote
Old 4th June 2008, 09:28 PM   (permalink)
Default

You can use the 16F88 as an I2C slave.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Ethernet Controllers hood Micro Controllers 4 14th February 2008 08:36 PM
micro controllers? Khazar Micro Controllers 1 1st December 2007 03:01 AM
New to micro controllers Glacius Micro Controllers 16 17th June 2007 10:35 AM
micro controllers mahinda jayasinghe Micro Controllers 2 24th June 2004 10:14 PM
PID CONTROLLERS manos General Electronics Chat 2 14th May 2003 07:20 PM



All times are GMT. The time now is 01:33 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.