Download Print this page

Advertisement

Quick Links

chipKIT™ Basic I/O Shield™ Reference Manual
Revised August 27, 2013
This manual applies to the chipKIT Basic I/O Shield rev. C
Overview
The chipKIT Basic I/O Shield is an input/output expansion shield designed for use with chipKIT microcontroller
boards such as the Uno32™, uC32™, and the Max32™. These boards are based on the popular Arduino® IDE open-
source hardware prototyping platform.
The Basic I/O Shield provides a range of input/output devices for both beginners and advanced users. It provides
simple digital input devices such as switches and buttons, and digital output devices such as discrete LEDs and
high-current open FET drivers. It also provides more advanced devices such as an I
sensor, an organic LED graphic display, and a potentiometer for use as an analog input device.
The Basic I/O Shield has the same form factor as the Uno32 board, but is also useable with the Max32 board.
The chipKIT Basic I/O Shield.
DOC#: 502-216
Other product and company names mentioned may be trademarks of their respective owners.
Features include:
A 128x32 pixel OLED graphic display.
2
An I
C temperature sensor.
A 256Kbit I
2
An I
C daisy chain connector.
Four push buttons.
Four slide switches.
Eight discrete LEDs.
Four open-drain FET drivers.
An analog potentiometer.
Copyright Digilent, Inc. All rights reserved.
1300 Henley Court
Pullman, WA 99163
www.digilentinc.com
2
2
C EEPROM, an I
C temperature
2
C EEPROM.
Page 1 of 13
509.334.6306

Advertisement

loading
Need help?

Need help?

Do you have a question about the chipKIT Basic I/O Shield and is the answer not in the manual?

Questions and answers

Summary of Contents for Digilent chipKIT Basic I/O Shield

  • Page 1 This manual applies to the chipKIT Basic I/O Shield rev. C Overview The chipKIT Basic I/O Shield is an input/output expansion shield designed for use with chipKIT microcontroller boards such as the Uno32™, uC32™, and the Max32™. These boards are based on the popular Arduino® IDE open- source hardware prototyping platform.
  • Page 2: Hardware Overview

    C bus is used to access the temperature sensor and the EEPROM and for the I C daisy chain connector. Copyright Digilent, Inc. All rights reserved. Page 2 of 13 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 3 3.3V power bus and ground. The connector can be used to extend the I C bus to another board and to power an external I C device. Digilent has cables and a selection of I peripheral modules that can be connected to this shield. 9. Potentiometer This is a 10K-ohm potentiometer connected across VCC3V3 and ground.
  • Page 4: Hardware Description

    (SS) is wired low on the Basic I/O Shield and the display is always enabled to receive data over the SPI interface. Copyright Digilent, Inc. All rights reserved. Page 4 of 13 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 5 Basic I/O Shield™ Reference Manual Digilent has a set of libraries for using the Basic I/O Shield with the chipKIT MPIDE. The OLED library can be used as-is or as a starting point for a more sophisticated graphics library.
  • Page 6 C device address for the EEPROM is ‘1010000’. Digilent has a library for using the EEPROM. It is contained in document # DSD-0000311 (chipKIT IOShield Library.zip) which can be downloaded from the Basic I/O Shield product page at www.digilentinc.com. The EEPROM library is IOShieldEEPROM.
  • Page 7 The TCN75A is rated for an accuracy of +/-1ºC and has selectable resolution from 0.5ºC down to 0.0625ºC. The 7- bit device address is ‘1001000’. Digilent has a library for using the temperature sensor. It is contained in document # DSD-0000311 (chipKIT IOShield Library.zip) which can be downloaded from the Basic I/O Shield product page at www.digilentinc.com. The temperature sensor library is IOShieldTemp.
  • Page 8: Appendix A: Chipkit Basic I/O Shield Pinout Table

    Basic I/O Shield™ Reference Manual Appendix A: chipKIT Basic I/O Shield Pinout Table Uno32 Max32 Function Description Notes Pin # Pin # OLED reset JP4 on Uno32 OLED data/command select SCLK OLED serial clock SDIN OLED serial data in...
  • Page 9: Appendix B: Example Driver Code

    Perform PIC32 device initialization to prepare for use of the OLED display. This example is hard coded for the chipKIT Uno32 and SPI2. Copyright Digilent, Inc. All rights reserved. Page 9 of 13 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 10 PORTClearBits(prtDataCmd, bitDataCmd); /* Start by turning VDD on and wait a while for the power to come up. Copyright Digilent, Inc. All rights reserved. Page 10 of 13 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 11 This function assumes that the display buffer to be copied is the global variable rgbOledBmp /* ------------------------------------------------------------ */ /*** OledUpdate Parameters: none Return Value: Copyright Digilent, Inc. All rights reserved. Page 11 of 13 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 12 - pointer to the buffer to send Return Value: none Errors: none Description: Send the bytes specified in rgbTx to the slave. Copyright Digilent, Inc. All rights reserved. Page 12 of 13 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 13 (SPI2STATbits.SPIRBF == 0); /* Put the received byte in the buffer. bRx = SPI2BUF; return bRx; Copyright Digilent, Inc. All rights reserved. Page 13 of 13 Other product and company names mentioned may be trademarks of their respective owners.
  • Page 14 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Digilent 410-216P-KIT 410-216...