Question about : communication between 2 microcontrollers
Hills
Posts: 13
Hi
Actually, I'm building a small sumo robot that will use two microcontrollers ( a basic stamp 2 and a pic16f84 ). One two receives the values of the sensors and the other to drive the motors. But I don't really know how i can make the two microcontrollers communicate together. First, I thought of using two wires ( one for data and one for clock ) to communicate but somme guys told me that i should use I2c circuitries and I have any idea of what this is. SO I would like someone to tell me what I should do, give me documentations about it to help me finish my project.
Thank you
Actually, I'm building a small sumo robot that will use two microcontrollers ( a basic stamp 2 and a pic16f84 ). One two receives the values of the sensors and the other to drive the motors. But I don't really know how i can make the two microcontrollers communicate together. First, I thought of using two wires ( one for data and one for clock ) to communicate but somme guys told me that i should use I2c circuitries and I have any idea of what this is. SO I would like someone to tell me what I should do, give me documentations about it to help me finish my project.
Thank you
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Do you have a Stamp Tester yet?
http://hometown.aol.com/newzed/index.html
·
Another possibility is an SPI interface, using SHIFTIN/SHIFTOUT -- but the SERIN/SEROUT is still the simplist.