Skip to main content

Posts

Program to interface Relay with LPC2148 microcontroller

A relay is an electrically operated switch or an electro-mechanical switch. Relays are used where it is necessary to control an electronic circuit by a low-power signal or where several circuits must be controlled by one signal. Principle:   Current flowing through the coil of the relay creates a magnetic field which attracts a lever and changes the switch contacts. The coil current can be on or off so relays have two switch positions and most have double throw (changeover) switch contacts. Program: Theory: A relay is used for electronic to electrical interfacing i.e. it is used to switch on or off electrical circuits operating at high AC voltage using a low DC control voltage. A relay generally has two parts, a coil which operates at the rated DC voltage and a mechanically movable switch. The electronic and electrical circuits are electrically isolated but magnetically connected to each other. In this R1 and R2 are the connection of relay made with LPC2148 and signal a...

Voluntarily post your electronics stiffs and posts on this blog

I have started a voluntarily blogging on my blog where any one can post useful information about your project and electronics knowledge with the others. As, i have been busy since a long time in my work, i am unable to post useful content for my readers. Hence, i have decided to add few authors on my blog which can contribute honorary to this blog and share your useful stuffs and content with world. Instructions to become author: - If any one is interested in becoming an author of this blog, he/she has to make a blog on Blogger.com and learn to use it. - If, then you have useful information in the field of electronics and embedded which you think can help other people too. You can voluntarily mail me on email ID- examcut2@gmail.com - I will add your profile picture and contribution details on my blog. Terms and Conditions: 1. One has to be adhered to the blog targeted content and what content can be shared. 2. No money or any prize will be granted to any one on posting a...

7-Segment LED display interfaced with LPC2148 microcontroller

7 Segment Display is an array of 8 LEDs connected or arranged in a special pattern together to form or display the digits from 0-9 and Dot functions also. LPC2148 micro-controller is an ARM architecture based 32-bit controller used many embedded applications. Program: Theory: 7-segment display contains 10 pins- 8 for LEDs, 1 for common cathode and other one for common anode. 8 LEDs structure forms a display in format of "8" which is used to display counting from 0 to 9 one at a time. You can operate it in two modes- common cathode and common anode. Four 7-segment displays are connection of four displays in a row (as shown in a figure). The features of four 7-segment is same as single 7-segment but, the only difference is that you can display number from 0000 to 9999. These are types are very much applied in general display applications as they are easy to implement and costs less than other display. There is slight different in coding part of four 7-segment disp...

Get discounted Web hosting plan from Popular Web Hosting sites

One needs a better web hosting plan to run his/her professional site or blog for this he/she requires a well managed web hosting server and trusted seller. There are few popular trusted web hosting seller offers wide range of web hosting plan. So, i have brought few web hosting discount from 3 popular sites which are widely used by the customers. 1. Bluehost Web Hosting plan Bluehost.com is one of the biggest web hosting site that provides many tools to its customer. Now you can get it now at $4.95/month with unlimited space, bandwidth, transfer and instant set-up with free domain registration. Click above link and buy a web hosting plan to start instantly with other useful tools for your website and you will get an awarded free call support from the company. 2. Hostgator Web Hosting plan Hostgator , is one the biggest web hosting service that provides different web hosting services at l...

Interfacing of Switch with LPC2148 microcontroller

Now, i discuss a program of LPC2148 microcontroller interfaced with a Switch and a LED. Earlier, i have discussed about the functions of LPC2148 microcontroller and its registers, which can help you understand the program described below. And, you also can understand the debouncing concept of switch when interfaced with microcontroller ( click here ) Program: Theory: IOPIN is the Input/Output Pin configuration which defines the current state of the GPIO configured port pins that can always be read from this register, regardless of pin direction. The denouncing switch concept has been implemented in this example code in which LED is switched on whenever a switch connected on port P0 is pressed.

Program to Blink LED interfaced with LPC2148 microcontroller

LPC2148 is a 32-bit microcontroller by NXP. I discuss a simple LED interface program interfaced with LPC2148 microcontroller to make you understand its register and PINSEL functions. Program: Theory: In the above code, there are 3 main instructions are used- ISOET0/1, IODIR0/1 and IOCLR0/1 . Every instruction has its own meaning as explained in Table 4. The above is taken on Fast GPIO port P1 on pins 16-23. Each decimal number in 0x00000000 defines the 4-bit, so the total comes out to be 32-bit. In GPIO port P1, 0-15 pins are reserved so you cannot direct output on these pins. Whereas 24, 26, and 27 pins of GPIO port P0 are reserved.

Pin connect Block and Register Description of LPC214X microcontroller

Pin Connect Block: The purpose of the Pin connect block is to configure the microcontroller pins to the desired functions. The pin connect block allows selected pins of the microcontroller to have more than one function. Configuration registers control the multiplexers to allow connection between the pin and the on chip peripherals. Peripherals should be connected to the appropriate pins prior to being activated, and prior to any related interrupt(s) being enabled. Activity of any enabled peripheral function that is not mapped to a related pin should be considered undefined.   (image from: ustudy.in) Register Description: The Pin Control Module contains 3 registers- PINSEL0 :- It selects Pin function register 0 and can read/write operations. PINSEL1 :- It selects Pin function register 1 and can read/write operations. PINSEL2 :- It selects Pin function register 2 and can read/write operations.

Interfacing Analog-to-Digital Converter with 8051 microcontroller

Introduction: ADC0804 is one of the most commonly used analog to digital converter IC. In many applications it is required to convert the output of the sensor, which is analogue in nature to a digital form. The data in digital format can then be utilized for further processing by the digital processors. Typical applications include sound processing, temperature processing etc. The below figure demonstrates the principle and operation of interfacing a simple ADC 0804 using 8051 microcontroller. (courtesy: Engineergargae.com) Program:   #include "REGX52.H"  #define Mydata P2  #define LED P0  #define INTR P1_3  #define WR P1_1  #define RD P1_0  void main()   {    unsigned char value;    Mydata=0xFF; //make P1 as input    INTR=1; RD=1; WR=1;     while(1)      {       WR=0; //send WR pulse  ...

Download and install Hex file burner for 32-bit microcontroller

Flash Magic is a PC burner tool for programming flash memory based microcontroller using serial or Ethernet protocol built by NXP. This tool helps the developer to easily burn the hex file generated by the embedded software like Keil µvision for 8051 and ARM microcontrollers or MPLAB for PIC microcontrollers. It is available free and easy to install in Windows or Mac OS based PC. Installing Flash Magic and its USB-to-Serial driver: - Install Flash Magic for Windows XP/vista/7/8 or Mac OS X (available for Cortex device only) and also install USB-to-Serial driver so that flash magic can find the signature of LPC2148 microcontroller programmer board. Download Flash Magic - http://www.flashmagictool.com/ Download USB-to-Serial Driver - http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41 Note: You must install the USB-to-Serial Driver for proper functioning of flash magic. Important Link: 1. How to use the Flash Magic Burner.        ...

Identify the COM port for Flash Magic burner

You have seen the COM port option while running the Flash Magic Burner for hex file. Every computer exists the different COM port so one has to select the COM port accordingly from the given drop-down option. To find COM port- Right click on ‘ My Computer ’ icon and select ‘ Properties ’ and go to ‘ Hardware ’ option and Click on ‘ Device Manager ’ and See the ‘ COM port ’ to know which COM port is compatible between your PC and ARM programmer board.

Get Discount on New Car Dealer Theme from Premium Press

Premiumpress.com has launched the new featured and easy-to-use Car Dealer Theme for the bloggers and professionals. A buyer will get additional benefits on buying this theme such as free technical support, free updates, free child theme. This theme has in-built tools to manage Google Adsense ads, Google Analytics, Drag & Drop tools, Membership area for visitors, Google Maps & Geo location, Images,Video,Music,PDF & Doc Uploads, Contact forms and Private Messages, Email Marketing, Price Per Category etc. Use Discount Coupon:  This theme costs $79 (one time payment) but visitors to this blog can get an exciting discount of $30 All you have to just click on "Buy" option and then click on "I have a coupon code", then Enter this code: CARDEALER30 - you will be discounted $30 on your purchase.

Awesome Tips and Tutorial to develop better Soldering techniques

These tutorial videos will show the soldering techniques on different instruments and equipments which you might have not done before. It will help you in Soldering Iron from Graphite Pencil or how to solder a BGA chip with paint stripper? And there is also a video tutorial on basics of SMD Soldering or tutorial on Lead-free multi-lead soldering technique? 1. Tutorial: How to build Soldering Iron from Graphite Pencil? While almost everyone knows how to solder using a soldering iron, but how about saving some money and solder using a graphite pencil, car battery and jumper wires. Here's a video to show you the trick. 2. Tutorial: How to prep through hole component for solder installation? In this soldering tip video, Norman Mier demonstrates the through-hole preparation pliers method with lead-free solder. 3. Tutorial: Lead-free multi-lead soldering technique This soldering tip video, again by Norman Mier demonstrates the lead-free multi-lead soldering technique. 4....

Sony Xperia T-2 Ultra available online at EMI

Sony Tablet with superb camera smartphone Sony Xperia T-2 Ultra has become available. Right now, it is currently available at online shopping store where its value is set to 32 thousand rupees . But It can be purchased at EMI of Rs 1996. Sony Spiria the hottest tablet on the part of the company 's Ultra T2 Jisen currently being provided under Saholik online shopping portal. Features: Sony 6 -inch TFT ultra Spiria Trilumins T2 has full HD display screen. It is the processor speed of 1.4 GHz. Jellybean Android 4.3 OS running on the tablet has 1 GB RAM . Sony 's new tablet has 8 GB internal space Jisen can increase up to 32 GB. While connectivity options as 3G , Wi - Fi , Bluetooth 4.0 and features such as NF C are given. In terms of features Sony's new tablet recently launched Lumia Nokia Lumia 1320 and 1520 is going to challenge.

Description and Use of Resistor Calculator 1.0.6

A simple, easy-to-use freeware for Windows that saves a lot of time and effort in determining the colour code of resistors and resistance values required for LED circuits. On the basis of the entered or calculated resistor value additionally the closest resistor within the E series as well as within the Renard numbers is displayed automatically. As another feature the program can calculate the required resistor value for LED circuits (single LED, series connection and parallel connection) considering the supply voltage, the voltage drop across the LED(s) as well as the current of the LED(s). Features of Resistor Calculator at a glance: - Calculating the color code of a resistor value. - Calculating the resistor value of a color code. - Displaying the closest resistor of the E series and Renard numbers. - Resistor calculation for LED circuits (single, in series, parallel). - Integrated help system. - Automatic program updates. - Multilingual (at the moment English and Ge...

Introduction to 32 microcontroller- LPC2148

The LPC2148 microcontrollers are based on a 32/16 bit ARM7TDMI-S CPU with real-time emulation and embedded trace support, that combines the microcontroller with embedded high speed flash memory ranging from 32 KB to 512 KB. A 128-bit wide memory interface and unique accelerator architecture enable 32-bit code execution at the maximum clock rate. For critical code size applications, the alternative 16-bit Thumb mode reduces code by more than 30 % with minimal performance penalty.   Figure 1: LPC214X Chip by NXP Due to their tiny size and low power consumption, LPC2148 are ideal for applications where miniaturization is a key requirement, such as access control and point-of-sale. A blend of serial communications interfaces ranging from a USB 2.0 Full Speed device, multiple UARTS, SPI, SSP to I2Cs and on-chip SRAM of 8 KB up to 40 KB, make these devices very well suited for communication gateways and protocol converters, soft modems, voice recognition and low end imaging, prov...

Build a Solar USB Charger

This video shows the step to build a Solar USB charger with few simple tools, so that one can easily charge your phone or any USB device

Solder removal from a circuit board

This video shows how to remove extra solder from the board on PCB..

3D View of PCB using AutoTRAX software

AutoTRAX is an Integrated PCB, simulation and Schematics software for Electronics engineer. It also helps in design Electronic circuit in 3D format. Learn how to view your PCB design in 3D with AutoTRAX. This valuable tool lets you visualise the details before the design is submitted for manufacturing. You can download Software from here- http://kov.com/Download/Manual

After Smartphones, Smart toothbrush has been launched in CES 2014

Your smartphone will clean your teeth . Smartphone , after Smartband a Smart toothbrush is set to be launched in the market. Smart toothbrush important thing is that your smartphone is connected to the Internet via smartphones will give you full information on dental health. America's ongoing CES 2014 in Las Vegas showcased the world 's first Smart toothbrush. Making it the French base company founder Oral Care Loyk Kisot Kolibri by Aime Our ​​idea is to strengthen not only brush but also make him smarter. The world's first connected electric toothbrush, which syncs wirelessly with a smartphone to track brushing habits, announce whether you, or your kids, have brushed thoroughly enough and reward you for good oral hygiene. Kolebri in Toothbrush isolated sensor is engaged with the removal of tartar on your teeth frozen in her record so that you can keep an eye on your teeth the whole sweep . All information is sent to the device in the smartphone application where you...

Micromax launched the dual-OS capability Tab

Micromax unveiled its latest tablet ' LapTab ', which will run on both Windows 8 and Android JellyBean operating system. According to the news, it will available for consumers in February. This device is made for multitasking and easily switch between the OS on which the user wants to work. The user would need to simply reboot the device and select the alternate option to switch from Windows to Android and vice-versa, Combining functionality and style, the LapTab further builds on the promise to constantly empower our users with superior technology that directly addresses their needs, he added. Features: The device is powered by 1.46GHz Intel Celeron processor and has a 10.1-inch IPS display. It comes with 2GB RAM, 7400 mAh battery, 2MP front camera with light sensor and wireless keyboard. With storage of 32 GB expandable up to 64 GB, the tablet also supports Bluetooth v4.0 and Wi-Fi. The LapTab comes with a transleeve which can be combined as a cover and stand...