I2C Input Output Module

From Ywiki

Revision as of 08:53, 18 April 2009 by Ymoona (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

This project is part my robot project called Maggie. Maggie used analog infrared distance sensors from sharp: GP2D12. To make it also possible drive some leds from the same module I could not use a standard I2C A/D converter. So I build my own universal Input Output Module (IOM) with I2C. The main features of this project are:

  • Configurable address (multiple devices on the same bus)
  • 8 Programmable IO pins
  • Programmable via I2C
  • All pins can be programmed to be digital input
  • All pins can be programmed to be digital output
  • 4 pins can be programmed to be analog input

Contents

Hardware

Schematics

schema
schema

The schema is build around a standard micro controller from Microchip. For the microntroller I used a PIC16F88. This controller has a few features why I've choosing this one:

  • Internal RC oscilator
  • Low cost
  • I2C support
  • Available for me in SMD

PCB

The PCB is a professional made one. I designed it myself and let manufacture in China. This way I get nice looking PCB without high costs.

software

I have uploaded the source file to this wiki. here I've also uploaded a compiled version of this software: here

protocol decription

protocol is to be described


If you have any questions please send me a email.