Beruflich Dokumente
Kultur Dokumente
There are some devices and components which are required to design Arduino
based Medical Reminder. Some of them are specific applications and some are system
components. The main components of this system are:
Power Supply
Microcontroller (Arduino UNO)
Real Time Clock RTC Module
Resistor
Capacitor
Motor Driver
DC Motor
Push Button
D1 D1
1 2
7805
Np:Ns
D2 3 5V Power
D2
Supply
AC
C1
2.1.1 Transformer
A transformer is an electrical device that transfers electrical energy between two or
more circuits through electromagnetic induction. Electromagnetic induction produces an
electromotive force within a conductor which is exposed to time varying magnetic fields.
Transformers are used to increase or decrease the alternating voltages in electric power
applications.
A varying current in the transformer's primary winding creates a varying magnetic
flux in the transformer core and a varying field impinging on the transformer's secondary
winding. This varying magnetic field at the secondary winding induces a varying
electromotive force (EMF) or voltage in the secondary winding due to electromagnetic
induction. Making use of Faraday's Law (discovered in 1831) in conjunction with high
magnetic permeability core properties, transformers can be designed to efficiently change
AC voltages from one voltage level to another within power networks.
Transformers have become essential for the transmission, distribution, and
utilization of alternating current electrical energy. A wide range of transformer designs is
encountered in electronic and electric power applications. Transformers range in size from
RF transformers less than a cubic centimeter in volume to units interconnecting the power
grid weighing hundreds of tons.
For simplification or approximation purposes, it is very common to analyze the
transformer as an ideal transformer model as presented in the two images. An ideal
transformer is a theoretical, linear transformer that is lossless and perfectly coupled; that
is, there are no energy losses and flux is completely confined within the magnetic core.
Perfect coupling implies infinitely high coremagnetic permeability
and winding inductances and zero net magnetomotive force.
Np : Ns
+ +
~ Vp Vs Load
- -
Figure 2.2 Transformer
D4 D1
+V
AC
D2 Load
D3 DC
-V 0V
The input voltage must always be higher than the output voltage by some minimum
amount (typically 2.5 volts). This can make these devices unsuitable for powering
some devices from certain types of power sources (for example, powering a circuit
that requires 5 volts using 6-volt batteries will not work using a 7805).
As they are based on a linear regulator design, the input current required is always
the same as the output current. As the input voltage must always be higher than the
output voltage, this means that the total power (voltage multiplied by current) going
into the 78xx will be more than the output power provided. The difference is
dissipated as heat. This means both that for some applications an adequate heatsink
must be provided, and also that a (often substantial) portion of the input power is
wasted during the process, rendering them less efficient than some other types of
power supplies. When the input voltage is significantly higher than the regulated
output voltage (for example, powering a 7805 using a 24 volt power source), this
inefficiency can be a significant issue. Buck converters may be preferred over 78xx
regulators because they are more efficient and do not require heat sinks, but they
are more expensive.
A voltage regulator is designed to automatically maintain a constant voltage level.
A voltage regulator may be a simple "feed-forward" design or may include negative
feedbackcontrol loops. It may use an electromechanical mechanism, or electronic
components. Depending on the design, it may be used to regulate one or more AC
or DC voltages.
Electronic voltage regulators are found in devices such as computer power supplies
where they stabilize the DC voltages used by the processor and other elements. In
automobile alternators and central power station generator plants, voltage
regulators control the output of the plant. In an electric power distribution system,
voltage regulators may be installed at a substation or along distribution lines so that
all customers receive steady voltage independent of how much power is drawn from
the line.
2.2 Microcontroller
Features:
5V DC supply
Programmable Square-Wave output signal
Consumes less than 500nAI Battery-Backup Module with Oscillator Running
56-byte, Battery-Backed Nonvolatile (NV) RAM for data storage
Figure 2.6 Clock Module
A flat-panel display or other electronic visual display that uses the light-
modulating properties of liquid crystal is called liquid Crystal Display. A 16×2 LCD
display is very basic module and is very commonly used in various devices and circuits.
These modules are preferred over seven segments and other multi segment LEDs. A 16×2
LCD means it can display 16 characters per line and there are 2 such lines. The
specifications of the LCD module is described below;
I2C (inter-integrated circuit) protocol uses SDA (serial data) and SCL (serial clock) pins
and it uses 0x27 address or 0x3F address (sometimes).
_ Interface: I2C
_ I2C Address: 0x27
_ Pin Definition: VCCGNDSDASCL
_ Back lit (Green with white char color)
_ Supply voltage: Single Power Supply
The L298 is an integrated monolithic circuit in a 15-Lead multiwatt and power SO20
packages. It is a high voltage, high circuit dual full-bridge driver designed to accept
standard TTL logic levels and drive inductive loads such as relays, solenoids, DC and
stepping motors. Two enable inputs are provided to enable or disable the device
independently of the input signals. The emitters of the lower transistors of each bridge are
connected together and the corresponding external terminal can be used for the connection
of an external sensing resistor. An additional supply input is provided so that the logic
works at a lower voltage.
Pin connection of the L298 Motor Driver is as follow.
GND: Ground
2 3 4 13 14
+V55
9 A B
Vref
100nF
1 2 3 4
In4
In1 5 12
In2 7 In3
InA
6 10 InB
1 5 15 11
SENCE A SENCE B
R5A
R5B
2.7 Resistor
The different types of resistors are including fixed and variable resistors, carbon,
film, carbon composition, metal film, etc. There are many different types of resistor
available for use within electronic circuits. These different resistor types have somewhat
different properties dependent upon their construction and manufacture. This makes the
different types of resistor suitable for different applications. Over the years, the resistor
types used in mass electronics production have changed. Years ago, all the resistors used
had leads and were relatively large, and by today's standards they offered a low level of
performance. Today, the resistor types used are much smaller and offer much higher levels
of performance. In this thesis, fixed resistors are used in the circuit project.
2.8 Capacitor
There are many different types of capacitors and they each vary in their
characteristics and each has their own advantages and disadvantages. Some types of
capacitors can charge up to higher voltages and, thus, can be used in high voltage
applications. Some capacitors can charge up to very high charges, such as aluminum
electrolytic capacitors. Some capacitors have very low leakage rates and others have very
high leakage rates. All of these factors determine how and in what application each of the
capacitors will be used in circuits.
2.10 Summary
This chapter describes devices and components used in Arduino based Medical
Reminder. The features and operation of each device are discussed in detail.
Microcontroller Arduino Mega is the heart of the system. The next chapter will present
Hardware Design and Software implementation of Arduino based Medical Reminder.