CHRP 2.0 features
- 28-pin PIC16F886 microcontroller
- 8 buffered LED outputs*
- 8 pushbutton inputs*
- piezo beeper output
- audio low-pass filter output
- 2 IR LED outputs*
- 2 line X 16 character LCD*
- high-current motor driver output for 2 DC motors or 1 stepper motor*
- 6 servo motor outputs*
- 2 analogue phototransistor inputs
- 1 analogue potentiometer input
- 1 analogue temperature input
- IR demodulator input
- RS-232 serial I/O
- built-in power supply with rectifier, voltage regulator, and power LED
*Specific combinations of inputs and outputs can be active simultaneously. Refer to the schematic for all possible I/O combinations.
CHRP 2.0 schematic diagram (152kB ).
CHRP 2.0 parts layout (172kB ).
CHRP 2.0 Gerber files (148kB ).
CHRP 2.0 parts list (84kB ).
Common Hardware Robotics Project - CHRP 2
The CHRP 2.x family has been phased out and was replaced by the CHRP 3 during the 2012-2013 school year.
The major changes going from the CHRP 2 family to the CHRP 3 family include the addition of a mini-USB port (for for a bootloader connection to the PIC18F25K50), and the removal of the RS-232 level shifter circuit and serial port. The motor and servo outputs of the CHRP 3 are also moved to separate I/O ports (from shared I/O lines on the CHRP 2) to better accommodate robots using a combination of DC and servo motors.
The CHRP 2 design is still viable. Our focus, however, will shift to development using the CHRP 3. The CHRP 2 files will remain here for reference, and any software written for the PCI16F886 in the CHRP 3 should be readily adaptable to the CHRP 2 with minor changes in I/O pin assignments.
Like the CHRP 3, the CHRP 2 is a versatile platform that can serve to teach electronic circuits, assembly code and C programming and be used in a variety of robotics and embedded control applications. In addition, our students have used it as a development system to develop and debug code for other processors in the mid-range PICmicro familly.
Build a CHRP
What you will need
A CHRP printed circuit board. You can buy one from the products page. If you need many CHRP boards, you can save money by buying directly from our pcb supplier. Or, download the CHRP Gerber files (above) and have your preferred pcb facility make them.
Parts. All of the electronic components can be ordered from Digi-Key (www.digikey.com) using the part numbers in the CHRP parts spreadsheet (above).
Tools - soldering iron, electronic solder, solder flux remover, needle-nose pliers, screwdriver, and diagonal cutters.
CHRP construction activities
- CHRP Schematic Scavenger Hunt
- CHRP Activity 1 - Resistors
- CHRP Activity 1.1 - Series Circuits
- CHRP Activity 1.2 - Parallel Circuits
- CHRP Activity 2 - Diodes
- CHRP Activity 2.1 - Diode Rectifiers
- CHRP Activity 2.2 - LEDs
- CHRP Activity 3 - Capacitors
- CHRP Activity 3.1 - Capacitor Filtering.
- CHRP Activity 4 - Voltage Regulator
- CHRP Activity 5 - Digital Inputs
What you will need
Microchip's MPLAB or MPLAB X IDE (www.microchip.com), or a third-party PIC assembler.
Microchip's PICkit-2 or PICkit-3 USB programmer/downloader, or a third-party programmer.
A CHRP (of course!)—any of the three levels will work for the level 1 activities.
Batteries, a wall adapter or a power supply to power the CHRP.
CHRP programming activities
Sound, light and communication programs
- Jump table program
- Sound program
- Pulse-width-modulation (PWM) program
- Multi-output PWM program
- Servo program
- Data conversion program
- Serial transmit program
- Serial receive program
- IR receive program
- IR transmit program
- Interrupt programming
- LCD display program
- LCD custom character program
- User interface programming