Skip to main content

Posts

Showing posts with the label embedded

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...

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  ...

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.

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....

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...

Solder removal from a circuit board

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

Analyze Waveform in Logic Analyzer of Keil microvision software

Keil micro-vision software is an one of the easiest platform to write program for different micro-controllers. It can analyze and debug the program to check whether program is working or not. You can also check or analyze the waveform in Keil micro-vision to check your program. I am considering that you have the basic knowledge of Keil micro-vision software and how to debug a program. To analyze a waveform, let's write a PWM(Pulse Width Modulation) program which blink the LED connected to micro-controller according to the varying waveform. PWM is the digital waveform having duty cycle. The duty cycle of waveform can be set to see different waveforms in varying ON/OFF format. Here, I considered the ON period of 10% and OFF period of 90%. But, you can change according to you. Now, Follow the steps to display PWM waveform in the Logic analyzer of Keil micro-vision software :- 1. Write a program producing a waveform. Example - Program (in this consideration) producing a PWM...

Basic Soldering techniques for freshers/newbie

Soldering is the basic process required in every electronics industry and an individual should have knowledge of soldering if he is an electronics engineer. Soldering is a process in which two or more metal items are joined together by melting and flowing a filler metal (solder) into the joint, the filler metal having a lower melting point than the work piece. Soldering differs from welding in that soldering does not involve melting the work pieces. I don't think you should go deep in theory related to soldering but you should know about the basic equipment required to soldering. Equipment: 1. Solder Iron 2. Solder Wire   It melts and solder the components on PCB 3. Solder Flux   It removes the impurity from the solder wire during melting. it lowers the melting point of solder wire 4. General Purpose PCB   It is a General Purpose PCB on which objects are mounted. Applications: - Soldering is used in plumbing, in electronics...

Check shorted points on PCB using multimeter

Soldering is the process of mounting different components on PCB. Doing soldering is easy but tough when the points or traces get shorted at some points. You thoroughly have to check the shorted traces on PCB to avoid in hardware of your project. Shorting points generally occurs when you solder on General purpose PCB or Zero PCB or you are an amateur. Any one can encountered by this problem of shorting the traces while soldering. You can avoid the shorting by checking it using multimeter. A Digital Multimeter is an electronic measuring instrument that combines several measurement functions in one unit. A typical multimeter may include features such as the ability to measure voltage, current and resistance. It can help you in testing your shorted traces on PCB. Follow the simple and easy steps to find the shorted traces or soldered points on PCB:- 1. You must do soldering carefully and with using low soldering on components to avoid shorting. You can see the below image of s...

Different Methods to Calculate Resistor value

Resistor is a component that resists current to flow through the circuit. Resistors are probably the easiest component to test with a multimeter. Through Color band: Before you can test a resistor, you need to know its strength and tolerance. Resistors are color-coded. If you look at a resistor, one end should have a gold , silver , or white band. These 3 color coding gives error value ±10%, ±5%, and ±2% respectively. Turn the resistor so that this band is to your right. That band represents the resistor’s tolerance. Before I discuss tolerances, you need to know how to read a resistor’s values. You begin by translating the colored bands into numbers and recording those numbers. For the first and second colored bands, the values are as follows: Black = 0 Brown = 1 Red = 2 Orange = 3 Yellow = 4 Green = 5 Blue = 6 Violet = 7 Grey = 8 White = 9 There is best and easy way to learn above color bands on fingertips. Learn the color coding in this way - BBROY 'G...

Test LED emit light or not using Multimeter

Test your LED using Digital Multimeter by simply connecting lead to cathode-anode ends of LED. LED is a type of diode that emits light when external voltage is applied. Steps to Test LED: Connect the black lead to the COM terminal on the multimeter. Connect the red lead to the Ohm terminal , unless your particular model differs. Turn the dial to the diode symbol on the multimeter. This allows for electric current to travel in one direction (the arrow) and not the other. Choose a regular red LED. Connect the black probe to the cathode end of the LED, which usually is the shorter end and/or cut flat at its bottom. Connect the red probe to the anode end of the LED. You will find that LED will light up, showing it is correct to use in your project. LED will light due to the battery power of multimeter and completing the connection. LED Forward Voltage Drop The value displayed on your multimeter is called the forward voltage drop. This indicates the quantity of vol...