z3t0 / Innovator

Skills Canada Robotics Competition
1 stars 0 forks source link

Communicating between Master and Slave #7

Open z3t0 opened 8 years ago

z3t0 commented 8 years ago

Objective:

We need a method of communication between the Raspberry Pi (which is the brain) and the ATmel chips (which are the workers). Basically:

  1. Controller gives raspberry pi several jobs
  2. Raspberry Pi does some calculations and tells which worker to do what job
  3. Raspberry Pi uses i2c (protocol) to talk to the other micro controllers

    Sources:

z3t0 commented 8 years ago

One thing to keep in mind is that i2c needs to fast enough to be almost realtime