- - The Servo Controller shall be able to control at least eight standard RC servos.
- - The Servo Controller shall be able to generate a RC servo pulse signal varying from one millisecond to two millisecond, at a rate of fifty Hertz.
- - The Servo Controller shall be able to achieve a signal control resolution of at least eight bits.
- - The Servo Controller shall be able to be commanded by either I2C or asynchronous serial communication.
- - The Servo Controller shall allow communication protocol to be selected via physical interaction.
- - The Servo Controller shall regulate and protect the input voltage for system components.
- - The Servo Controller shall use standard 0.1 inch male headers to interface with servos.
- - The Servo Controller shall not occupy a planar area greater than two square inches.





This is the final version of the schematic. We had gone through several designs, until we got to this one. This schematic puts in some extra components to meet our requirements. Input voltage is supplied via a two pin screw terminal. We then have a voltage regulator, which accepts input voltage, that regulates the voltage to 5 volts to power our chip. Close to the regulator, we have a few decoupling capacitors to help keep the voltage clean. The voltage regulator has reverse polarity protection, but we put a diode at the Vdd of our chip just in case. Raw input voltage is used to power the servo rail. Most servos like voltage between 5 and 8 volts, with better performance as the voltage increases. With out setup, all you have to do is connect a 7.2 volt battery to the terminal and your ready to go.
To provide the servo control signal we have used the entirety of port C. If you look closely, the servo signals are not arranged the same as the port numbers. This is due to the fact that we are designing this to be routed on a PCB. For the 20 pin QFN chip, this layout gives us the ability to route the board quite easily. We have also broken out the pins used for serial and I2C communication. We have also put in a physical switch to select between the two serial modes. To round it all out we have some indicator LEDs and a reset switch. The LED will indicate power and which communication mode the controller is in. The MCLR pin of the PIC has to be pulled to 5 volts to prevent it from reseting. We do this by putting a resistor between the MCLR pin and a 5 volt source. For the reset button to work, all the switch does is pull the MCLR pin to ground. Voltage goes through the resistor and flows into ground. Its because of the resistor that the circuit does not short.





















