MINI-MAX/AVR-C Single Board Computer Technical Manual BiPOM

MINI-MAX/AVR-C Single Board Computer Technical Manual BiPOM
MINI-MAX/AVR-C
Single Board Computer
Technical Manual
Date: 14 October, 2014
Document Revision: 1.05
BiPOM Electronics
16301 Blue Ridge Road, Missouri City , Texas 77489
Telephone: 1-713-283-9970. Fax: Fax: 1-281-416-2806
E-mail: [email protected]
Web: www.bipom.com
1
© 1996-2012 by BiPOM Electronics. All rights reserved.
MINI-MAX/AVR-C Single Board Computer Technical Manual. No part of this work may be
reproduced in any manner without written permission of BiPOM Electronics.
All trademarked names in this manual are the property of respective owners.
WARRANTY:
BiPOM Electronics warrants MINI-MAX/AVR-C for a period of 1 year. If the board
becomes defective during this period, BiPOM will at its option, replace or repair the
board. This warranty is voided if the product is subjected to physical abuse or operated
outside stated electrical limits. BiPOM Electronics will not be responsible for damage to
any external devices connected to MINI-MAX/AVR-C. BiPOM Electronics disclaims all
warranties express or implied warranties of merchantability and fitness for a particular
purpose. In no event shall BiPOM Electronics be liable for any indirect, special,
incidental or consequential damages in connection with or arising from the use of this
product. BiPOM Electronics’ liability is limited to the purchase price of this product.
2
TABLE OF CONTENTS
1. OVERVIEW
4
2. SPECIFICATIONS
5
3. FUNCTIONAL BLOCKS
6
4. APPLICATION NOTES
12
5. BOARD LAYOUT
13
6. SCHEMATICS
16
3
1. Overview
MINI-MAX/AVR-C is a general purpose, low-cost and highly-expandable micro-controller system.
It is based on the ATMEL ATMEGA2560-16 flash micro-controller. This micro-controller features:
•
•
•
•
•
•
•
•
•
•
•
•
•
Up to 16 MIPS throughput at 16 MHz
256 Kilobytes of In-System Re-programmable Downloadable Flash Memory
8 Kilobytes of RAM
4 Kilobytes of EEPROM
Two 8 bit Timer/Counters and four 16 bit Timer/Counters
Programmable Watchdog Timer
Four Programmable Enhanced UART Serial Interfaces
SPI Serial Interface
2-wire Serial Interface (I2C)
12 Pulse Width Modulation (PWM) channels
16 channel 10-bit ADC with selectable 2.56V or 1.1V Reference Voltage
86 general purpose I/O pins
Real time In-System debug support through JTAG Interface
MINI-MAX/AVR-C board complements these features by adding:
• In-circuit Programming and debugging of the micro-controller through JTAG and SPI
interfaces
• Two RS232 Serial Ports and two UART Ports (TTL/CMOS level) for data communications
• Analog input terminal blocks ( for 5 channels )
• Keypad connector
• LCD connector ( with programmable contrast adjustment for LCD )
• Expansion bus interface to low-cost peripheral boards such as
• Instrumentation amplifiers
• Pressure inputs
• Strain-gage inputs
• 12 and 16-bit Analog-to-Digital Converters
• Digital Input/Output cards
• LED and LCD displays.
The flash micro-controller can be serially programmed while on the board. This function of the
FLASH micro-controller simplifies new program development and debugging. Downloading of a
program to the micro-controller typically takes few seconds.
MINI-MAX/AVR-C should be powered from a 6 to 12 Volt (DC) external power source.
Current consumption of the board ( without peripherals ) is less than 60mA.
Software examples for MINI-MAX/AVR-C are available from
http://www.bipom.com/web_softwares/851677.html
2. Specifications
MINI-MAX/AVR-C board has the following configuration:
•
ATMEL ATMEGA2560-16 micro-controller with
- 256 Kbytes on-chip Flash program/data Memory,
- 8 Kbytes RAM
- 4 Kbytes EEPROM
•
JTAG Port for In-circuit Programming and a real time debugging
•
SPI Port connector for In-circuit Programming and for data communication
•
Two RS232 Serial Ports for data communications
•
Two UART Ports with 5V signals for data communications
•
10-pin terminal block for 5 analog inputs, Reference (Vref) output and AVCC output
•
Three 20-pin Expansion connectors for a peripheral boards
•
10-pin connector for matrix and non-matrix keypads
•
Dual-row 14-pin LCD connector (with software contrast adjustment for LCD)
•
Single operating voltage: 6 to 12 VDC, 60 mA maximum supply consumption.
•
On-board 5 Volt regulator
•
Dimensions are 2.35 X 2.40 inches (5.97 X 6.10 centimeters).
•
Mounting holes of 0.138 inches (3.5 millimeters) are on four corners.
•
0° - 70° C operating, -40° - +85° C storage temperature range.
5
3. Functional Blocks
Figure 1 shows the block diagram of the MINI-MAX/AVR-C board
Power
connector
5 volt
regulator
Keypad
connector
14.756 MHZ
crystal
ATMEGA2560-16
microcontroller
LCD
connector
Expansion
connectors
1…3
ADM202
Transceiver
RS232
connector
ADM202
–Transceiver
RS232
connector
SPI
connector
JTAG
connector
Figure 1
JTAG Port connector
JTAG port is available on a 10-pin, dual-row male connector X1.
Table 1 shows the pin assignments for the JTAG port connector:
JTAG Port Connector (X1)
Signal Name
TCK
GND
TDO
VDD
TMS
/RST
VCC
TDI
GND
AVR Port
PF4
PF6
PF5
PF7
Description
MINI-MAX/AVR Test clock Input
GND
MINI-MAX/AVR Test Data Output
MINI-MAX/AVR Power Output
Test Mode Select Input
MINI-MAX/AVR Reset Input
MINI-MAX/AVR Power Output
Not Connected (NC)
MINI-MAX/AVR Test Data Input
GND
Table 1
6
Pin
1
2
3
4
5
6
7
8
9
10
SPI Port connector
SPI port is available on a 6-pin, dual-row male connector X2. This connector can also be used for
downloading programs using programmers such as AVRISP and AVR Dragon.
Table 2 shows the pin assignments for the SPI port connector:
SPI Port Connector (X2)
Name
AVR Port
Description
Pin
MISO
VCC
SCK
MOSI
/RST
GND
PB3
SPI Data Input/Output
+5V output
SPI clock
SPI Data Input/Output
MINI-MAX/AVR Reset Input
GND
1
2
3
4
5
6
PB1
PB2
RESET
Table 2
LCD Connector
Alphanumeric LCD displays can be connected directly to MINI-MAX/AVR-C.
For example, LCD242 (Alphanumeric, 24 Characters x 2 lines) can be connected.
LCD Connector (X3)
Signal Name
AVR Port
Pin
Pin
AVR Port
Signal Name
LD3
LD1
Not connected
Not connected
STROBE
LD4
VCC (+5V) output
PL3
PL1
14
12
10
8
6
4
2
13
11
9
7
5
3
1
PL2
PL0
LD2
LD0
Not connected
Not connected
READ
Vee (V-PWM)
GND
PL6
PL4
Table 3
7
PL5
PG5
Keypad Connector
8 port pins of the MINI-MAX/AVR-C are connected to the Keypad Connector (X4). Matrix keypads
(3 x 5 or 4 x 4) can be connected directly to the connector. 5 Volt and Ground power lines are also
available on the connector.
The keypad connector can also be used as a general-purpose 8-pin input/output port.
Table 4 shows the pin assignments for the Keypad connector:
Keypad Connector (X4)
Name
AVR Port
Description
Pin
PH7
PH6
PH5
PH4
PK3
PK2
PK1
PK0
+5V output
Ground
KEY7 In/Out
KEY6 In/Out
KEY5 In/Out
KEY4 In/Out
KEY3 In/Out
KEY2 In/Out
KEY1 In/Out
KEY0 In/Out
10
9
8
7
6
5
4
3
2
1
VCC
GND
Key 7
Key 6
Key 5
Key 4
Key 3
Key 2
Key 1
Key 0
Table 4
Asynchronous Serial Port 0
Asynchronous RS232 serial port 0 (UART0) is available on a 10-pin, dual-row male connector X5.
Table 5 shows the pin assignments for the RS232 serial port 0 connector:
Serial Port Connector (X5)
Signal Name
PGM
RXD0
RTS0
TXD0
CTS0
GND
-
AVR Port
PE0
PE2
PE1
PE3
Description
Pin
Not Connected (NC)
MINI-MAX/AVR Input
MINI-MAX/AVR Input
MINI-MAX/AVR Output
MINI-MAX/AVR Output
MINI-MAX/AVR Input
NC
NC
GND
NC
1
2
3
4
5
6
7
8
9
10
Table 5
8
Asynchronous Serial Port 1
Asynchronous RS232 serial port 1 (UART1) is available on a 10-pin, dual-row male connector X8.
Table 6 shows the pin assignments for the RS232 serial port 1 connector:
Serial Port Connector (X8)
Signal Name
RXD1
RTS1
TXD1
CTS1
GND
-
AVR Port
PD2
PD4
PD3
PD5
Table 6
9
Description
Pin
Not Connected (NC)
NC
MINI-MAX/AVR Input
MINI-MAX/AVR Output
MINI-MAX/AVR Output
MINI-MAX/AVR Input
NC
NC
GND
NC
1
2
3
4
5
6
7
8
9
10
Expansion connectors
50 port pins and 5 Volt power supply pins are available on three 20-pin connectors (X6, X7, X9)
for interfacing to peripheral boards. A peripheral board can be connected to MINI-MAX/AVR-C
board either as a piggyback daughter-board using standoffs or can be placed away from the
micro-controller board using a 20-wire ribbon cable (Part #: CBL-EXP-6).
Signals TXD2, RXD2 of the UART port 2 and SPI signals are available on a 20-pin connector X6.
Signals TXD3, RXD3 of the UART port 3 are available on a 20-pin connector X7.
Tables 7, 8, 9 shows the pin assignments for the X6, X7, X9 connectors:
Table7: Connector X6
Signal Name
/RXD2
IO6
SCK
IO22
IO1
IO3
IO5
I2C SCL
VCC (+5V)
VCC (+5V)
AVR Port
PH0
PH2
PB1
PC7
PB5
PB7
PD7
PD0
Pin
20
18
16
14
12
10
8
6
4
2
Pin
19
17
15
13
11
9
7
5
3
1
AVR Port
PH1
PB3
PB0
PB2
PB4
PB6
PD6
PD1
Signal Name
/TXD2
MISO
SS
MOSI
IO0
IO2
IO4
I2C SDA
GND
GND
Table 8: Connector X7
Signal Name
/RXD3
IO20
IO8
IO10
IO12
IO14
IO16
IO18
VCC (+5V)
VCC (+5V)
AVR Port
PJ0
PK6
PE5
PE6
PE7
PJ2
PJ4
PJ6
Pin
20
18
16
14
12
10
8
6
4
2
Pin
19
17
15
13
11
9
7
5
3
1
AVR Port
PJ1
PL7
PH3
PK4
PK5
PJ3
PJ5
PJ7
Signal Name
/TXD3
IO21
IO9
IO11
IO13
IO15
IO17
IO19
GND
GND
AVR Port
PA0
PA2
PA4
PA6
PC2
PC4
PC0
PC6
PE4
Signal Name
D0
D2
D4
D6
A2
A4
A0
RESET
INT0
GND
Table9: Connector X9
Signal Name
D1
D3
D5
D7
A3
A1
IOR
AEN
IOW
VCC (+5V)
AVR Port
PA1
PA3
PA5
PA7
PC3
PC1
PG1
PC5
PG0
Pin
20
18
16
14
12
10
8
6
4
2
Pin
19
17
15
13
11
9
7
5
3
1
10
Analog Input connector
Table 10 shows the pin assignments for the analog input connector:
Analog Input Connector X10
Signal Name
AVR Port
Description
Pin
AN0
AN1
AGND
AN2
AGND
AN3
VREF
AN4
AGND
AVCC
PF0
PF1
Analog input 0
Analog input 1
Analog Ground
Analog input 2
Analog Ground
Analog input 3
Output
Analog input 4
Analog Ground
Output
1
2
3
4
5
6
7
8
9
10
PF2
PF3
PF4
Table 10
Power Supply
External power supply should be able to supply 6 to 12 Volts DC at 100 mA current
WARNING: Correct polarity should be observed when applying external DC supply to Expansion
connector.
11
4. Application Notes
A peripheral board can either be stacked on top of MINI-MAX/AVR-C using stand-offs or
connected in a chain configuration using flat ribbon cable. Figure 2 shows how DAC-8 peripheral
board can be connected to a Micro-Computer board in a stacked fashion. Figure 3 shows the
chain connection.
Figure 2
Figure 3
For a complete list of BiPOM Peripheral boards, please visit:
http://www.bipom.com/periph_cat/us/44/0.html
12
5. Board Layout
Layout of MINI-MAX/AVR-C board is shown below:
JTAG
Connector
Expansion
Connectors
LCD
Connector
Analog Input
Terminals
Keypad
Connector
UART-1
Connector
UART-0
Connector
SPI /Program/
Connector
Power Supply
Connector
13
Analog In 3
Ground
5V GND
5V GND
PG0 PE4 5V GND
5V GND 5V GND
PC4 PC6 PJ6 PJ7 PD0 PD1
PG1 PC0 PJ4 PJ5 PD7 PD6
PC1 PC4 PJ2 PJ3 PB7 PB6
PC3 PC2 PE7 PK5 PB5 PB4
Reference
PA7 PA6 PE6 PK4 PC7 PB2
Analog In 4
PA5 PA4 PE5 PH3 PB1 PB0
Ground
PA3 PA2 PK6 PL7 PH2 PB3
5V Analog
PA1 PA0 PJ0 PJ1 PH0 PH1
Port Pin Assignments using ATMEL port naming convention:
5V
Ground
PL2
PL3
PL0
PL1
PH5
PH4
PL5
Contrast
AVR
Ground
PL6
PL4
5V
PK3
PK2
PK1
Analog In 2
PK0
Ground
Analog In 1
5V PB3
PB2 PB1
UART0
GND /RST
Analog In 0
PH7
PH6
UART1
5V Regulator
Power Jack
14
5V GND
5V GND
5V GND
5V GND 5V GND
2
41
21 20
PJ6 PJ7
31
33
38 PD6
PJ4 PJ5
37
40
13 12
PJ2 PJ3
33
36
11 10
35
34
PE7 PK5
28
29
PE6 PK4
53
30 51
52
6
26
27
3
PH2 50
PK6 42
24
Reference
25
14
Analog In 15
22
Ground
23
5V Analog
15
17
16
Port Pin Assignments using Arduino port naming convention:
Analog In 3
Ground
5V
Ground
47 46
49 48
7
44 43
Contrast 45
AVR
Analog In 11
Analog In 10
Ground 5V
Analog In 9
Analog In 2
Analog In 8
Ground
5V 50
52
51
GND /RST
Analog In 1
Analog In 0
9
8
5V Regulator
Power Jack
15
6. Schematics
16
17
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement