MDM-1
Multi-function Display Module
IRCN: 716 - Page 2 of 2 IRCN: 716 - Page 1 of 2
ADDITIONAL DATA: ACCESSORIES & COMPONENTS
Programmers Manufacturer PartNumber Web Site
Handheld Enclosures
Veronex Size 3 (Grey) Vero Electronics 75-227910G
Veronex Size 3 (Black+IR) VeroElectronics 75-237431B http://www.vero-uk.com
Component Datasheets Manufacturer PartNumber Website
Microcontroller Arizona Microchip PIC 16F877 http://www.microchip.com
LCD Controller OKI MSM6544 http://www.okisemi.com
The manufacturers' web sites, listed above, offer comprehensive data which is free of charge and can be downloaded in
AdobeAcrobatPDF format for viewing and printing. Contact the relevant manufacturer to place orders for accessories.
Arizona Microchip PICSTARTPLUS
RF Solutions EPIC PLUS
http://www.microchip.com
http://www.rfsolutions.co.uk
Van Ooijen Tech. A-Wisp628 http://www.voti.nl/shop/products.htm
A-Cable-MDM
Manufacturer PartNumber Website
http://www.vero-uk.com
75-227911D
http://www.vero-uk.com
75-237432F http://www.vero-uk.com
SAFETY WARNING
To comply with the Low Voltage Directive (LVD93/68/EEC), input voltages to the module’s connectors must not exceed 500VRMS. If voltages to be
measured exceed 500VRMS, then fit scaling resistors externally to the module. If the mains power supply is connected to the module, then all the
module’s connectors must be considered to be floating at mains potential. Consequently due caution must be exercised when connecting to the
module’s connector functions under these conditions. The user must ensure that the incorporation of the DPM into the user ’s equipment conforms
to the relevant sections of BS EN 61010 (Safety Requirements for Electrical EquipmentforMeasuring,Control and Laborator yUse).
DIMENSIONS All dimensions in mm (inches)
58.0 (2.28)
55.0 (2.16)
47.0 (1.85)
17.8 (0.70)
37.5 (1.48)
30.0 (1.18)
25.0 (0.98)
60.0 (2.36)
64.5 (2.54)
47.0 (1.84)
34.5 (1.36)
18.0 (0.70)
Panel cut-out 62.0 x 32.0 (2.44 x 1.26)
MODULE HOUSE, WHITEPARISH, WILTSHIRE SP5 2SJ UK
TEL: +44 (0)1794 884567 FAX: +44 (0)1794 884616 E-mail: sales@lascar.co.uk
TEL: +1 (814) 835 0621 FAX: +1 (814) 838 8141 E-mail: us-sales@lascarelectronics.com
UNITS 6-8, 19/F FUTURA PLAZA, 111-113 HOW MING STREET, KWUN TONG, KOWLOON, HONG KONG
Specifications liable to change without prior warning MDM-1 Issue 8 November/2006 M.C. Applies to MDM-1/3
TEL: +852 2797 3219 FAX: +852 2343 6187 E-mail: purchasing@lascar.com.hk
35.0 (1.38)
Ø2.50
(0.10)
LASCAR ELECTRONICS LTD.
LASCAR ELECTRONICS INC.
3750 WEST 26th STREET, ERIE, PA 16506 USA
LASCAR ELECTRONICS (HK) LIMITED
(0.05)
2.50
(0.09)
1.5
(0.04)
6.1 (0.24)
5.0 (0.20)
1.0
2.1
(0.08)
2.00
(0.08)
5.2 (0.20)
1.60
(0.06)
6.5
(0.26)
PANELFITTING
Fit the bezel to the front of the panel, then locate
the meter to the bezel from behind the panel.
31.8 (1.25)
Using the screws provided, secure the two plastic
spring clips to the rear of the meter.
1
2
1
Programming & User Connector
34
33
PIC-based Display Module featuring FLASH Memory for Easy (re-)Programming
.
.
.
.
.
.
MDM-1 is a programmable LCD display module, intended for applications that require a fast time to market at low cost. The module is
sold unprogrammed, allowing the user to program the desired functionality into the product. MDM-1 can be made to control a
complete application, including its display front-end, a keypad interface, switching outputs and any LED's. The module's core
components comprise an LCD and a PIC microcontroller. The display consists of a 5-digit, 14-segment starburst LCD with green LED
backlighting. Each LCD segment is software-addressable, allowing the user to display numbers, text and non-standard characters.
The PIC processor used (a 4 MHz 16F877) features a reduced instruction set (RISC) architecture, making it easy for the user - novice or
advanced - to develop professional software quickly. The PIC processor contains 8k 14-bit words of Flash program memory,allowing
the module to be programmed in-circuit, and then re-programmed if necessary. This ensures that the latest firmware revision can be
downloaded into the module, or changed on-the-fly. An internal 256 byte EEPROM features a pre-programmed character generator,
making the display of text particularly easy.
using low-cost, off-the-shelf PIC programmers. The same connector provides the application interface. The module has been
designed to fit into a range of standard handheld enclosures. Alternatively, the user can mount the MDM-1 into a front panel, using the
bezel and mounting hardware provided.
MDM-1 features making measurement of analogue signals on multiple channels possible.
Calibration is achieved via the on-board potentiometer or in software.
A development system - MDM-DEV-1 - is also available, comprising an MDM-1, a development board, cables, Windows software
and firmware routines. Additional firmware routines are available on http:/www.lascarelectronics.com, as they become available.
a high accuracy 10-bit A/D converter,
Connection is via a 34-way IDC connector, allowing for easy in-circuit programming,
5 Digit Starburst LCD with LED Backlighting
16F877 Flash PIC Microntroller
8k x 14 Bit Word User-Programmable Flash Memory
10-Bit A/D Converter, up to 8 Channels
8 Bit and 16 Bit Counter/Timers
2 Pulse Width Modulation Channels
Bi-directional Parallel I/O Port with Flow Control
2
Built-in I C Bus (RS232 Option)
Built-in Character Generator in 256 Byte EEPROM
Ordering
Built-In Software Routines
5V Voltmeter
°C/°F Thermometer
Up/Down Counter
PIC Based Display MDM-1
- Display module with A/D converter
- Bezel and fixing hardware
25-Character/8-Message Display
Typical Applications
Panel Meters
Data Displays
Controllers
Data Loggers
Counters
Slave Displays
Thermometers
Consult the Lascar website for the latest software components and
Development Kit MDM-DEV-1
- MDM-1 display module
- Bezel and Fixing Hardware
- MDM-DEV-1 development board
- Windows software on 3 1/2" disk
- Firmware routines and subroutines
- Programming Cable
- Communications cable
FREE
application ideas. Alternatively, ask Lascar to write your software
or program your modules with your code.
www.lascarelectronics.com www.geocities.com/g13685or
Stock Number
Stock Number
MDM-1
System Block Diagram (Example)
LED+
V+
0V
Vpp/RESET
PGD
PGM
PGC
A/D 1
A/D 2
A/D 3
Vref-
Vref+
RD
WR
CS
P I/O 0
P I/O 1
P I/O 2
P I/O 3
P I/O 4
P I/O 5
P I/O 6
P I/O 7
VDD
VSS
MCLR/Vpp
RB7
RB3
RB6
AN0
AN1
AN4
AN2
AN3
RD
WR
CS
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7
OSC 1
OSC 2
PIC
Microprocessor
T0CKI
T1CKI
RB 2
RB 4
RB 5
RB0
RB1
RC1
RC2
SDO
SDA
SCK
Oscillator
LCD
Driver
Vref
INT
I/O 1
PWM 1
PWM 2
TIMER 1
TIMER 2
RX
TX
RS232 Rx
RS232 Tx
SDO
2
I C SDA
2
I C SCK
RS 232
Footprint
Technical Specifications
Module
Supply Voltage: 5V d.c. (typ.)
Supply Current: Application dependent
Backlight Current: 50mA (typ.) @ 5V d.c.
Operating Temperature Range: 0 to 50°C
LCD
Segments: 74, duplexed
Digit Height: 12.7mm (0.5")
Viewing Angle: 6 o'clock
* Consult the IC manufacturer's datasheet for a full set of up-to-date technical specifications (see back page).
Specifications liable to change without prior warning MDM-1 Issue 8 October/2006 M.C. Applies to MDM-1/3
Microprocessor*
Type: PIC 16F877
Speed: 4 MHz
Program Memory: 8k x 14-bit FLASH
Data Memory: 368 bytes (RAM)
256 bytes (EEPROM)
I/O Lines: Sink up to 25mA d.c.
Source up to 20mA d.c.
A/D Converter 10-bit
Timers: 8-bit & 16-bit
PGD
PGC
RS232 RX
RS232 TX
PGM
TIMER 1
TIMER 2
LED+
Programming Cable: Wire No 1
P I/O 7
P I/O 6
P I/O 5
P I/O 4
Equivalent PIC 16F877
RB7/PGD
RB6/PGC
RC7/RX/DT
RC6/TX/CK
RB3/PGM
RA4/T0CKI
RC0/T1OSO/T1CKI
No Equivalent
VDD
RE0/RD/AN5
RE1/WR/AN6
RE2/CS/AN7
RD7/PSP7
RD6/PSP6
RD5/PSP5
RD4/PSP4
Vpp/RESET
A/D 1
A/D 2
Vref-
Vref+
I/O 1
A/D 3
INT
SDO
2
I C SCK
2
I C SDA
PWM 2
PWM 1
P I/O 0
P I/O 1
P I/O 2
P I/O 3
Not Used
Not Used
Not Used
Module IDC
Connector
2
1
4
3
6
5
8
7
10
9
12
11
14
13
16
15
18
17
V+
20
19
0V
22
21
RD
24
23
WR
26
25
CS
28
27
30
29
32
31
34
33
Pin Nomenclature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
VSS
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
DIL Programming
Header
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Vpp/RESET
A/D 1
A/D 2
Vref-
Vref+
A/D3
I/O 1
INT
SDO
2
I C SCK
2
I C SDA
PWM 2
PWM 1
P I/O 0
P I/O 1
P I/O 2
P I/O 3
MCLR/Vpp/THV
RA0/AN0
RA1/AN1
RA2/AN2/VREF-
RA3/AN3/VREF+
RA5/AN4/SS
RB1
RB0/INT
RC5/SDO
RC3/SCK/SCL
RC4/SDI/SDA
RC1/T1OSI/CCP2
RC2/CCP1
RD0/PSP0
RD1/PSP1
RD2/PSP2
RD3/PSP3
40
PGD
39
PGC
38
RS232 RX
37
RS232 TX
36
PGM
35
TIMER 1
34
TIMER 2
33
LED+
32
V+
31
0V
30
RD
29
WR
28
CS
27
P I/O 7
26
P I/O 6
25
P I/O 5
24
P I/O 4
23
Not Used
22
Not Used
21
Not Used
Pin Functions
Power Supply
(overview)
IDC DIL Name .
Positive supply input 17 32 V+
Negative supply input
19 31 0V
LED backlighting supply 15 33 LED+
Programming
IDC DIL Name .
Programming voltage input 2 1 Vpp/RESET
Low voltage programming input 9 36 PGM
S
erial programming data 1 40 PGD
Serial programming clock 3 39 PGC
Positive supply voltage 17 32 V+
Negative supply voltage 19 31 0V
Analogue Measurement
IDC DIL Name .
Measurement input 1 4 2 A/D 1
Measurement input 2 6 3 A/D 2
Measurement input 3 12 7 A/D 3
Negative voltage reference input 8 4 VrefPositive voltage reference input 10 5 Vref+
Counter/Timers
IDC DIL Name .
8-bit Counter/Timer 11 35 TIMER 1
16-bit Counter/Timer 13 34 TIMER 2
Pulse Width Modulators
IDC DIL Name .
PWM Channel 1 26 13 PWM 1
PWM Channel 2 24 12 PWM 2
Parallel Port
IDC DIL Name .
I/O line 0 28 14 P I/O 0
I/O line 1 30 15 P I/O 1
I/O line 2 32 16 P I/O 2
I/O line 3 34 17 P I/O 3
I/O line 4 33 24 P I/O 4
I/O line 5 31 25 P I/O 5
I/O line 6 29 26 P I/O 6
I/O line 7 27 27 P I/O 7
Chip Select 25 28 CS
Write 23 29 WR
Read 21 30 RD
Serial Coms Ports
SDO 18 9 SDO
I C Clock 20 10 I C SCK
Programming Cable: Wire No 1
I C Data 22 11 I C SDA
IDC DIL Name .
RS232 Transmit 7 37 RS232 TX
RS232 Receive 5 38 RS232 RX
Interrupt & I/O
IDC DIL Name .
External interrupt 16 8 INT
General I/O port 14 6 I/O 1