
|
INFO - FAQ - CC2-Forum - CCPro-Forum |
|
Hello, I can read some German and I understand the I²C bus completely. I want to upgrade a robot I have built with more sensors. The main processor is a C-Control I Unit M2.02. To handle the sensor readings I need to use a sub processor that must run independent of the main processor and only communicate with the main processor if the sensor readings exceed certain limits. I was thinking of using my older C-Control I Unit M2.01 to handle this task and by connecting ports 2 and 3 I could create an easy 2 way communication between the main and sub processor. Because of the number of sensors, processing needed and speed, I’m afraid that the IIC solution would not work. Thank you for your answer and I’ll give the port 2/3 solution a try. Greetings, H.J. Windt > > > Hello, > > Is it possible to connect 2x C-Control v 2.0 units by connecting port 2 of controller 1 to port 3 of controller 2 and port 3 of controller 1 to port 2 of controller 2 and then using the print”#ON_IR#”; or print”#ON_RF#”; to send and receive data/ commands? > > This way I could keep the rs232 free for programming. > > Greetings, > > H.J. Windt > > > > > > > Hello.... > I never tried a connection that way, but i can see no reason why this should not work. > > http://www.c-control-support.de/downloads/IICBUS_SLAVE.zip > > This link leads you to some samples for the M 2.0 working as IIC-BUS Slave with a simple > protocol for two way communication. > It is possible to connect more than one M 2.0 as slave. > The description is in german, but i will translate the most important pars on your request, if yo can not > capture the details. > > ciao...... > |
| Antwort schreiben |