I have an ongoing project sitting on the back burner, and before I commit, I like to iron out as many details as possible.
I have been looking into communication protocols like I2C, and the 1-wire protocol, but am unsure what will be suitable. There will be a single master control module, and multiple slaves. (Slave addressing is required, but does not need to be explicitly supported by the communication protocol.)
My project will involve wired communication that must be able to travel 20 feet. Data transmission rate is not as important, as there will be two operating modes:
Mode Select, - which will require a single byte of data to select the current operational mode.
Mode Program, - which will require ~18 bytes (enter program mode, program slot, <program 2 - 17>)
I need something reliable, and easy to implement, as I only have basic C skills, and would like to do this with a PIC rather than a bloated Arduino or Raspberry Pi.
Ideas, suggestions and all sorts of questions are welcome. I'd like to hear some insight before I pick on of many roads and realize at the end that there was a better path.
I have been looking into communication protocols like I2C, and the 1-wire protocol, but am unsure what will be suitable. There will be a single master control module, and multiple slaves. (Slave addressing is required, but does not need to be explicitly supported by the communication protocol.)
My project will involve wired communication that must be able to travel 20 feet. Data transmission rate is not as important, as there will be two operating modes:
Mode Select, - which will require a single byte of data to select the current operational mode.
Mode Program, - which will require ~18 bytes (enter program mode, program slot, <program 2 - 17>)
I need something reliable, and easy to implement, as I only have basic C skills, and would like to do this with a PIC rather than a bloated Arduino or Raspberry Pi.
Ideas, suggestions and all sorts of questions are welcome. I'd like to hear some insight before I pick on of many roads and realize at the end that there was a better path.