Sunteți pe pagina 1din 15

Microcontroller:

architecture,
interfacing,
programming with arm
What is arm processor??

• ARM processor is commonly used in embedded


system applications.
• Advanced RISC Machine is the acronym of ARM.
• It is an RISC processor as its name mentions it.
• It is 32-bit microcontroller.
• It is known for high code density.
• ARM processor has been specifically designed
to be small.
• The applications of an ARM processor include
several microcontrollers as well as processors.
Architecture and Data Flow

• 16 general purpose registers


• 32-bit Address bus and 32-bit Data bus
• Athematic Logic Unit
• Instruction Decoder
• Multiply Accumulate Unit
• Barrel shifter
Lpc2148:
 The LPC2148 microcontroller is designed
by Philips (NXP Semiconductor) .
 With several in-built features & peripherals
it add some advantages for the user. Due
to these reasons, it will make more reliable
as well as the efficient option for an
application developer.
 LPC2148 works on both 16-bit or 32-bit
modes that is thumb mode and ARM
mode respectively.
 The LPC2148 microcontroller has 512-kB
on-chip FLASH memory as well as 32-kB on-chip SRAM
Features of LPC2148 (customised)

 64 GPIO Pins
 It has many specialized programmable
registers for specific purpose.
 6 channels of ADC’s
 SPI,I2C communication protocols
 UART
 LCD on Board
 Buzzer on Board
 VGA Ports for data inputs
 Power(Barrel Jack) and more.
ARM-ADVANTAGES

 Availability of more complex peripherals such as CAN Bus controller, Ethernet


controller and DMA’s (Direct Memory Access): These peripherals allow ARM MCU’s to
be used in highly complex real-time embedded systems such as Automotive sensor
network, Network router, Audio processors, etc. and it enables the MCU to process
larger quantities of data.
 More memory: 32-bit architecture allow ARM MCU’s to have upto 4GB of RAM. The
size of the flash memory that holds the instruction code is also more in ARM MCU’s
compared to 8-bit MCU’s. eg. Low cost LPC2378 from NXP has 32kb of RAM and
512kb of flash memory whereas higher end Atmel Atmega2560 has only 8kb of RAM
and 256kb of flash memory
PROJECT: HOME AUTOMATION

Objectives of the project:


 Switching on/off LED using bluetooth
 Checking the intensity of light using LDR
 Security system using IR sensor
 Checking the room temperature
Block diagram:

LIGHTS

LDR
CONTROL

BLUETOOTH
MODULE LPC2148
,

SECURITY
SYSTEM

TEMP
CHECK
BLUETOOTH MODULE:

 HC‐05 module is an easy to use Bluetooth


SPP (Serial Port Protocol) module, designed
for transparent wireless serial connection setup.
The HC-05 Bluetooth Module can be used in a
Master or Slave configuration
 In our project we are using Bluetooth as like a
switch it controlls all the four tasks.
 We are controlling the tasks by sending the
commands from our mobile phone.
LIGHT DEPENDENT REGISTER(LDR):

 LDR When the light falls on the resistor, then


the resistance changes. Wen the intensity of
light is low then resistance increases, voltage
increases then light glows’
 In our project LDR detects the intensity of light
if the intensity is low then automatically led
will on.
IR SENSOR:

 An infrared sensor circuit is one of the basic and


popular sensor module in an electronic device.
This sensor is analogous to human’s visionary senses,
which can be used to detect obstacles and it is one
of the common applications in real time.
 IR sensor detects the presence of object at a specified
location . If a object(like car etc..)is placed in a specified
location then no notification will be given,if a object is
taken away from that specified location then notification
(buzzer on) will be recieved
Temperature sensor(LM35):

 LM35 measures the temperature LM35 is a


commonly used temperature sensor, It shows
values in the form of output voltages instead
of degree Celsius. LM35 shows high voltage
values than thermocouples and may not need
that the output voltage is amplified.
 LM35 is a temperature measuring device having
an analog output voltage proportional to the
temperature.
 It detects the present temperature in room
FUTURE WORK AND SCOPE:

• I would like to automate with some more home


appliances and interface more sensors which
makes the home smarter .
• Install parking system in home and I want to
implement my project at my home.
• And I would also like to implement smart parking
to reduce parking problem in places like Shopping
mall, Cinema Halls, Hospitals and Railway/Metro stations.
Conclusion:

 ARM 7TDMI is one of the best and widely used microcontroller in embedded system
applications.
 It is the basic version of advanced microcontroller.
 It is widely used in mobile phones ,micro ovens , refrigerators , printers etc..
 This is the best version of arm processor which is best to start learning this 20th
century microcontroller with continuation of 19th century microcontrollers
THANK YOU

S-ar putea să vă placă și