Docsity

Notes on Hardware Description - Microcomputer-Based Design | ETEC 474, Study Guides, Projects, Research of Engineering

Partial preview of the text

Download Notes on Hardware Description - Microcomputer-Based Design | ETEC 474 and more Study Guides, Projects, Research Engineering in PDF only on Docsity!

Hardware Description

Name: Sopheak Chea

Instructor: Todd Morton Course: Etec 474 Date: April 21, 2004 Institution: Western Washington University

Curvy Arm

Introduction

The Power Grip is a simple but yet sophisticated digital exercise device used to

strengthen your forearm, wrist, and grip. The Power Grip can be used enhance the

performance of athletes as well as for rehabilitation purposes for people suffering from

injuries such as arthritis or carpal tunnel syndrome.

An LCD display will display the number of repetitions and the power per

repetitions to help the user monitor his or her workout. Along with the LCD display is a

clear workout button. The clear workout button allows the user to clear (or reset) his or

her current workout.

Power Grip

Figure 1 shows the Power Grip used in the project.

The Power Grip’s heavy duty resistance mechanism provides consistent tension

Figure 1 - The smooth arm is where

you place your thumb. The curvy arm is for

your fingers to fit perfectly over.

Smooth Arm

The output voltage from the MAX710 is used to power up the MC9S12DP256B

microcontroller, AD623, LCD display, keypad, and the Wheatstone bridge circuit as

shown on the schematic. An On/Off switch (SW1) on the battery pack is used to connect

and disconnect the power.

Sliding Potentiometer

The sliding potentiometer (R11) is mounted on top of the Power Grip and

connected with three resistors (R1-R3) in an equal resistance Wheatstone bridge circuit as

shown on the schematic. The Wheatstone bridge circuit is often used as a signal

conditioning circuit for resistive sensors, in this case, the sliding potentiometer. Only

about half of the resistance (500 ohms) on the sliding potentiometer is needed for the

project (no sliding potentiometer less than 1 k is available).

Wheatstone Bridge Circuit

The output voltage of the Wheatstone bridge circuit is taken between terminals c

and d. The output voltage varies according to the change in resistance in the sliding

potentiometer. When the Power Grip is idle, the bridge is balanced and V (^) cd is

approximately zero volts. When the bridge is not balanced, Vcd varies and is measured

and used for calculations.

A-to-D Converter

Instead of connecting the two signals, Vc and Vd directly to the A-to-D converter

on the MC9S12DP256B microcontroller, the two signals are fed into the AD623 (U4), an

integrated single supply instrumentation amplifier. The AD623 takes the difference

between the two signals and outputs a single signal. The output signal is then fed directly

into the A-to-D converter, PAD0 on the MC9S12SP256B microcontroller. The output

signal, which is an analog signal is converted to a digital signal and is used to determine

the number of repetition and power per repetition.

Reset Circuitry

The RESET pin is an active low signal. The resistor (R6) ties the reset signal

high until it is pulled low by either the MC34064 low voltage reset IC (U2) or the BDM

connector (J2).

Crystal Circuitry

The crystal (X1) operates at a frequency of 16 MHz. The crystal and capacitors

(C5 and C6) provide the oscillator circuit, which is connected to the EXTAL and XTAL

pins of the MC9S12DP256B microcontroller.

BDM Connector

The BDM connector (J1) is a 10 pin connector. All of these signals are made

available to all for future upgrades to the system.

LCD Display

The LCD display (LCD1) is a 16 x 2 character display with a backlight. The

contrast of the LCD display is set by the 10 k – potentiometer (R8).