KNJN I2C bus development boards

Similar documents
KNJN I2C bus development boards

LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS

XS S ERIES TM PMB US TM O PTION C ARD

USB-I2C USB to I2C Communications Module Technical Specification

Mega128-Net Mega128-Net Mega128 AVR Boot Loader Mega128-Net

Microcontroller basics

ArduCAM-M-2MP Camera Shield

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

GRAVITECH GROUP

USB-to-I2C. Ultra Hardware User s Manual.

USB-to-I2C. Professional Hardware User s Manual.

SERDESUB 913ROS DS90UB913Q Serializer and DS90UB914Q Deserializer Evaluation Kit User s Manual

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

BASIC Arduino. Part I

Pmod I2S2 Reference Manual

OEM-ORP ORP. Reads mV mV. Range. 1 reading every 420ms. Response time. Any type & brand. Supported probes. Single point.

User s Guide. IP-201 I2C Bus Multiplexer Board Revision 1. Micro Computer Control Corporation

SiliconBlue. SiliconBlue Technologies iceman65 Board. Programmable Solutions for Consumer Handheld. 7-MAY-2008 (v1.

DEV-1 HamStack Development Board

I²C GLCD Adapter for KS x64 Manual (1.4)

SmartFan Fusion-4. Speed Control and Alarm for DC Fans CONTROL RESOURCES INCORPORATED. The driving force of motor control & electronics cooling.

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

SmartFan Vortex. I2C Speed Control for 12 VDC Fans CONTROL RESOURCES INCORPORATED. The driving force of motor control & electronics cooling.

USB-MPC with MDIO and I2C support User s Manual

Grove Digital Extender 0059-GRVDE-DSBT/SF

I2C interface Tutorial

Win-I2CUSB Hardware User s Manual

User Manual for TeraRanger Evo single point distance sensors and backboards

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

IOX-16 User s Manual. Version 1.00 April Overview

BV4531U. I2C or Serial 6 Way Relay

MINITRONICS v1.0 DATASHEET

2. Hardware Connectivity

User Manual for TeraRanger Evo with: USB and I2C/UART backboard

4.1 Design Concept Demonstration for Altera DE2-115 FPGA Board Demonstration for Cyclone III Development Board...

User Manual for. TeraRanger Evo with: USB and I2C/UART backboard

PCB-STM32-F3U. Development baseboard for the STMicro Discovery-F3 module (STMicro part# STM32F3DISCOVERY)

CHAPTER 1 Introduction of the tnano Board CHAPTER 2 tnano Board Architecture CHAPTER 3 Using the tnano Board... 8

Summary. Introduction

Modtronix Engineering Modular Electronic Solutions SBC28DC. Single board computer for 28 pin DIP PICs

ONYX-MM-XT PC/104 Format Counter/Timer & Digital I/O Module

PIC-P28-USB development board Users Manual

BV4542. I2C or Serial 16x2 with Keypad interface

AK-DS2482S-100. Reference manual. Copyright 2016 Artekit Italy All rights reserved

I2C and SPI Foundation

GIGAVAC Contactors I 2 C Communication

GRAVITECH GROUP

Goal: We want to build an autonomous vehicle (robot)

Graphical LCD Display Datasheet EB

User Manual for TeraRanger Evo single point distance sensors and backboards

ArduCAM USB Camera Shield

USB-to-I2C Basic. Hardware User s Manual.

User Guide Feb 5, 2013

LK User Manual. LK rev 4 1

Microcontroller. BV523 32bit Microcontroller. Product specification. Jun 2011 V0.a. ByVac Page 1 of 8

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Device: MOD This document Version: 1.0. Matches module version: v3 [29 June 2016] Date: 23 October 2017

Interfacing Z8 Encore! XP MCUs with an I 2 C-Based Character LCD

OpenSprinkler v2.2u Build Instructions

BV4218. I2C-LCD & Keypad. Product specification. December 2008 V0.a. ByVac 2006 ByVac Page 1 of 9

ST SPC58 B Line Emulation Adapter System

LCD2041 Technical Manual. Revision: 2.1

BV4109. Serial LCD Controller. Product specification November ByVac 2006 ByVac Page 1 of 12

Dwarf Boards. DB057 : 40-pin controller board

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

Prototyping Module Datasheet

NeoLoch. Inquisitor 4116 DRAM Blade Manual. Overview. Preliminary Release

Pridgen Vermeer Robotics Xmega128 Manual

MicroBolt. Microcomputer/Controller Featuring the Philips LPC2106 FEATURES

USER GUIDE. Atmel OLED1 Xplained Pro. Preface

Evaluates: DS28E80. DS28E80 Evaluation System. General Description. Benefits and Features. EV Kit Contents

HCAL DCC Technical Reference E. Hazen - Revised March 27, 2007 Note: Latest version of this document should be available at:

NHD-0220D3Z-FL-GBW-V3

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP


Programming in the MAXQ environment

MX Educational Target User Manual

1602 SMART LCD DISPLAY MODULE HCMODU0122

Homework 5: Circuit Design and Theory of Operation Due: Friday, February 24, at NOON

JMY505G User's Manual

Getting Started with STK200 Dragon

Description. Overview. Features S90-MTM-DEV-2. MTM Development Board 2.0 Datasheet

Part Number: PCB-STM32-F4B1 (unpopulated PCB with Discovery module sockets, no other parts) STM32-F4B1 (assembled board, not presently available)

USER MANUAL EXPERIENCE INCREDIBLE PERFORMANCE V2.3

I2C-AO112DIx I2C-Bus 4-20mA Analog Output Boards Din-Rail supports

I2C-IN830M, I2C-IN830MA 8-Input Optocouplers I2C-bus, DIN rail supports

Manual iaq-engine Indoor Air Quality sensor

SC1602LC 16x2 Large Characters RS232 LCD Module. User s Manual. Large Viewing Area 99mm x 24mm. Large Character Size. 4.84mm x 9.66mm.

Spartan-II Demo Board User s Guide

PCI to SH-3 AN Hitachi SH3 to PCI bus

ic-msb EVAL MSB1D EVALUATION BOARD DESCRIPTION

SimPLC. User Manual.

VLSI AppNote: VSx053 Simple DSP Board

SABLE-X AND SABLE-X-R2 DEVELOPMENT BOARD USER GUIDE

*** All this without using a single GPIO digital I/O pin ***

4I39 RS-422 ANYTHING I/O MANUAL

MEGATRONICS v3.0 DATASHEET

EPT-200TMP-TS-U2 TMP102 Temperature Sensor Docking Board Data Sheet

SK18A. 18 Pins PIC START-UP KIT. User s Manual V1.1. Dec 2007

LCD4041. User Manual. LCD4041 rev 1 1

Transcription:

KNJN I2C bus development boards 2005, 2006, 2007, 2008 fpga4fun.com & KNJN LLC http://www.knjn.com/ Document last revision on January 1, 2008 R12 KNJN I2C bus development boards Page 1

Table of Contents 1 The I2C bus...4 1.1 I2C characteristics...4 1.2 KNJN I2C connector...4 1.3 KNJN I2C boards...4 2 I2C masters...5 2.1 USB port...5 2.2 Parallel port...5 3 I2C addresses...6 3.1 Unique addresses...6 3.2 I2C hubs...6 4 I2C 7-segments display...7 4.1 A nice debug tool...7 4.2 Segments mapping...7 5 I2C IO extender...8 5.1 Eight IOs controlled from I2C...8 5.2 Up to 64 IOs...8 6 I2C Text LCD...9 6.1 Text LCD...9 6.2 Command and data...9 6.3 LCD contrast...9 7 I2C LCD 4x20T+G semi-graphic...10 7.1 LCD with pixel-level control...10 7.2 LCD control...10 8 I2C PLL...11 8.1 Frequency generator...11 KNJN I2C bus development boards Page 2

KNJN I2C bus development boards Page 3

1 The I2C bus The I2C bus is an easy to use, yet powerful bus. Here's a short introduction about it. 1.1 I2C characteristics The I2C bus allows multiple peripherals to communicate together. An I2C bus uses only 2 signal wires (named "SDA" and "SCL") in addition to power and ground. The wires can be a few meters long. An I2C bus can support multiple devices on the same bus (each device on the bus has an address to be individually accessible). An I2C bus is made of masters and slaves. The masters are the ones that initiate transactions (reads or writes). A minimum I2C bus would consist of one master and one slave, while a typical I2C bus would have one master and a few slaves. I2C slaves use a unique address on the bus to be accessible by a master. Addresses use 7 bits plus a Read/Write bit, to make an 8-bits value: Even addresses are used for write accesses (0x00, 0x02,... 0xFE). Odd addresses are used for read accesses (0x01, 0x03,..., 0xFF). 1.2 KNJN I2C connector KNJN boards use a 4 pins connector with the following pinout: Pin Name Wire color Use 1 GND Black Ground 2 SCL Yellow I2C clock 3 SDA White I2C data 4 VCC Red Power (+5V typical) 1.3 KNJN I2C boards Many I2C boards can be purchased from KNJN, see for example here, KNJN I2C bus development boards Page 4

2 I2C masters 2.1 USB port The Dragon and Saxo/Xylo family of boards have an integrated I2C master that is controlled from USB. These boards come with a powerful I2C control panel. In addition to the control panel, you can also write your own control routines. See the documentation that comes with your boards for details. 2.2 Parallel port The I2C parallel master is a board that plugs into a PC s parallel port and creates an I2C bus. KNJN I2C bus development boards Page 5

3 I2C addresses 3.1 Unique addresses Each peripheral (slave) on an I2C bus needs to use a unique address. It is possible to put several identical I2C modules on the same I2C bus, as long as they are configured to use different addresses. For example, many modules are based on the PCF8574 chip. This chip has 3 address pins, so 8 of them can cohabit on the same I2C bus. For more details, see the PCF8574 datasheet here. 3.2 I2C hubs An I2C hubs allows connecting multiple peripherals to the bus. An I2C hub also allows creating a multi-voltage I2C bus by isolating the main power supply from the branches of the bus (using a jumper on the hub). KNJN I2C bus development boards Page 6

4 I2C 7-segments display 4.1 A nice debug tool The I2C 7-segments display makes it very easy to try your new I2C bus: Writes change the display. Reads read back the last value written. By default, the display is controlled at these I2C addresses: I2C address 0x40 0x41 For example: Action Write to display Read from display Write data 0x88 to I2C address 0x40, and the symbol 0 is displayed. Read from address 0x41, you should get 0x88. 4.2 Segments mapping The segments are active low. The power-up value is 0xFF (display all off). The segments are decoded below: Data bit 1 A 0 B 2 C 5 D 4 E 6 F 7 G 3 Dot Segment If you want to display digits from 0 to 9, use these values: Digit Data 0 0x88 1 0xFA 2 0x4C 3 0x58 4 0x3A 5 0x19 6 0x09 7 0xF8 8 0x08 9 0x18 The module is based on the PCF8574 chip. It can be configured to use addresses 0x40 to 0x47 by modifying PCB-trace jumpers. KNJN I2C bus development boards Page 7

5 I2C IO extender 5.1 Eight IOs controlled from I2C IO extenders provide 8 IOs and allow connecting your own peripherals to the I2C bus. Each IO can either be digital, or connected to a relay. 5.2 Up to 64 IOs The IO extenders are based on the PCF8574, and a header is provided that controls 2 address bits of the PCF8574. The header can be populated by DIL-switches or jumpers. The third address bit is controlled through a PCB-trace jumper. So by using 8 IO controllers, a total of 64 IOs can be controlled on a single I2C bus. KNJN I2C bus development boards Page 8

6 I2C Text LCD 6.1 Text LCD The KNJN I2C text LCD display shows 1 line of 20 characters. This display uses three I2C addresses. I2C address 0x20 0x22 0x24 Action Write LCD command Write LCD data Write LCD contrast 6.2 Command and data The LCD command and data values are the same used with industry standard text LCDs. For example, to write ABC to the LCD, use the following: 1. Write data 0x38, 0x0F and 0x01 to address 0x20. This initializes the LCD, sets the cursor, and erases the display. 2. Write data 0x41, 0x42 and 0x43 to address 0x22. This writes the characters ABC on the display. For more information, check here for example. 6.3 LCD contrast The LCD contrast register accepts the following values: Hex Value Binary value Contrast 0x03 011 +3 0x02 010 +2 0x01 001 +1 0x00 000 0 (default) 0x07 111-1 0x06 110-2 0x05 101-3 KNJN I2C bus development boards Page 9

7 I2C LCD 4x20T+G semi-graphic 7.1 LCD with pixel-level control This LCD can display 4 lines of 20 characters, and also allows control of individual pixels. Here s an example where text and semi-graphics are mixed: 7.2 LCD control The display uses one single I2C address: I2C address Action 0x30 Write LCD command/data/contrast See the LCD_HD44102.c file that comes with your display for a programming example. KNJN I2C bus development boards Page 10

8 I2C PLL 8.1 Frequency generator The I2C PLL generates frequencies from 8MHz to 150MHz (typical). The PLL comes in two forms: Regular PCB with three outputs. Compact with one output (DIL-8 oscillator replacement). KNJN I2C bus development boards Page 11