Putting it all together

Over the last week I have started to create a prototyping board to enable me to setup and test circuits quickly.  I have also switched to the new MPLAB X IDE and  their new C compiler and it is definitely an improvement. My only complaint would be, as it is based on netbeans, the resources it consumes and time to start (plus it has crashed a couple of times)

So the current hardware setup includes...

  • Arduino UNO 
    • Interface sheild (I2C)
    • Franken-shield (Microchip PIC 16F690 controller)
  • Custom prototype board
    • Darlington arrays
    • TIP 31A transistors
    • LEDs
    • buttons
    • Screw terminals (to attach LEDs)
  • 4 lengths of LEDs

Prototype I2C light module
The video below shows the UNO acting as master sending commands to the PIC based slave module using the I2C protocol.  I am developing a high-level command protocol between the master (uno) and slave (pic) which is abstracted from the implementation on the slave; the slave controls a number of channels which the master can turn on/off either individually or as a sequence.  This leaves the master (uno) to worry about the overall pattern and synchronisation of multiple slave modules.

Next steps are sorting out the following;

  1. Saving config data to eeprom (mainly the i2c address so that we can have multiple)
  2. Getting the slaves to report software version and config to master on request
  3. Sorting out using a push button with a PIC (is there a 'bounce issue' ? Probably....
  4. Test the multi-plexing
  5. Do the final circuit design ready for production....well soldering in the garage :)


Popular Posts