Oumex MOD-IO2 Скачать руководство пользователя страница 23

OLIMEX© 2015

MOD-IO2 user's manual

Page 23 of 28

+12VDC !!!

-

+

PIC16F1503-I/SL

220uF/35V

100nF

10

0

nF

22

u

F

/6

.3

V

100nF

TB3/3.5MM

TB3/3.5MM

TB3/3.5MM

1N4148/SMD

SS14

1N4148/SMD

WF6S

green/0603

green/0603

+12V

+12V

+12V

HN1x2

YDJ-1136

red/0603

240R/1%

390R/1%

1k

10k

33R

4.7k

4.7k

NA(10k)

1k

4.7k

4.7k

RAS-12-15

RAS-12-15

Close

Close

DTC114YKA

DTC114YKA

IDC10S/PCB

Open

BH10S

Open

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

LM1117IMPX-ADJ

#MCLR

#MCLR

GPIO0_ICSPDAT

GPIO0_ICSPDAT

GPIO0_ICSPDAT

GPIO1_ICSPCLK

GPIO1_ICSPCLK

GPIO1_ICSPCLK

GPIO2_AOUT

GPIO2_AOUT

GPIO3

GPIO3

GPIO4_CLKIN

GPIO4_CLKIN

GPIO4_CLKIN

GPIO5_PWM2

GPIO5_PWM2

GPIO6_PWM1

GPIO6_PWM1

REL1

REL1

REL2

REL2

SCL

SCL

SCL

SDA

SDA

SDA

C1

C2

C3

C4

C24

1

2

3

CON1

1

2

3

CON2

1

2

3

CON3

D2

D4

D7

GND

1
2
3
4
5
6

ICSP

LED_REL1

LED_REL2

OUT1-1

OUT1-2

OUT1-3

OUT2-1

OUT2-2

OUT2-3

1
2

PROG

PWR_J

PWR_LED

R1

R2

R3

R4

R5

R6

R7

R8

R9

R10

R13

REL1

REL1

REL2

REL2

1

2

SCL_E

1

2

SDA_E

T1

T2

RA0/AN0/C1IN+/DACOUT1/ICSPDAT

13

RA1/AN1/VREF+/C1IN0-/C2IN0-/ICSPCLK

12

RA2/AN2/C1OUT/DACOUT2/T0CKI/INT/PWM3/CLC1/CWG1FLT

11

RA3/CLC1IN0/VPP/T1G/SS/#MCLR

4

RA4/AN3/NCO1/SDO/CLKOUT/T1G

3

RA5/CLKIN/T1CKI/NCO1CLK/CLC1IN1

2

RC0/AN4/C2IN+/CLC2/SCL/SCK

10

RC1/AN5/C1IN1-/C2IN1-/PWM4/NCO1(1)/SDA/SDI

9

RC2/AN6/C1IN2-/C2IN2-/SDO

8

RC3/AN7/C1IN3-/C2IN3-/PWM2/CLC2IN0

7

RC4/C2OUT/CLC2IN1/CWG1B

6

RC5/PWM1/CLC1/CWG1A

5

VDD

1

VSS

14

U1

1

2

3

4

5

6

7

8

9

10

UEXT_FEMALE

1

2

UEXT_FPWR_E

1

2

3

4

5

6

7

8

9

10

UEXT_MALE

1

2

UEXT_MPWR_E

ADJ/GND

IN

OUT

VR1(3.3V)

MOD-IO2_Rev_B

OLIMEX LTD BULGARIA

http://www.olimex.com/dev

+

10k

47

k

10k

47

k

ICSP

UEXTs

Power Supply

Relays

GPIO0

GPIO1

GPIO2

GPIO3

GPIO4

GPIO5

GPIO6

GND

3.3V

Содержание MOD-IO2

Страница 1: ...MOD IO2 extension board USER S MANUAL Revision D May 2015 Designed by OLIMEX Ltd 2012 All boards produced by Olimex LTD are ROHS compliant...

Страница 2: ...ies 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 f...

Страница 3: ...rolling MOD IO2 under Linux 11 CHAPTER 3 MOD IO2 BOARD DESCRIPTION 14 3 Introduction to the chapter 14 3 1 Layout top view 14 CHAPTER 4 THE PIC16F1503 MICROCONTROLLER 15 4 Introduction to the chapter...

Страница 4: ...7 Introduction to the chapter 22 7 1 Eagle schematic 22 7 2 Physical dimensions 24 CHAPTER 8 REVISION HISTORY AND SUPPORT 25 8 Introduction to the chapter 25 8 1 Document revision 25 8 2 Board s revis...

Страница 5: ...bugger 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...

Страница 6: ...oards can be plugged together and you can add as many inputs and outputs as you want 2 4 6 8 etc MOD IO2 has PIC16F1503 microcontroller and the firmware is open source and available for modification T...

Страница 7: ...onent 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 y...

Страница 8: ...e https github com OLIMEX OLINUXINO tree master SOFTWARE UEXT 20MODULES MOD IO2 linux access tool This software tool requires a Linux enabled board The tool works with MOD IO2 units loaded with firmwa...

Страница 9: ...d relay Expected result a specific sound would occur and the relay LEDs would turn off Reading the status of the relays available since MOD IO2 s firmware revision 3 02 modio2tool B 0 r where B 0 sets...

Страница 10: ...re I2C 0 typically either 0 1 or 2 x 15 x is used to change the I2C address of the board 15 is the desired number it is different from the default 0x21 Expected result the board would have new I2C add...

Страница 11: ...a README txt file in the archive of the firmware the archive containing the latest firmware 3 02 might be found here https www olimex com Products Modules IO MOD IO2 resources MOD IO2_firmware_v_3_02...

Страница 12: ...011 e g both relays are on etc Reading analog inputs outputs i2cset y 2 0x21 0x10 and then the read command i2cget y 2 0x21 where 0x10 the first analog IO The big thing here is that to read you actual...

Страница 13: ...re than one MOD IO2 available since MOD IO2 s firmware revision 3 02 i2cset 2 0x21 0xHH where HH is new address in hexadecimal format Note that PROG jumper must be closed to be able to change the addr...

Страница 14: ...SCRIPTION 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 describe them For the actual names check...

Страница 15: ...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 MI2C SPI 25mA So...

Страница 16: ...PDAT 2 3 3V 5 GPIO0_ICSPCLK 3 GND 6 Not connected 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 visi...

Страница 17: ...3V 6 SDA 2 GND 7 Not connected 3 Not connected 8 Not connected 4 Not connected 9 Not connected 5 SCL 10 Not connected 5 3 Relay output connectors There are two relays in MOD IO Their output signals a...

Страница 18: ...t 1 3 3V 2 GND 3 GPIO0 AN0 4 GPIO1 AN1 5 GPIO2 AN2 6 GPIO3 AN3 7 GPIO4 8 GPIO5 AN7 9 GPIO6 PWM 5 5 PWR Jack The DC barrel jack has 2 0mm inner pin and 6 3mm hole More information about the exact compo...

Страница 19: ...ault 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 I2C line will be disconnected The default positions for both ju...

Страница 20: ...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...

Страница 21: ...OLIMEX 2015 MOD IO2 user s manual 6 2 Physical memory map Page 21 of 28...

Страница 22: ...ly 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 IO2 at our site https www olimex com Products Modules IO MOD...

Страница 23: ...1 1 2 3 CON2 1 2 3 CON3 D2 D4 D7 GND 1 2 3 4 5 6 ICSP LED_REL1 LED_REL2 OUT1 1 OUT1 2 OUT1 3 OUT2 1 OUT2 2 OUT2 3 1 2 PROG PWR_J PWR_LED R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R13 REL1 REL1 REL2 REL2 1 2 SCL_...

Страница 24: ...l dimensions are in mils 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 m...

Страница 25: ...evision Revision Changes Modified page A 27 08 12 Initial creation All B 16 10 12 Fixed several leftovers from the template which were referencing wrong processors and boards Updated links 6 10 20 C 2...

Страница 26: ...OLIMEX 2015 MOD IO2 user s manual 8 2 Board s revision Revision date Revision notes B 18 06 12 Initial release Page 26 of 28...

Страница 27: ...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...

Страница 28: ...ordered items are allowed subject to a 10 restocking fee What is unaffected If you hooked it to power you affected it To be clear this includes items that have been soldered to or have had their firmw...

Страница 29: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Olimex Ltd MOD IO2...

Отзывы: