EMBEDDED SYSTEMS COURSE 2007
BASIC TOPIC

Measurement Module

The goal is to design a device that can measure several electrical features. The device can be controlled via PC with serial interface, or from the device itself via some buttons and LCD display. The PC is running some basic terminal program such as hyperterminal, which is used as the user application. The block diagram of the system is show below: in Figure 1.

The basic requirements for the device are the following:

  • The serial interface works from MCU to PC. The unit sends at least the currently measured value to PC.
  • The serial interface works from PC to MCU. The unit can be commanded from PC to at least change measuring mode
  • Menu buttons can be used to operate the device.
  • LCD display shows menu and some information.
  • Measuring several electrical features:
  • Current measurement with automatic scale (at least 2 scales, range 0-1000mA). Positive and negative current.
  • Voltage measurement with automatic scale (at least 2 scales, range 0-15V). Positive and negative voltage.
  • Capacitance measurement (at least 2 scales, range 10pF-10uF)
  • Conductivity measurement

    These are also the basic grading points. Additional points can be received from additional features that demonstrate utilizing different features of the MCU. You may include also following optional features:

  • Power consumption measurement
  • PC data visualization for measurements

    The MM will be based on an Atmel ATmega series microcontroller (MCU). The students are recommended to use ATmega32 controller. The control module is required to contain the following on-board components:

  • ATMega MCU
  • some buttons for operating the MM
  • LCD display
  • RS-232 interface for PC connection
  • JTAG connector for programming and testing the MCU
  • electronics needed to support different measurements

    Serial cable connector

    LCD connector
    LCD connector
    NC = Not Connected