Home
MOD-IO2 extension board USER`S MANUAL
Contents
1. MOD IO2 User s Manual http www olimex com dev 3 3V VR RRA A ST Se ae AE E 3 34 I rn 6 com tov UEXTS g 1 E 13 GPIO0_ICSPDAT gt o i H VDD RAO ANO C1 IN DACOUT1 ICSPDAT GND RAAIANT VREFH CHINO C2INO ICSPCLK HE 1 GPIO0 E RA2 AN2 C1OUT DACOUT2 TOCKVINT PWM3 CLC1 CWG1FLT 4 MCLR B3 3 5MM l UEXT MPWR E l RA3 CLC1INO VPPIT1G SS HMCLR 3 GPIO3 CON2 l Oben j ha c24 RA4 AN3 NCO1 SDO CLKOUT T1G GPIOA CEKIN GPIO1 ICSPCLK 3 E pen UEXT_MALE L RAS CLKIN T1CK NCO1CLK CLC1IN1 GPIO2 AOUT Os i 4 2 L 100nF 10 SCL GPIO3 GPIO3 I 3 4 l ROO AN4 C2N CLC2 SCL SCK y SDA I SCL 5 6 SDA l RC1 ANS C1IN1 C2IN1 PWM4 NCO1 1 SDA SDI_ REL gt B3 3 5MM I 7 5 1 RO2 AN6 C1IN2 C2IN2 SDO 7 GPIOs PWM2 CON3 9 10 he RC3 AN7 C1IN3 C2IN3 PWM2 CLC2INO 6 REL1 GPIO4 CLKIN 3 I 1 ROACZOUTICLCZNVICWGIB 5 GPIOG PWMA GPIO5_PWM2 coor i vss RC5 PWM1 CLC1 CWG1A GPIO6 PWM1 Cao BH10S l I 1 PIC16F1503 1 SL 7B3 3 5MM 3 3V 3 3V 3 3V i A A A A A ee ee A EE A A A eee A AAA I 1 I l I o l 1 Rel i HN e ays N Io it 1 l Re UEXT_FPWR_E E E A A 1 O rn 1 4 7k Open 4 7k Il D2 green 0603 D7 green 0603 1 ot 1 1 ry 1N4148 SMD LED REL1 1N4148 SMD LED REL2 I l l l l f D ur REL1 Oouri 2 gt tee REL2 Oo0uT23 i j lg SCL E dh SDA E 8 REL2 ba I ol rito Pool REL1 l Cl
2. Female UEXT Pin Signal Name Signal Name 1 3 3v 6 SDA GND Not connected 3 fiot connected 8 fiot connected a or comectes o rot comected EC 5 2 2 Male connector The male connector is used with the ribbon cable in the package to connect to another male UEXT or to connected to another MOD IO2 Male UEXT GND 7 Not connected Signal Name Not connected 2 7 Not connected amp jsa 10 Not connected Not connected Not connected 5 3 Relay output connectors There are two relays in MOD IO Their output signals are the standard Normal Closed NC Normal Open NO and the Common COM Page 13 of 24 OLIMEXO 2012 MOD IO2 User s Manual fi normal closes a o normed open ji rormar coses 5 4 GPIO connectors The GPIO connectors can be used to implement PWM I2C SPI etc Note that the names of each pin are printed on the bottom of the board also DOTA IET fo 3 frie afro Ts ferro ef GPIOO GPIO1 aos a os Page 14 of 24 OLIMEX 2012 MOD IO2 User s Manual 5 5 PWR Jack The power jack used is the typical 2 5mm one used by Olimex in most of our products You should provide 12 1A to the board 5 6 Jumper description Please note that almost all except PROG of the jumpers on the board are SMD type If you feel insecure in your soldering cutting technique it is better not to try adjusting SMD jumpers Also if you feel incapable of removing the PTH jum
3. Before you ship anything back you need to ask for RMA When you ship back please attach to it your shipping address phone e mail RMA and brief description of the problem All boards should be sent back in antistatic package and well packed to prevent damages during the transport Page 24 of 24
4. MOD IO2 extension board USER S MANUAL Revision B October 2012 Designed by OLIMEX Ltd 2012 lead free All boards produced by Olimex LTD are ROHS compliant OLIMEX 2012 MOD IO2 User s Manual DISCLAIMER 2012 Olimex Ltd Olimex logo and combinations thereof are registered trademarks of Olimex Ltd Other product names may be trademarks of others and the rights belong to their respective owners The information in this document is provided in connection with Olimex products No license express or implied or otherwise to any intellectual property right is granted by this document or in connection with the sale of Olimex products The hardware part of the project is NOT open source This means we will not provide source schematics and board layout The software is released under the GPL It is possible that the pictures in this manual differ from the latest revision of the board The product described in this document is subject to continuous development and improvements All particulars of the product and its use contained in this document are given by OLIMEX in good faith However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded This document is intended only to assist the reader in the use of the product OLIMEX Ltd shall not be liable for any loss or damage arising from the use of any information in this document or any error or omi
5. CHAPTER 7 SCHEMATES sdasecesssatsaesssiceksiesiantasseasbeensbeaaies 19 19 7 Introduction to ETIE EEPE E A A A EE EL E ET CHAPTER 8 REVISION HISTORY AND SUPPORT ssccsscssssssscssssseseeees 22 8 Introduction t the Chapter jcsssccsccccscssessassevcncdscsvssssnsdssccassssessensassvchadasesssbedevveatasssscsssouvassessetess 22 Page 4 of 24 OLIMEX 2012 MOD IO2 User s Manual CHAPTER 1 OVERVIEW 1 Introduction to the chapter Thank you for choosing the MOD IO2 single board computer from Olimex This document provides a user s guide for the Olimex MOD IO2 board As an overview this chapter gives the scope of this document and lists the board s features The differences between the members of the MOD 102 and MOD IO boards are mentioned The document s organization is then detailed The MOD IO2 development board enables code development of applications running on the microcontroller PIC16F1503 manufactured by Microchip 1 1 Features PIC16F1503 microcontroller ICSP 6 pin connector for in circuit programming with PIC ICD2 POCKET and PIC KIT3 or other compatible programmer debugger 9 pin terminal screw connector for 7 GPIOs 3 3V and GND PWR jack for 12VDC 7 GPIOs which could implement different functionality as PWM SPI I2C etc 2 relay outputs with 15A 250VAC contacts with screw terminals RELAY output status LEDs Both male and female UEXT connectors Four mounting holes 3 3 mm 0 13
6. the board Avoid touching the component pins or any other metallic element 2 2 Requirements In order to set up the MOD IO2 optimally the following items are required Any OLIMEX board that has an UEXT connector 12V source of power If you wish to reprogram the board or modify the firmware you will also need PIC ICSP compatible programmer not that the connector for the ICSP programing is the standard 0 1 one We have a cheap compatible PIC16F1503 programmer based on Microchip s PIC KIT3 Some of the suggested items can be purchased by Olimex for instance PIC KIT3 Olimex programmer capable of programming PIC16F1503 SY0612E power supply adapter 12V 0 5A for european customers Page 7 of 24 OLIMEXO 2012 MOD IO2 User s Manual 2 3 Powering the board The board is powered by the power jack You should provide 12V DC For the European customers we sell an affordable power supply adapter 12V 0 5A SY0612E If you power the board correctly PWR_LED 2 4 Prebuilt software Upon powering initially the board s red PWR_LED and the green LED_REL1 should turn on Detailed explanation of the preloaded software may be found in the demo package available at our web page Page 8 of 24 OLIMEXO 2012 MOD IO2 User s Manual CHAPTER 3 MOD 102 BOARD DESCRIPTION 3 Introduction to the chapter Here you get acquainted with the main parts of the board Note the names used on the board differ from the names used to descri
7. 6F1503 microcontroller and the firmware is open source and available for modification The board is a very good addition to most of the Olimex boards if you need analog signals 1 4 Organization Each section in this document covers a separate topic organized as follow Chapter 1 is an overview of the board usage and features Chapter 2 provides a guide for quickly setting up the board Chapter 3 contains the general board diagram and layout Chapter 4 describes the component that is the heart of the board the PIC16F1503 Chapter 5 covers the connector pinout peripherals and jumper description Chapter 6 shows the memory map Chapter 7 provides the schematics Chapter 8 contains the revision history useful links and support information Page 6 of 24 OLIMEX 2012 MOD IO2 User s Manual CHAPTER 2 SETTING UP THE MOD IO2 BOARD 2 Introduction to the chapter This section helps you set up the MOD IO2 development board for the first time Please consider first the electrostatic warning to avoid damaging the board then discover the hardware and software required to operate the board The procedure to power up the board is given and a description of the default board behavior is detailed 2 1 Electrostatic warning MOD IO2 is shipped in a protective anti static package The board must not be exposed to high electrostatic potentials A grounding strap or similar protective device should be worn when handling
8. UEXT female female cable included FR 4 1 5 mm 0 062 soldermask white silkscreen component print dimensions 61x52 mm 2 4 x 2 05 ooo oo o o 1 2 MOD IO vs MOD IO2 MOD IO2 is a smaller input output extension module compared to MOD IO both in terms of size and in terms of functionality however in a lot of situations MOD IO2 might provide the better choice Designs which need optocouplers should consider MOD IO In a lot of the other cases MOD IO2 might be the better choice since it is possible to stack multiple MOD IO2 s over each other MOD IO has a better power supply with the option to be supplied in the range of 8 30VDC Page 5 of 24 OLIMEX 2012 MOD IO2 User s Manual 1 3 Target market and purpose of the board MOD IO2 is an extension development board which can interface other Olimex boards via UEXT connector it adds add RELAYs and GPIOs Multiple MOD IO2s are stackable and addressable The firmware allows you to interact with the board using simple commands and yet if you wish you can modify the firmware for your needs If you work with any of our development boards with UEXT connector and you need more GPIOs and RELAY outputs you can add these by connecting MOD IO2 to your development board This board allows easy interfacing to 2 relays and 7 GPIOs MOD IO2 is stackable and addressable these boards can be plugged together and you can add as many inputs and outputs as you want 2 4 6 8 etc MOD IO2 has PIC1
9. User s Manual CHAPTER 6 BLOCK DIAGRAM AND MEMORY 6 Introduction to the chapter Down this page you can find a memory map for this family of processors It is strongly recommended to refer to the original datasheet released by Microchip for one of higher quality 6 1 Processor block diagram FIGURE 1 1 PIC16 L F1503 BLOCK DIAGRAM Generation INTRC CPU Oscillator Figure 2 1 CLKOUT _ Timing Xx Temp k ADC p PWM2 PWM3 PWM4 MSSP1 Note 1 See applicable chapters for more information on peripherals 2 See Table 1 1 for peripherals available on specific devices Page 17 of 24 OLIMEX 2012 MOD IO2 User s Manual 6 2 Physical memory map PC lt 14 0 gt CALL CALI RETURN RETLW Interrupt RETFI Stack Level 0 Stack Level 1 Stack Level 15 Reset Vector Interrupt Vector On chip Program lt Page 0 Memory Rollover to Page 0 Rollover to Page 0 Page 18 of 24 OLIMEX 2012 MOD IO2 User s Manual CHAPTER 7 SCHEMATICS 7 Introduction to the chapter In this chapter are located the schematics describing logically and physically MOD IO2 7 1 Eagle schematic MOD IO2 schematic is visible for reference here You can also find it on the web page for MOD 102 at our site https www olimex com dev mod io2 html They are located in HARDWARE section The EAGLE schematic is situated on the next page for quicker reference Page 19 of 24 OLIMEXO 2012
10. ading Also the web page for your device is listed Be sure to check it after a purchase for the latest available updates and examples 8 1 Document revision Changes Modified Page Be Initial Creation 27 08 12 Fixed several leftovers from B the template which were a referencing wrong processors 6 10 20 16 10 12 and boards Updated links 8 2 Board s revision Revision Date Revision Notes B 18 06 12 Initial release Page 22 of 24 OLIMEX 2012 MOD IO2 User s Manual 8 3 Useful web links and purchase codes The web page you can visit for more info on your device is https www olimex com dev mod io2 html ORDER CODES MOD IO2 the version of the board discussed in this document MOD IO the bigger version with optocouplers and 8 30VDC power option PIC KIT3 Olimex programmer capable of programming MOD IO2 SY0612E power supply adapter 12V 0 5A for MOD IO2 220V European compatibility The latest price list can be found at https www olimex com prices How to order You can order from our web shop or purchase from any of our distributors Check https www olimex com for more info Page 23 of 24 OLIMEX 2012 MOD IO2 User s Manual 8 4 Product support For product support hardware information and error reports mail to support olimex com Note that we are primarily a hardware company and our software support is limited Please consider reading the paragraph below about the warr
11. anty of Olimex products Warranty and returns Our boards have lifetime warranty against manufacturing defects and components During development work it is not unlikely that you can burn your programmer or development board This is normal we also do development work and we have damaged A LOT of programmers and boards during our daily job so we know how it works If our board programmer has worked fine then stopped please check if you didn t apply over voltage by mistake or shorted something in your target board where the programmer was connected etc Sometimes boards might get damaged by ESD shock voltage or if you spill coffee on them during your work when they are powered Please note that warrany do not cover problems caused by unproper use shorts over voltages ESD shock etc If the board has warranty label it should be not broken Broken labels void the warranty same applies for boards modified by the customer for instance soldering additional components or removing components such boards will be not be a subject of our warranty If you are positive that the problem is due to manufacturing defect or component you can return the board back to us for inspection When we receive the board we will check and if the problem is caused due to our fault and we will repair replace the faulty hardware free of charge otherwise we can quote price of the repair Note that all shippings back and forth have to be covered by the customer
12. be them For the actual names check the MOD IO2 board itself 3 1 Layout top view Out 2 Out 1 Relay 2 LED Relay 1 LED Relay 2 Relay 1 Jumper Prog Male UEXT HHHOLIMEX COM DEUV t J UEXT_ gt PUR UCA gt mmc Female UEXT al ll d E pn pme RL RZ Jumper ASUI Set of jumpers Power LED UEXT_mpwr_e 7 GPIOs GND 3 3V Power jack Page 9 of 24 OLIMEX 2012 MOD IO2 User s Manual CHAPTER 4 THE PIC16F1503 MICROCONTROLLER 4 Introduction to the chapter In this chapter is located the information about the heart of MOD IO2 its PIC16 microcontroller The information below is a modified version of the datasheet provided by its manufacturers from Microchip 4 1 The PIC16F1503 features Enhanced Mid range Core with 49 Instruction 16 Stack Levels Flash Program Memory with self read write capability Internal 16MHz oscillator 4x Standalone PWM Modules Complementary Waveform Generator CWG Module Numerically Controlled Oscillator NCO Module 2x Configurable Logic Cell CLC Modules Integrated Temperature Indicator Module 8 Channel 10 bit ADC with Voltage Reference 5 bit Digital to Analog Converter DAC MIC SPI 25mA Source Sink current I O 2x 8 bit Timers TMRO TMR2 1x 16 bit Timer TMR1 Extended Watchdog Timer WDT Enhanced Power On Off Reset Low Power Brown Out Reset LPBOR Programmable Brown Out Reset BOR In Circuit Serial Programming ICSP In Circuit Debug using a Debug H
13. eader PIC16LF1503 1 8V 3 6V PIC16F1503 2 3V 5 5V For comprehensive information on the microcontroller visit the Microchip s web page for a datasheet Page 10 of 24 OLIMEX 2012 MOD IO2 User s Manual At the moment of writing the microcontroller datasheet can be found at the following link http ww1 microchip com downloads en DeviceDoc 41607A pdf Page 11 of 24 OLIMEX 2012 MOD IO2 User s Manual CHAPTER 5 CONNECTORS AND PINOUT 5 Introduction to the chapter In this chapter are presented the connectors that can be found on the board all together with their pinout and notes about them Jumpers functions are described Notes and info on specific peripherals are presented Notes regarding the interfaces are given 5 1 ICSP The board can be programmed and debugged from the 6 pin ICSP Below is the table of the JTAG This interface can be used with the Olimex s PIC KIT3 debuggers ICSP Name MCLR pa GPIO _ICSPDAT 5 2 UEXT modules MOD IO2 board has two UEXT connectors male and female and can interface Olimex s UEXT boards For more information on UEXT please visit http www olimex com dev OTHER UEXT pdf Page 12 of 24 OLIMEX 2012 MOD IO2 User s Manual 5 2 1 Female connector The female connector is used either to connect to a board directly without using the female female cable or to connect the module to another MOD IO2 to create a stackable module that can be addressed via the 12C
14. ose Close ark O Oon ze R3 N Ooi NA e oer 3 7 D 4 7k Ak alae NA 10k y sci i RAS 1b 15 RAS 12 15 1 proc 1 Oour1 1 Oourz2 1 SPIO4 CLKIN 1 1 La pol a pail Hi REL am RL PY 1 col E een AAA abe NEL DTC114YKA Ha DTC114YKA I il 1 I i I ol id Rep ene E E E A A if 1 I i 7 iS 8 ICSP al ek pol el O li Re ee ae ER A S eee er Ey J ject oss ee I Ta AO A a AIN R4 i av Power Suppl la p 3 34 ol R5 33R i A VRI 3 3V upp y tol Ct He O lot 13 12VDC Bi LM1117IMPX ADJ 11 He 1 ot GPIOO_ICSPDAT i C Br t t Io GPIOTICSPCLK He 1 PWR LED po ot PAN l PWR_J amp E red 0603 Ir 1 il wres l ci c2 c3 _ c4 HE ae pi io eee A ee YDJ 1136 220uF 35V 100nF ES R3 Ss jg 1k MOD IO2_Rev_B k LL 3 l GND 8 E i OLIMEX LTD BULGARIA l l l Page 20 of 24 OLIMEX 2012 MOD IO2 User s Manual 7 2 Physical dimensions Note that all dimensions are in mils oH O O r N 1930m11 The three highest elements on the board in order from the tallest to the shortest are relay T1 0 600 15 25 mm over the pcb relay T2 0 600 15 25 mm ICSP connector 0 450 11 43 mm Note that the above measures does not include the PCB Page 21 of 24 OLIMEX 2012 MOD IO2 User s Manual CHAPTER 8 REVISION HISTORY AND SUPPORT 8 Introduction to the chapter In this chapter you will find the current and the previous version of the document you are re
15. per with hands better use tweezers 5 6 1 PROG When closed this jumper allows addressing a single MOD IO2 the one with the closed jumper over all others stacked to it since initially all connected MOD IO2 boards have the same address After you have closed PROG on one of the MOD IO2s you can communicate with that one via the UEXT using the commands found in the commands list that can be found on the product s web page Default position is open 5 6 2 SDA_E SCL_E When you have more than one MOD IO2 connected you need to keep those two jumpers closed else the 12C line will be disconnected The default positions for both jumpers are closed soldered 5 6 3 UEXT_FPWR_E If closed provides 3 3V at the female UEXT connector be careful since if you close that jumper and also you close the male one on the next MOD IO2 line this might cause electrical burn to the Page 15 of 24 OLIMEX 2012 MOD IO2 User s Manual board Default position is open unsoldered 5 6 4 UEXT_MPWR_E If closed provides 3 3V at the male UEXT connector be careful since if you close that jumper and also you close the female one on the next MOD IO2 line this might cause electrical burn to the board The default position is open unsoldered 5 7 Additional hardware components The components below are mounted on MOD IO2 but are not discussed above They are listed here for completeness Relay LEDs Power LED Page 16 of 24 OLIMEX 2012 MOD IO2
16. ssion in such information or any incorrect use of the product This evaluation board kit is intended for use for engineering development demonstration or evaluation purposes only and is not considered by OLIMEX to be a finished end product fit for general consumer use Persons handling the product must have electronics training and observe good engineering practice standards As such the goods being provided are not intended to be complete in terms of required design marketing and or manufacturing related protective considerations including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards Olimex currently deals with a variety of customers for products and therefore our arrangement with the user is not exclusive Olimex assumes no liability for applications assistance customer product design software performance or infringement of patents or services described herein THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE COMPONENTS USED TO CREATE MOD I02 THEY ARE CONSIDERED SUITABLE ONLY FOR MOD IO2 Page 2 of 24 OLIMEX 2012 MOD IO2 User s Manual Table of Contents CHAPTER 3 MOD 102 BOARD DESCRIPTION sssssssssssssssssssssssscssssesssseees 9 3 Introduction to the chapter dana id A 9 54 GPIO COMeCHUIE ii A A dira 14 So PWR Titi A A eeiseaavi state 15 Page 3 of 24 MOD IO2 User s Manual OLIMEXO 2012
Download Pdf Manuals
Related Search
Related Contents
CP-SX1350 User`s Manual PV and Wind Turbine Payback User Manual 3-drive COMPACT(THC) USER`S MANUAL NanoDrop ND-1000 Spectrophotometer manual 10 - Sunbelt Transport Refrigeration ONKYO CS-V 645 32362 PKZ Habu 2 BNF PNP manual multi.indb Service Manual On ne méprise pas impunément la nature Copyright © All rights reserved.
Failed to retrieve file