Fubarino TM SD Reference Manual



Similar documents
Introduction. Getting familiar with chipkit Pi

Doc: page 1 of 17

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.

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

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

EasyPIC4 User s Manual

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

FLYPORT Wi-Fi G

Board also Supports MicroBridge

MX PIC24F Educational Module User Manual

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

AVRprog. programmer by MikroElektronika

PN532 NFC RFID Module User Guide

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

Tutorial for MPLAB Starter Kit for PIC18F

INTRODUCTION TO SERIAL ARM

DSO138 oscilloscope program upgrade method

Workshop Intel Galileo Board

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

Using Xbee in Serial Communication

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

PolyBot Board. User's Guide V1.11 9/20/08

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

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


Lab Experiment 1: The LPC 2148 Education Board

KTA-223 Arduino Compatible Relay Controller

Configuring a YubiKey for the YubiCloud

RN-131-PICTAIL & RN-171-PICTAIL Web-Server Demo Application

Android Controlled Based Interface

Chapter 1 Hardware and Software Introductions of pcduino

CAN-Bus Shield Hookup Guide

AVR Prog USB v3 MK II Eco Manual

Accurate Measurement of the Mains Electricity Frequency

FlowKit in-circuit debug system

Microcomputer Based Electronics: Using the C Stamp in Pre- Engineering, Technology, and Engineering Programs

K128. USB PICmicro Programmer. DIY Electronics (HK) Ltd PO Box 88458, Sham Shui Po, Hong Kong. mailto:

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

Programming Device Manual Booklet AVR Prog USB v2

USB / Data-Acquisition Module NOW LEAD-FREE

MARTECH SPI Tools. MARTECH SPI Tools User Manual v1.0. User Manual

EvB 5.1 v5 User s Guide

Intro to Intel Galileo - IoT Apps GERARDO CARMONA

USB to RS-422/485 Serial Adapter

Fondamenti su strumenti di sviluppo per microcontrollori PIC

Designing VM2 Application Boards

Evo Laser Firmware Developer s Manual

USER S MANUAL TACHOTERMINAL PRO. Firmware

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

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

Flight Controller. Mini Fun Fly

WinPFT File Transfer Utility (Catalog No ND7)

Figure 1. 8-Bit USB Debug Adapter

2.2" TFT Display. Created by Ladyada. Last updated on :15:09 PM EDT

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

ECIO40P ECIO28P ECRM40. Page 1. USB programmable microcontrollers. 0.6 DIP footprint. Supplied with a free version of Flowcode. E-blocks compatible

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

VIP YubiKey Unlock Guide

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

Part 1. MAX BIT DAC with an Arduino Board. MIDI to Voltage Converter Part1

CAN bus board. EB018

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Scalar Network Analyzer

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

GPS/GLONASS SiRFstarV Evaluation Kit EVA5100-A

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

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

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

Section 28. In-Circuit Serial Programming (ICSP )

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

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

Adafruit BME280 Humidity + Barometric Pressure + Temperature Sensor Breakout

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

AC-PG-USBASP USBASP AVR Programmer

Waspmote. Quickstart Guide

Quick Start Guide. USB Packet Sniffer/Dongle for Kinetis MKW22D and MKW24D Wireless MCUs USB-KW24D512

Serial Communications

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel

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) (

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

WIZ-Embedded WebServer User s Manual (Ver. 1.0)

ScanWin Installation and Windows 7-64 bit operating system

Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht (info@eonline.de) V0.1draft

Select Correct USB Driver

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

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

How to setup a serial Bluetooth adapter Master Guide

2.0 Command and Data Handling Subsystem

Example Connection between USB Host and Android

HOW TO TRANSFER FILES BETWEEN EEN IDL7000 PVR AND USB2 DEVICE

New Product Brief 750 Naples Street San Francisco, CA (415)

Modicon M340 Firmware

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

EARTH PEOPLE TECHNOLOGY SERIAL GRAPH TOOL FOR THE ARDUINO UNO USER MANUAL

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

Embedded Software Development: Spottbillige Hardware + OSS = Zum Spielen zu Schade!

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

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

Transcription:

Fubarino TM SD Reference Manual Last Revision: May 11th, 2013 Introduction: The Fubarino TM SD is a small microcontroller board that uses a powerful PIC32 microcontroller. It is chipkit TM /MPIDE compatible and can run the same sketches that run on an Arduino TM. It is designed to have all I/O pins on either side of the board in a traditional DIP pattern so that it can easily be plugged into a breadboard. It has a USB connector for power, programming, and a connection to a PC. It also has a microsd slot for increased storage. Features: PIC32MX440F256H (Fubarino SD v1.4) or PIC32MX795F512H (Fubarino SD v1.5) microcontroller, which includes either 256KB or 512KB Flash and 32K or 128KB of RAM Supported as development target from within MPIDE 45 I/O pins microsd slot connected to hardware SPI port Pads for 32 KHz crystal USB connector for power, programming, and connection to PC (serial, mass storage, etc.) Two buttons: RESET for resetting the board, and PRG for getting into bootloader mode and user application use USB bootloader pre-programmed at the factory no other hardware needed to program board

Figure 1 : FubarinoSD Pin Map Entering Bootloader Mode To enter bootloader mode (also called programming mode) simply press the PRG button while pressing and releasing the RESET button. As long as the PRG button is held down when the RESET button is released, the bootloader will start waiting for a new program to be downloaded over USB. It will wait indefinitely. The bootloader on the Fubarino SD implements the avrdude STK500 v2 protocol, just like the other chipkit TM /MPIDE boards.

Programming in MPIDE To program the Fubarino SD board from within MPIDE, simply download the latest MPIDE version, http://chipkit.net/started/install-chipkit-software/, unzip and run it, and select Fubarino SD from the Tools->Boards->Fubarino menu. Then, put the Fubarino SD into bootloader mode (see above), and then select the proper serial port in the Tools->Serial Port menu. After you enter your sketch and click the Upload button, MPIDE will compile your sketch and then upload it to the Fubarino SD. After the upload is complete, the Fubarino SD will automatically reset and immediately begin running your sketch code. This includes sending information to the USB serial, UART1, and UART2. Serial communications The Fubarino SD board has two hardware serial ports: UART2 on pins 29 (TX) and 28 (RX), and UART1 on pins 9 (TX) and 8 (RX). It also has a USB serial port that operates as the default serial port. See the Code Examples wiki page on the Fubarino SD website for example sketch code on how to uses the three serial ports. USB serial init: Serial.begin() On board serial1 pins 8 (RX), 9 (TX): Serial0.begin() On board serial2 pins 28 (RX), 29 (TX): Serial1.begin() Using the microsd The Fubarino SD has a single SPI port, which is tied to the microsd memory card slot as well as pins 24 through 27. The standard SD library that comes with MPIDE will work with the FubarinoSD microsd slot without modifications. Power The Fubarino SD can be powered in a number of different ways. 1. USB : When 5V are present on the USB connector (from a PC or a powered hub for example), the FubarinoSD will use this power source. This power source has a reverse protection diode connection to the 3.3V regulator. If both USB and Vin are powered, whichever is higher will end up providing the power to the regulator. 2. Vin pin: You can also place 2.8V to 13.2V on the Vin pin to power it from an external power source. This power source has a reverse protection diode connection to the 3.3V regulator. If both USB and Vin are powered, whichever is higher in voltage will power the device. 3. 3.3V pin(s): You can power the FubarinoSD by connecting a 3.3V source to either 3.3V pin. You must be careful not to exceed 3.6V on these pins or the PIC32 will be destroyed. Fubarino SD Versions Fubarino SD versions 1.0 to 1.3 were not produced in any number and were not widely distributed.

Fubarino SD version 1.4 is being manufactured and sold by SeeedStudio. It uses the PIC32MX440F256H processor, which has 256KB of Flash and 32KB of RAM. Because the memory size is different from other Fubarino SD boards, if you have this version of the board, you should use the Fubarino SD (Seesd) board in the MPIDE Boards->Fubarino menu. Fubarino SD v1.5 was the first version Microchip built, and uses a PIC32MX795F512H PIC32 part. This part has 512KB of Flash and 128KB of RAM. Make sure to select Fubarino SD from the MPIDE Boards- >Fubarino menu for version 1.5 boards. Pin Reference This table provides a cross reference of all functions and labels for each pin of the Fubarino SD. Note that the Fubarino Pin is the pin number of the entire board, starting with pin 1 = Vout and correspond to the J2 and J3 pin numbers in the schematic. The Arduino Pin is the pin number you use in your code, and is what is listed on the silk screen of the board. Fubarino Pin Arduino Pin Analog PIC32 Pin Silk Name Alt functions J2-1 - - - Vout - - J2-2 - - - Gnd - - J2-3 - - - 3.3V - - J2-4 Pin 0 - RD8 0 RTCC/IC1/INT1 Yes J2-5 Pin 1 - RD9 1 U1CTS/SDA1/IC2/INT2 Yes J2-6 Pin 2 - RD10 2 SCL1/IC3/PMCS2/PMA15/INT3 Yes J2-7 Pin 3 - RD11 3 IC4/PMCS1/PMA14/INT4 Yes J2-8 Pin 4 - RD0 4 OC1/INT0/RD0 Yes J2-9 Pin 5 - RC13 5 SOSCI/CN1 No J2-10 Pin 6 - RC14 6 SOSCO/T1CK/CN0 No J2-11 Pin 7 - RD1 7 U1RTS/OC2 Yes J2-12 Pin 8 - RD2 8 U1RX/OC3 Yes J2-13 Pin 9 - RD3 9 U1TX/OC4 Yes J2-14 Pin 10 - RD4 10 OC5/IC5/PMWR/CN13 Yes J2-15 Pin 11 - RD5 11 PMRD/CN14 Yes J2-16 Pin 12 - RD6 12 CN15 Yes J2-17 Pin 13 - RD7 13 CN16 Yes J2-18 Pin 14 - RF0 14 Yes J2-19 Pin 15 - RF1 15 Yes J2-20 Pin 16 - RE0 16 PMD0 Yes J2-21 Pin 17 - RE1 17 PMD1 Yes J2-22 Pin 18 - RE2 18 PMD2 Yes J2-23 Pin 19 - RE3 19 PMD3 Yes J2-24 Pin 20 - RE4 20 PMD4 Yes J2-25 Pin 21 - RE5 21 PMD5 Yes J2-26 Pin 22 - RE6 22 PMD6 Yes J2-27 Pin 23 - RE7 23 PMD7 Yes J2-28 - - - GND - - 5V tolerant?

J3-1 - - - GND - - J3-2 Pin 24 - RG6 SCK/24 SCK2/PMA5/CN8 Yes J3-3 Pin 25 - RG7 SDI/25 SDI2/PMA4/CN9 Yes J3-4 Pin 26 - RG8 SDO/26 SDO2/PMA3/CN10 Yes J3-5 Pin 27 - RG9 SCK/27 SS2/PMA2/CN11 Yes J3-6 Pin 30 A14 RB4 A14 AN4/C1IN-/CN6 No J3-7 Pin 31 A13 RB3 A13 AN3/C2IN+/CN5 No J3-8 Pin 32 A12 RB2 A12 AN2/C2IN-/CN4 No J3-9 Pin 33 A11 RB1 A11 PGEC1/AN1/VREF-/CVREF-/CN3 No J3-10 Pin 34 A10 RB0 A10 PGED1/AN0/VREG+/CVREF+/PMA6/CN2 No J3-11 - - MCLR RST MCLR Yes J3-12 - - - 3.3V - - J3-13 - - - GND - - J3-14 Pin 35 A9 RB7 A9 PGED2/AN7 No J3-15 Pin 36 A8 RB6 A8 PGEC2/AN6/OCFA No J3-16 Pin 37 A7 RB8 A7 AN8/U2CTS/C1OUT No J3-17 Pin 38 A6 RB9 A6 AN9/C2OUT/PMA7 No J3-18 Pin 39 A5 RB10 A5 TMS/AN10/CVREFOUT/PMA13 No J3-19 Pin 40 A4 RB11 A4 TDO/AN11/PMA12/RB11 No J3-20 Pin 41 A3 RB12 A3 TCK/AN12/PMA11 No J3-21 Pin 42 A2 RB13 A2 TDI/AN13/PMA10 No J3-22 Pin 43 A1 RB14 A1 AN14/U2RTS/PMALH/PMA1 No J3-23 Pin 44 A0 RB15 A0 AN15/OCFB/PMALL/PMA0/CN12 No J3-24 Pin 28 - RF4 RX/28 SDA2/U2RC/PMA9/CN17 Yes J3-25 Pin 29 - RF5 TX/29 SCL2/U2TX/PMA8/CN18 Yes J3-26 - - - 3.3V - - J3-27 - - - GND - - J3-28 - - - Vin - - Schematic For the schematic, please see the Fubarino_SD_v15_sch.pdf file on the Fubarino SD website. https://github.com/fubarino/fubarino.github.com/blob/master/sd/v1.5/fubarino_sd_v15.sch?raw=true More Information The best places to get support for Fubarino Mini are Main chipkit website chipkit forum License The Fubarino series of boards are released by Schmalz Haus LLC and FubarLabs under a Solderpad Hardware License v0.51. For more information, see: http://solderpad.org/licenses/shl-0.51/

Developers The Fubarino series of boards were developed by Rick Anderson of FubarLabs and Brian Schmalz of Schmalz Haus LLC. They are registered chipkit TM boards and are designed to be programmed with the MPIDE system.