CHRP 3.0

CHRP3 level 3 photo

CHRP 3.0 features

  • 28-pin mid-range PIC16F886 or USB-capable PIC18F25K50 8-bit microcontrollers
  • crystal-free clock frequency range of 32kHz to 48MHz (PIC18F25K50),
    32kHz to 8MHz (PIC16F886)
  • USB support for PIC18F25K50, including power and bootloader programming
  • 8 buffered LED outputs*
  • 6 pushbutton inputs*
  • piezo beeper output
  • 1 IR LED output ideal for line-following robot applications
  • 1 IR LED output ideally suited to IR communication
  • IR demodulator input
  • 2 line X 16 character LCD*
  • 1 high-current motor driver supporting 4 DC motors (on-off), or 2 DC motors (fwd-rev), or 1 stepper motor*
  • 4 servo motor outputs for RC hobby servos*
  • 2 analogue phototransistor inputs ideal for line-following or light-seeking robots
  • 1 analogue potentiometer input
  • 1 analogue temperature input
  • 1 analogue power supply (battery) voltage divider input
  • supports PICkit-2 and PICkit-3 in-circuit serial programmers/debuggers
  • built-in power supply circuit with rectifier, low drop-out voltage regulator, and power LED

*Specific combinations of inputs and outputs can be active simultaneously. Refer to the schematic to determine possible I/O combinations.

CHRP resources

CHRP 3.01 schematic diagram PDF

CHRP 3.01 parts layout PDF

CHRP 3.01 Gerber files ZIP

PIC16F886 simplified block diagram PDF

CHRP (Common Hardware Robotics Project) 3

We call it CHRP ('chirp'). CHRP is a fully-featured microcontroller development system optimized for simple robotics applications. CHRP was created to help high school students learn about electronics and computer technology in a fun, hands-on way. CHRP also makes a great hardware and software training tool for introductory digital courses in college and university. CHRP is fully open, including its hardware design, software, and all of the CHRP resources and activities.

What makes CHRP so special?

CHRP was designed for learning, and for the classroom learning environment. It incorporates a power supply as well as analogue and digital circuitry to give students a wide base of electronics knowledge using just one project. CHRP is designed to be cost effective and can built in stages, enabling its capabilities to grow as students progress and providing level-appropriate challenges for each grade or semester (eg. grades 10-11-12, or introductory programming, interfacing, analogue techniques, etc.).

Learn by doing through CHRP activities

Use the hands-on CHRP construction activities to learn about electronic parts and circuits as each section of the CHRP board is built and tested. Learn about resistors, capacitors, diodes, LEDs, power supplies, series circuits, and parallel circuits while exploring circuit characteristics using test equipment such as a multimeter and oscilloscope.

Spend more time programming

CHRP includes a variety of built-in I/O circuits, chosen to represent a range of software skills and challenges, and is designed to be easily adaptable for line-following and basic robotics applications by using our simple CHRPbot robot base. Using pre-designed and tested I/O circuits enables students to focus on programming skills rather than spending time prototyping circuits on breadboards, or designing and building more complex mechanical robots.

It's a versatile, free development board

When you're ready to move past the basics, use CHRP as the embedded controller for different embedded projects, or as a development system for other embedded PICmicros. The versatility of the CHRP I/O enables data logging, user interface applications, alarm circuits, animatronics, remote control circuits, and more. And, since both CHRP's design and the MPLAB development tools are free, what you can do with it is only limited by your skills and imagination.

CHRP3family-1200x500

These three different variations of the CHRP board correspond to the hardware requirements and software sophistication of the programming activities on the CHRP page - level 1, level 2, level 3.

Build a CHRP

What you will need

A CHRP printed circuit board and parts. You can buy a CHRP board from our products page. If you need many CHRP boards, download the CHRP Gerber files (above) and have your preferred pcb facility make them for you.

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, screwdrivers, and diagonal cutters.

CHRP construction activities PDF

  1. CHRP Schematic Scavenger Hunt
  2. CHRP Activity 1 - Resistors
  3. CHRP Activity 1.1 - Series Circuits
  4. CHRP Activity 1.2 - Parallel Circuits
  5. CHRP Activity 2 - Diodes
  6. Oscilloscope Measurement Activity
  7. CHRP Activity 2.1 - Diode Rectifiers
  8. CHRP Activity 2.2 - LEDs
  9. CHRP Activity 3 - Capacitors
  10. CHRP Activity 3.1 - Capacitor Filtering.
  11. CHRP Activity 4 - Voltage Regulator
  12. CHRP Activity 5 - Digital Inputs
  13. CHRP Activity 5.1 - Analogue Inputs

Program in assembly

What you will need

Microchip's MPLAB-X or MPLAB 8 IDE (www.microchip.com).

Microchip's PICkit-3 or PICkit-2 USB programmer/downloader, or a third-party programmer.

A CHRP3 (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.

Getting started with assembly

Start by taking a look at the assembly code information. Next, make an assembly code project using the step in the MPLAB tutorial.

Level 1 Activities

  1. Output program
  2. Count program
  3. Chaser program
  4. Input program
  5. CHRP robot program
  6. Analogue input program
  7. Math program
  8. Decision program
  9. Loops program
  10. Time delay loops program

Program in C

What you will need

Microchip's MPLAB-X IDE (www.microchip.com).

Microchip's PICkit-3 or PICkit-2 USB programmer/downloader, or a third-party programmer.

A CHRP3 (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.

Getting started with C code

Start by following the steps in the MPLAB X C tutorial.

Level 1 Activities

  1. Output program
  2. Count program
  3. Chaser program
  4. Input program
  5. CHRP robot program
  6. Analogue input program
  7. PWM output program
  8. Beep sound program
  9. Sending signals