Introduction. Getting familiar with chipkit Pi



Similar documents
Fubarino TM SD Reference Manual

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

Doc: page 1 of 17

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

PN532 NFC RFID Module User Guide

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT


Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.

MX PIC24F Educational Module User Manual

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

AN-812 APPLICATION NOTE

Figure 1. 8-Bit USB Debug Adapter

KTA-223 Arduino Compatible Relay Controller

FLYPORT Wi-Fi G

Switch board datasheet EB

USER GUIDE EDBG. Description

Sam440ep-flex User Guide

Our innovation, Your Applications. Your Own Custom Embedded Board in 5 weeks!

Raspberry Pi. Hans- Petter Halvorsen, M.Sc.

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

PICNet 1. PICNet 1 PIC18 Network & SD/MMC Development Board. Features. Applications. Description

Fondamenti su strumenti di sviluppo per microcontrollori PIC

DSO138 oscilloscope program upgrade method

Android Controlled Based Interface

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

Lab Experiment 1: The LPC 2148 Education Board

USB OTG and Embedded Host Microchip Technology Incorporated. All Rights Reserved. Slide 1

Z8 Encore! XP F082A Series Development Kit

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

Chapter 1 Hardware and Software Introductions of pcduino

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

AC-PG-USBASP USBASP AVR Programmer

Getting Started with the Xilinx Zynq All Programmable SoC Mini-ITX Development Kit

R4/F4 Series Master Development System User's Guide

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

Using Xbee in Serial Communication

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter

HARDWARE MANUAL. BrightSign HD120, HD220, HD1020. BrightSign, LLC Lark Ave., Suite 200 Los Gatos, CA

SainSmart UNO R3 Starter Kit

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

Workshop Intel Galileo Board

EasyPIC4 User s Manual

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

Evo Laser Firmware Developer s Manual

INTRODUCTION TO SERIAL ARM

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

LED board datasheet EB

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

2.0 Command and Data Handling Subsystem

_ v1.0. EVB-56x Evaluation & Development Kit for Motorola PowerPC MPC56x Microcontrollers USERS MANUAL. isystem, February /8.

SAM D20 Xplained Pro. Preface. SMART ARM-based Microcontrollers USER GUIDE

Software User Guide UG-461

XBee USB Adapter Board (#32400)

Pre-tested System-on-Chip Design. Accelerates PLD Development

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

Section 28. In-Circuit Serial Programming (ICSP )

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

EZmoto V2. Product description Rev. 6 10/01/2014. EZmoto V2 Product description Rev.6 10/01/2014

MFRD52x. Mifare Contactless Smart Card Reader Reference Design. Document information

ADVANCED VEHICLE TRACKING SYSTEM USING ARM7

SABRE Lite Development Kit

FTDI Chip. VM800P Datasheet Embedded Video Engine Plus Module. VM800P Embedded Video Engine Plus Module Datasheet Version 1.0

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

UM1724 User manual. STM32 Nucleo boards. Introduction

MOD-ENC28J60 development board Users Manual

Flight Controller. Mini Fun Fly

Web Site: Forums: forums.parallax.com Sales: Technical:

The care and feeding of Pythons at the Redmond Zoo. (Using Micro Python and pyboard with Windows)

MediaTek LinkIt Smart 7688 FAQ

RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards

Strato Pi Hardware Guide

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

SAM D21 Xplained Pro. Preface. SMART ARM-based Microcontrollers USER GUIDE

How To Add A Usb Secondary Ipo Bootloader To An Lpc23Xx Flash Device To A Flash Device

UniPi technical documentation REV 1.1

HVP-KV31F120M Quick Start Guide

Banana Pi Open-Source Router Board

PCAN-MicroMod Evaluation Test and Development Environment for the PCAN-MicroMod. User Manual. Document version ( )

AVRprog. programmer by MikroElektronika

Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14

M52233DEMO Demonstration Board for Freescale MCF52233

Express11-G3 Backplane. User Guide. Version: 1.02

Applications Development on the ARM Cortex -M0+ Free On-line Development Tools Presented by William Antunes

Cypress CY7C64225 USB-to-UART Setup Guide Version 1.3

32-bit Microcontrollers (up to 512 KB Flash and 128 KB SRAM) with Graphics Interface, USB, CAN, and Ethernet

SAM G55 Xplained Pro. Preface. SMART ARM-based Microcontrollers USER GUIDE

RS232 Board datasheet

DATASHEET. Armadillo-43(T) 4.3 Linux based Display Module. Armadillo-43 (Non-Touch) Armadillo-43T (Resistive Touch)

How To Build A Prototyg Carrier Board For Industrial Use

1-10 The USB PIC K150 microcontroller programmer Hardware version V2.0 File version V2.0 Product Image

FRDM-KL25Z User's Manual Rev. 1.0

Adafruit BME280 Humidity + Barometric Pressure + Temperature Sensor Breakout

CAN-Bus Shield Hookup Guide

Transcription:

Overview: chipkit Pi Introduction chipkit Pi (Designed for Raspberry Pi) is the latest Arduino compatible chipkit platform from Microchip and element14. It features a 32 bit PIC32 microcontroller in a prototyping friendly, low pin count SPDIP package. The PIC32's performance, memory and integrated peripherals allow users to create applications including touch sensing, audio processing and advanced control. The board is supported by the free chipkit Multi Platform IDE (MPIDE) that can be hosted on the Raspberry Pi. Getting familiar with chipkit Pi 1 Bootloader Enable Button 2 RESET Button 3 JA4: Power Header 4 JA3: Analog/Digital Header 5 JTAG Connector 6 LEDs 7 JA2: Digital/Serial Header 8 JA1: Digital/Serial Header 9 Raspberry Pi Breakout Header 10 Raspberry Pi Connection Header (underside of board) 11 USB Connection 12 ICSP Connection (not populated) 13 Power Connector 14 PIC32MX250F128B Microcontroller

chipkit Pi Jumper Settings Jumper Function Description Jumper across pins 1 and 2 Jumper across pins 2 and 3 JP2 Input Voltage Selection (If you are unclear as to the Two left most pins bypasses voltage regulator Right most pins connects input voltage to 5 V regulator function of this jumper leave in the default rightmost position. Potential for Microcontroller (MCU) damage if configured incorrectly) JP1 Function Select UART 2 Receive (RX2) ICSP Function PGEC (position required to program chipkit Pi via MPIDE over serial) JP4 Function Select UART 2 Transmit (TX2) ICSP Function PGED (position required to program chipkit Pi via MPIDE over serial) JP8 Function Select SPI connector MISO on JA1 JTAG Function TCK JP14 Function Select SPI connector SS on JA1 JTAG Function TDI JP6 Function Select Bootload Button Enable JTAG Function TDO JP11 Function Select Board LED2 A1 on JA3 JP15 Function Select Board LED1 A0 on JA3 JP12 Function Select USB function D JP13 Function Select USB function D+ JP7 Function Select UART 1 Transmit (TX1) Connect to SOSCI for X2 Oscillator JP9 Function Select UART 1 Receive (RX1) Connect to SOSCO for X2 Oscillator JP10 Function Select JTAG function TMS JP5 5V Connection Connect to 5V supply off of Pi Power chipkit Pi from external supply

chipkit Pi Pin Out Map PIC32MX250F128B Pin chipkit Pi Pin Function Notes (Pins are 3.3V Tolerant only unless otherwise noted) 1 (5V Tolerant) RESET Connected to RESET Pushbutton 2 14/A0 Connected to LED1 3 11 4 5/TX2 Connected to UART on Raspberry Pi 5 4/RX2 Connected to UART on Raspberry Pi 6 16/A4/SDA2 Connected to SDA on JA3 header 7 17/A5/SCL2 Connected to SCL on JA3 header 8 VSS Not available 9 9 Used for 8MHz Oscillator 10 10 Used for 8MHz Oscillator 11 11/TX1 Connected to TX1 LED and can be used with 32.768kHz oscillator 12 12/RX1 Connected to RX1 LED and can be used with 32.768kHz oscillator 13 VDD Not available 14 (5V Tolerant) 2 15 (5V Tolerant) VBUS Not available 16 (5V Tolerant) 10 17 (5V Tolerant) 12/SCL1 18 (5V Tolerant) 18/SDA1/INT Connected to BOOTLOAD EN button 19 VSS Not available 20 VCAP Not available 21 8 Connected to D 22 9 Connected to D+ 23 VUSB 3V3 Not available 24 3 25 13 26 15/A1 Connected to LED1 27 AVSS Not available 28 AVDD Not available

Getting up and running with chipkit Pi chipkit Pi relies on the open source MPIDE integrated development environment, a version of which has been ported to an operating system that runs on Raspberry Pi. It is recommended, for ease and for first time use, that users download the complete operating system and MPIDE as a complete package. This can be downloaded at http://downloads.element14.com/downloads/chipkit_pi.zip, and should be saved to your computer. The file will be quite large (2GB), and will require unzipping once it has been downloaded. Once unzipped, you will be left with a.iso image file, ready for flashing to your empty SD Card. Choose an SD Card of at least 4GB capacity. Use a flashing utility like Win32 Disk Imager (available for free, from http://sourceforge.net/projects/win32diskimager/) to flash the.iso image to your SD Card. When complete, insert the fully flashed SD Card to your Raspberry Pi. Plug your new chipkit Pi board into Raspberry Pi, and power up. As MPIDE is already installed, you should be able to start MPIDE from the desktop. For reliable operation, do not plug chipkit Pi into a Raspberry Pi that is already powered up. Always power up both devices together. Powering the chipkit Pi The chipkit Pi can be powered in the following ways: Over the USB Via the ICSP Connection Through the Vin input From the Raspberry Pi Through the power jack Programming the chipkit Pi from MPIDE In order to program the chipkit Pi from MPIDE with your sketch, the board must be set to bootloader mode. To enter bootloader mode: 1. Ensure that both Jumpers JP1 and JP4 are connected to upper most pins of their header 2. Press and hold the BOOTLOAD EN button. 3. While the BOOTLOAD EN button is still pressed, press and release the RESET button. 4. Release the BOOTLOAD EN button. 5. Bootloader mode will be confirmed when the TX1 LED is on and the RX1 flashes. 6. After the sketch is uploaded, the TX1 and RX1 LEDs will turn off.

Example Sketches Sketches are Arduino style programmes that allow you to simply control various aspects of the chipkit Pi s processor, peripherals and GPIO. Some examples are built in to the MPIDE software. The best way to learn is to select one, load it and upload it into the chipkit Pi. Schematic For the schematic information, please visit the element 14 community http://www.element14.com/chipkit_pi More Information For more information, please visit 1. The element 14 community http://www.element14.com/chipkit_pi 2. The knode, element14 http://www.element14.com/community/community/knode/dev_platforms_kits/element14 _dev_kits/microchip chipkit/chipkit_pi 3. chipkit website http://chipkit.net/ 4. chipkit forum http://www.chipkit.org/forum/index.php 5. PIC32MX250F128B Homepage http://www.microchip.com/wwwproducts/devices.aspx?ddocname=en557425 6. TCHIP USB MX250F128B (PIC32MX250F128B pre programmed with USB bootloader) http://www.microchipdirect.com/productsearch.aspx?keywords=tchip USB MX250F128B The chipkit Pi can also be used as a standalone chipkit board. A version of the PIC32MX250F128B microcontroller is available preprogrammed with a USB bootloader that can be used to replace the PIC32 with UART bootloader that comes with the chipkit Pi. In this way, the user would simply connect the chipkit Pi via the USB connection to their personal computer s USB port and use the MPIDE version for their operating system. For instruction on how to download the MPIDE, see www.element14.com/chipkit_pi.