Tuesday, 1 December 2015

Some details of Advanced RISC Machine (ARM –LPC2129)

                                          
Working of using Advanced RISC Machine (ARM –LPC2129) in EMBEDDED SYSTEM


                                            The ARM is a 32-bit reduced instruction set computer (RISC) instruction set architecture (ISA) developed by ARM Limited. It was known as the Advanced RISC Machine, and before that as the Acorn RISC Machine. The ARM architecture is the most widely used 32-bit ISA in terms of numbers produced They were originally conceived as a processor for desktop personal computers by Acorn Computers, a market now dominated by the x86 family used by IBM PC compatible computers. The relative simplicity of ARM processors made them suitable for low power applications. This has made them dominant in the mobile and embedded electronics market as relatively low cost and small microprocessors and microcontrollers.
Image result for (ARM –LPC2129)

The LPC2129 are based on a 16/32 bit ARM7TDMI-STM CPU with real-time emulation and embedded trace support, together with 128/256 kilobytes (kB) of embedded high speed flash memory. A 128-bit wide internal memory interface and a unique accelerator architecture enable 32-bit code execution at maximum clock rate. For critical code size applications, the alternative 16-bit Thumb Mode reduces code by more than 30% with minimal performance penalty.
With their compact 64 and 144 pin packages, low power consumption, various 32-bit timers, combination of 4-channel 10-bit ADC and 2/4 advanced CAN channels or 8-channel 10-bit ADC and 2/4 advanced CAN channels (64 and 144 pin packages respectively), and up to 9 external interrupt pins these microcontrollers are particularly suitable for industrial control, medical systems, access control and point-of-sale.
Number of available GPIOs goes up to 46 in 64 pin package. In 144 pin packages number of available GPIOs tops 76 (with external memory in use) through 112 (single-chip application). Being equipped wide range of serial communications interfaces, they are also very well suited for communication gateways, protocol converters and embedded soft modems as well as many other general-purpose applications.
Image result for (ARM –LPC2129)
Advanced RISC  Machine Features
1.  16/32-bit ARM7TDMI-S microcontroller in a tiny LQFP64 package.
2.  16 kB on-chip Static RAM.
3. 128/256 kB on-chip Flash Program Memory. 128-bit wide
Interface/accelerator enables high speed 60 MHz operation.
4. in-System Programming (ISP) and In-Application Programming
(IAP) via on-chip boot-loader software. Flash programming takes 1ms
Per 512 byte line. Single sector or full chip erase takes 400 ms.
5. Embedded-ICE-RT interface enables breakpoints and watch points.
Interrupt service routines can continue to execute while the
Foreground task is debugged with the on-chip Real-Monitor. Software.
6. Embedded Trace Microcell enables non-intrusive high speed real-time
Tracing of instruction execution.
7. Two interconnected CAN interfaces with advanced acceptance filters.
8. Four channel 10-bit A/D converter with conversion time as low as2.44 ms.
9. Multiple serial interfaces including two UARTs (16C550), Fast I2C
(400 Kbits/s) and two SPIs
10. 60 MHz maximum CPU clock available from programmable on-chip
Phase-Locked Loop with settling time of 100 ms.
11 Vectored Interrupt Controller with configurable priorities and vector
Addresses.
12. Two 32-bit timers (with four capture and four compare channels),
Dual power supply:
1. CPU operating voltage range of 1.65V to 1.95V (1.8 V ±0.15 V).
2. I/O power supply range of 3.0 V to 3.6 V (3.3 V ± 10 %) with 5 V
Tolerant I/O pads.

ARCHITECTURAL  OVERVIEW

The LPC2129 consists of an ARM7TDMI-S CPU with emulation support, the ARM7 Local Bus for interface to on-chip memory controllers, the AMBA Advanced High-performance Bus (AHB) for interface to the interrupt controller, and the VLSI Peripheral Bus (VPB, a compatible superset of ARM’s AMBA Advanced Peripheral Bus) for connection to on-chip peripheral functions. The LPC2119/2129/2194/2292/2294 configures the ARM7TDMI-S processor in little-endian byte order.
AHB peripherals are allocated a 2 megabyte range of addresses at the very top of the 4 gigabyte ARM memory space. Each AHB peripheral is allocated a 16 kilobyte address space within the AHB address space. LPC2129 peripheral functions (other than the interrupt controller) are connected to the VPB bus. The AHB to VPB Bridge interfaces the VPB bus to the AHB bus. VPB peripherals are also allocated a 2 megabyte range of addresses, beginning at the 3.5 gigabyte address point. Each VPB peripheral is allocated a 16 kilobyte address space within the VPB address space.
APPLICATIONS
• Industrial control
• Medical systems
• Access control
• Point-of-sale
• Communication gateway
• Embedded soft modem
• General purpose applications

Raspberry Pi Technology

INTRODUCTION
                                             
                                                   The Raspberry pi is a single computer board with credit card size, that can be used for many tasks that your computer does, like games, word processing, spreadsheets and also to play HD video. It was established by  the Raspberry pi foundation from the UK. It has been ready for  public consumption  since 2012 with the idea of making a low-cost educational microcomputer for students and children. The main purpose of designing the raspberry pi board is, to encourage learning, experimentation and innovation for school level students. The raspberry pi board is a portable and low cost. Maximum of the raspberry pi computers is used in mobile phones. In the 2st century, the growth of mobile computing technologies is very high, a huge segment of this being driven by the mobile industries. The 98% of the mobile phones were using ARM technology.

Raspberry Pi Technology

                                                        The Raspberry pi comes in two models, they are model A and model B. The main difference between model A and model B is USB port. Model A board will consume less power and that does not include an Ethernet port. But, the model B board includes an Ethernet port and designed in china. The raspberry pi comes with a set of open source technologies, i.e. communication and multimedia web technologies.In the year 2014, the foundation of the raspberry pi board launched the computer module, that packages a model B raspberry pi board into module for use as a part of embedded systems, to encourage their use.


Raspberry Pi Hardware Specifications

                                                            The raspberry pi board comprises a program memory (RAM), processor and graphics chip, CPU, GPU, Ethernet port, GPIO pins, Xbee socket, UART, power source connector. And various interfaces for other external devices. It also requires mass storage, for that we use an SD flash memory card. So that raspberry pi board  will boot from this SD card similarly as a PC boots up into windows from its hard disk.
Essential hardware specifications of raspberry pi board mainly include SD card containing Linux OS, US keyboard, monitor, power supply and video cable. Optional hardware specifications  include USB mouse, powered USB hub, case, internet connection, the Model A or B: USB WiFi adaptor is used and internet connection to  Model B is LAN cable.
Model A Raspberry Pi Board

                                                                    The Raspberry Pi board  is a Broadcom(BCM2835) SOC(system on chip) board. It comes equipped with an ARM1176JZF-S core CPU, 256 MB of SDRAM and 700 MHz,. The raspberry pi USB 2.0 ports use only external data connectivity options. The board draws its power from a micro USB adapter, with min range of 2. Watts (500 MA). The graphics, specialized chip is designed to speed up the operation of image calculations. This is in built with Broadcom video core IV cable, that is useful if you want to run a game and video through your raspberry pi.

Features of Raspberry PI Model A

  • The Model A raspberry pi features mainly includes
  • 256 MB SDRAM memory
  • Single 2.0 USB connector
  • Dual Core Video Core IV Multimedia coprocessor
  • HDMI (rev 1.3 & 1.4) Composite RCA (PAL and NTSC) Video Out
  • 3.5 MM Jack, HDMI, Audio Out
  • SD, MMC, SDIO Card slot on board storage
  • Linux Operating system
  • Broadcom BCM2835 SoC full HD multimedia processor
  • 8.6cm*5.4cm*1.5cm dimensions
By using Raspberry pi we have done several projects. The link will shows our project details

Sunday, 29 November 2015

virtual reality basic tutorial for begineers



Virtual Reality:


Virtual reality is an artificial environment that is created with software and presented to the user in such a way that the user suspends belief and accepts it as a real environment. On a computer, virtual reality is primarily experienced through two of the five senses: sight and sound.








"what is virtual reality" in technical terms is straight-forward. Virtual reality is the term used to describe a three-dimensional, computer generated environment which can be explored and interacted with by a person. That person becomes part of this virtual world or is immersed within this environment and whilst there, is able to manipulate objects or perform a series of actions.


History:


In the early 1990s, the public's exposure to virtual reality rarely went beyond a relatively primitive demonstration of a few blocky figures being chased around a chessboard by a crude pterodactyl. While the entertainment industry is still interested in virtual reality applications in games and theatre experiences, the really interesting uses for VR systems are in other fields.


Where is virtual reality used?

Saturday, 28 November 2015

What is VLR and its function in GSM

VLR:

As From the Name VLR means Visitor Location Register.
Visitor Location Register (VLR)
The VLR contains a copy of most of the data stored at the HLR. It is, however, temporary data which exists for only as long as the subscriber is “active” in the particular area covered by the VLR.
The VLR database will therefore contain some duplicate data as well as more precise data relevant to the subscriber remaining within the VLR coverage (here coverage means status of customer of last lac location area code updation )
The VLR provides a local database for the subscribers wherever they are physically located within a PLMN, this may or may not be the “home” system. This function eliminates the need for excessive and time-consuming references to the “home” HLR database.
The additional data stored in the VLR is listed below:
  1. Location Area Identity (LAI).
  2. Temporary Mobile Subscriber Identity (TMSI).
  3. Mobile Station Roaming Number (MSRN).
  4. Mobile status (busy/free/no answer etc.).
Location Area Identity
Cells within the Public Land Mobile Network (PLMN) are grouped together into geographical areas. Each area is assigned a Location Area Identity (LAI), a location area may typically contain 30 cells.
Each VLR controls several LAIs and as a subscriber moves from one LAI to another, the LAI is updated in the VLR. As the subscriber moves from one VLR to another, the VLR address is updated at the HLR.
Temporary Mobile Subscriber Identity (TMSI)
The VLR controls the allocation of new Temporary Mobile Subscriber Identity (TMSI) numbers and notifies them to the HLR. The TMSI will be updated frequently, this makes it very difficult for the call to be traced and therefore provides a high degree of security for the subscriber.
The TMSI may be updated in any of the following situations:
  • Call setup.
  • On entry to a new LAI.
  • On entry to a new VLR.
Mobile Subscriber Roaming Number
As a subscriber may wish to operate outside its “home” system at some time, the VLR can also allocate a Mobile Station Roaming Number (MSRN). This number is assigned from a list of numbers held at the VLR (MSC). The MSRN is then used to route the call to the MSC which controls the base station in the MSs Current location.
The database in the VLR can be accessed by the IMSI, the TMSI or the MSRN. Typically there will be one VLR per MSC.
Tags:
  • VLR IN GSM
  • VLR in telecom
  • vlr n hlr in gsm
  • vslr in gsm
  • what is hlr and vlr and their uses in locating mobile station
  • what is HLR vs VLR
  • what is the full form of vlr
  • what is vlr hlr
  • what is vlr in GSM
  • explain hlr vlr and auc

how to use LED lamps as a "indoor broadband broadcasting system"?

Visible light communication (VLC)  generally called "LIFI" using the light-emitting diode (LED) will become an appealing alternative to the radio frequency communication technology for indoor wireless broadband broadcasting. However, the LED lamps should access to the backbone information network and this requirement is not easily satisfied.


 Power line communication (PLC) systems utilize the ubiquitous power line network to power the LED lamps while serving as the backbone network for the VLC systems naturally. we propose a  cost-effective indoor broadband broadcasting system based on the deep integration of PLC and VLC. The proposed scheme significantly reduces the complexity of the VLC network protocol, and requires much less modification to the current infrastructure, while providing better signal coverage.


What is piezoelectric materials?

                                       What is piezoelectric materials?
Piezoelectric materials

Introduction: the piezoelectric effect
The piezoelectric effect describes the relation between a mechanical stress and an electrical voltage in solids.
It is reversbile: an applied mechanical stress will generate a voltage and an applied voltage will change the shape of the solid by a small amount (up to a 4% change in volume).
In physics, the piezoelectric effect can be described as the the link between electrostatics and mechanics.
piezoelectric effect
History

The piezoelectric effect was discovered in 1880 by the Jacques and Pierre Curie brothers. They found out that when a mechanical stress was applied on crystals such as tourmaline, tourmaline, topaz, quartz, Rochelle salt and cane sugar, electrical charges appeared, and this voltage was proportional to the stress.
First applications were piezoelectric ultrasonic transducers and soon swinging quartz for standards of frequency (quartz clocks).
An everyday life application example is your car's airbag sensor. The material detects the intensity of the shock and sends an electrical signal which triggers the airbag.

Piezoelectric materials

The piezoelectric effect occurs only in non conductive materials. Piezoelectric materials can be divided in 2 main groups: crystals and cermaics. The most well-known piezoelectric material is quartz (SiO2).


For piezoelectric projects and tutorials-click here

How to interface Real Time Clock with PIC Microcontroller




real-time clock  is a computer clock (most often in the form of an integrated circuit) that keeps track of the current time. Although the term often refers to the devices in personal computersservers and embedded systems, RTCs are present in almost any electronic device which needs to keep accurate time.





Code:
#include<htc.h>
#include"4 BITLCD.C"// for 4bit lcd-click here
#include"I2C.C"// for i2cprotocol-click here
#include"TIME_DATE.C"// for time_date-click here
void main()
{
TRISB=0X00;
TRISC=0X18; // SDI=SCL=1;
lcd_init();
i2c_init();
lcd_cmd(0X80,0);
lcd_str(" I2C BASED RTC ");
lcd_cmd(0X01,0);
lcd_cmd(0X80,0);
lcd_str("TIME:  :  :");
lcd_cmd(0XC0,0);
lcd_str("DATE:  :  :");
set_time(0X00,0X00); // SEC
set_time(0X01,0X01); // MIN
// set_time(0X02,0X64); // HRS & AM/PM
// set_time(0X03,0X04);
set_date(0X04,0X03); // DD
set_date(0X05,0X04); // MM
set_date(0X06,0X05); // YY
while(1)
{
// get_time(0X00,0X8B);
// get_time(0X01,0X88);
// get_time(0X02,0X85);
// get_date(0X04,0XC5);
// get_date(0X05,0XC8);
// get_date(0X06,0XCB);
}
}


For project ideas and tutorials-click here