You are on page 1of 3

2008 International Conference Modern Technique and Technologies

Nowadays there are a lot of methods as contact, as non-contact length and speed measurement. Each has its advantages and disadvantages. Advantage of non-contact measuring is that there is no direct contact that's why it can be used for different materials (such as cable, optic fiber tubes and etc.). Compare to contact methods it has lawer Today this method is lower deterioration and has lower inaccuracy. Currently this method one of the most technically advanced and most accurate

DISK FOR STUDYING MICROCONTROLLERS

Upadyshev D.P., Razumeiko O.P. Scientific supervisor: Vorobyeva G.S. Tomsk Polytechnic University, 634050, Russia, Tomsk, Lenin Avenue, 30 E-mail: dmitrijupadyshev@inbox.ru designed for engineers who are willing to start With the development of microprocessor technology there appeared the requirement for studying new kinds of microprocessors and microcontrollers with their application to solve practical tasks. The main function of modern microcontrollers is the operation in electronic systems. Availability of electrically reprogrammable program and data memory, a large number of registers and in-circuit resources provide really fantastic opportunities to solve many tasks of automation, including creating cheap measurement systems and controlling electrical circuits. In order to study modern microcontrollers the chair Industrial and Medical Electronics (IME) of TPU has bought several units of the STK500 starter kit. This kit was designing program code and testing it. The program; high-voltage STK500 has for of the following characteristics: compatibility with AVR Studio programmer programming programming all AVRmicrocontrollers; support of parallel and serial microcontrollers; connection to PC through RS232 Interface for programming and control; 8output, 20-output, 28-output, 40-output sockets for fixing DIP-package of AVR-microcontrollers; serial In-System programming (ISP) of all AVRdevices; 8 push buttons for general use, 8LEDs for general use, additional RS-232 Port; expansion connector for accessing external modules; embedded DataFlash with capacitance 2 Mb for nonvolatile data storage.

52

2008 International Conference Modern Technique and Technologies


So, the STK500 provides an opportunity of thorough study of programming the majority of microcontrollers of AVR family, the significant disadvantage of the given device is insufficient quantity of peripheral units. Nowadays there are special-purpose form of external desks for studying with microcontrollers both self-contained and in the modules-attachments various peripheral units. Similar desks are meant for carrying out laboratory works, individual study of microcontrollers or application as a processor module in a new device. Market price of one of such device is 15 25 thousand rubles, moreover, for additional charge producers often offer reconfiguration of their desks at customer's will. Due to the high price of devices proposed at the market to study microcontrollers at the chair IME TPU the resolution was made to create own desks. To carry it out the group of the candidates for a master's degree was formed. Having analyzed the program of laboratory works and admissible themes of term paper in discipline "microprocessor defined. technology" the main components of the desk being developed were To study the methods of indications dynamic four-charged seven-segmented indicator, matrix display and LCD were used. The keyboard 4x4 will let master algorithms of keyboard service and control the other components. To study ADC channels two potentiometers were used. To study sound modulation the sound modeling piezoelectric element was used'. Changing rotation frequency of fixed cooler, one can understand the operation of PDM. External pulse generator, as interrupts former, will give the possibility to learn the operation of timercounters. There is optocoupler with conversion scheme where the light received by photocell is transformed into pulses of logic level. Together with the cooler the optocoupler allows to define its rotation speed. The study of 12C interface is presented at temperature detector. Together with the cooler and temperature detector, embedded incandescent lamp permits to study the algorithms of automated thermostating. One more component is a step motor which allows to study the principles of controlling it, later on it will allow to measure the distance between the temperature detector and incandescent lamp

53

2008 International Conference Modern Technique and Technologies

R
Step motor

.t.

,...-~

STK500 PORTS

~
Optocoupler

~
Potentiometers Sound modeling piezoelectric element

.It.

~
The keyboard 4I4

Jl
~
Incandescent lamp ....
y

....====:

~~ If Jl
=
....
y

Temperature detector

Cooler

==

Pulse generator

Dinamic sevensegmented indicators

Matrix display

LSD

Fig. 1. Block diagram of desk

Available components represent the united system, connection components. connected however from The to provides they each desk are other. arranged Such work a of is independently

in this case the connection is carried out by means of 2-wire cables. The last advantage allows the user working with the desk to connect available devices of the desk to any pins of controller. The desk being designed permits also to solve non-standard tasks. One of such tasks is the automatic control system of thermostating. The methodical manual is being developed with the description of fragments of programs and algorithms for available devices. The board was approbated in the group of fourth-year students and it has shown a and good efficiency, understandability obviousness.

autonomous being by

designed port

physically made in the form of attachment STK500 cables. Configuration of desk ports are completely compatible with STK500, all the components of the desk are connected by 10-wire cables typical for STK500 (8 wires - port pins, 1 - supply, 1 ground). When there is a necessity the combination of connections can be of any kind, THE LITERATURE:
1. 2.

http://www.gaw.ru/html.cgi/txt/app/Atmel/micros/avr/stk500

http://www.computerlink.ru/taxonomy/tenn/

54

You might also like