OLIMEX© 0 0 MOD-IO user's manual
Table of Contents
DISCL IMER ..................................................................................................................... 2
CH PTER 1: OVERVIEW ................................................................................................ 5
1. Introduction to the chapter ................................................................................................................ 5
1.1 Features .............................................................................................................................................. 5
1.2 Target market and purpose of the board ........................................................................................ 5
1.3 Board variants ................................................................................................................................... 6
1.4 Board version used in the manual ................................................................................................... 6
1.5 Document organization ..................................................................................................................... 6
CH PTER 2: SETTING UP THE MOD-IO BO RD ..................................................... 7
2. Introduction to the chapter ................................................................................................................ 7
2.1 Electrostatic and electrical polarity warning .................................................................................. 7
2.2 Hardware requirements .................................................................................................................... 7
2.3 Software requirements ...................................................................................................................... 8
2.4 Powering the board ........................................................................................................................... 8
2.5 Changing the firmware ..................................................................................................................... 9
2.6 Connecting more than one MOD-IO together ................................................................................ 9
2.7 Default firmware description ......................................................................................................... 10
2.7.1 Setting relays ............................................................................................................................................................ 10
2.7.2 Getting the state of opto-isolators ........................................................................................................................... 11
2.7.3 Reading the value of an analog input ..................................................................................................................... 12
2.7.4 Changing the I2C address of a board .................................................................................................................... 13
2. 8 rduino with MOD-IO ................................................................................................................... 14
2. 9 OLinuXino boards with MOD-IO ................................................................................................. 14
CH PTER 3: MOD-IO BO RD DESCRIPTION ........................................................ 16
3. Introduction to the chapter .............................................................................................................. 16
3.1 Layout (top view) ............................................................................................................................. 16
CH PTER 4: THE TMEG 16 MICROCONTROLLER ....................................... 17
4. Introduction to the chapter .............................................................................................................. 17
4.1 The processor ................................................................................................................................... 17
CH PTER 5: CONNECTORS ND PINOUT .............................................................. 19
5. Introduction to the chapter .............................................................................................................. 19
5.1 Communication with MOD-IO ...................................................................................................... 19
5.2 VRISP connector ........................................................................................................................... 20
5.3 JT G connector ............................................................................................................................... 20
5.4 EXT ................................................................................................................................................... 21
5.5 UEXT_M LE .................................................................................................................................. 22
5.6 UEXT_FEM LE ............................................................................................................................. 22
5.7 Digital inputs, digital outputs and analog inputs ......................................................................... 22
5.7.1 IN1, IN2 IN3, IN4 – digital inputs with opto-isolators ......................................................................................... 23
5.7.2 OUT1, OUT2, OUT3, OUT4 – digital outputs ...................................................................................................... 23
5.7.3 IN-1 and IN-2 – analog inputs ........................................................................................................................... 23
5.8 PWR jack ......................................................................................................................................... 24
Page 3 of 30