My First Viking Longship
Water Craft: Microcontroller
Home
The Game

Water Craft

     Microcontrollers
     Software
     Electronics
     Mechanics
Helm

Communications

Gems of Wisdom
Media
Two PICs were used to control the craft. Both PICs read and responded to xBee communications individually, but only one PIC could transmit. This PIC was labeled "Smart PIC" while the other was named "Dumb PIC." Details of the distribution of tasks between PICs is as follows:

Smart PIC:
  • Detect the iButton
  • Detect iButton broadcast
  • Send matched message
  • Send address of paired helm to Dumb PIC
  • Display Team affiliation
  • Detect and respond to pings
  • Detect and forward standdown messages
  • Control the left motor
  • Detect and implement hard and soft reset
Dumb PIC:
  • Receive SSP Source address from Smart PIC
  • Control the right motor
  • Control the water pump
  • Activate special functions
  • Detect and implement hard and soft reset