LCD Interfacing-8051 AT89C51xD2 Introduction: A 16*2 Alphanumeric display with backlight is provided on Evaluation Board. Liquid Crystal Display (LCD) is widely used electronic display module and having a wide range of applications such as calculators, laptops, mobile phones etc. LCD in ALS 8051 Evaluation Board is connected to Port P2.…
Author: Abhay Kagalkar
DC Motor Interfacing with 8051 Microcontroller – CodesExplorer
DC Motor Interfacing with 8051 Microcontroller Fig 1 DC Motor This Code is specially developed for ALS 8051 Evaluation Board. A DC motor basically converts direct current electrical energy into mechanical energy. They have a wide range of applications in bots and in other electronic devices. By interfacing DC motor to the microcontroller,…
Stepper Motor Interfacing with 8051 Microcontroller – CodesExplorer
Stepper Motor Interfacing with 8051 Microcontroller Fig 1. Stepper Motor A stepper motor is a brushless motor which divides complete 360 degree rotation into steps. Each step has fixed angle and motor rotates along those angles.In this article we will be interfacing Stepper Motor with 8051 Microcontroller. In this article…
ARM Code: Find whether number is Prime or Not
This code is tested in Keil uVision 4. Developed for ARM LPC2148 by Abhay Kagalkar ARM Code : AREA Prime_or_Not,code,readonly ENTRY MOV R0,#15 ;Number which you want to test CMP R0,#01 ;Comparing with 01 BEQ PRIME ;If equal declare directly as prime CMP R0,#02 ;Compare with 02 BEQ…
ARM Code: Length of carriage return terminated String
ARM Assembly Code to find the length of Carriage return terminated string This code is tested in Keil uVision 4. Basically The Carriage Return (CR) character (0x0D, r) moves the cursor to the beginning of the line without advancing to the next line. This character is used as a new…
LCD Interfacing ARM LPC2148 Embedded C
LCD Interfacing-ARM LPC2148 Introduction: This Code is specially developed for LCD on ALS ARM LPC2148 Evaluation Board. A 16*2 Alphanumeric display with backlight is provided on Evaluation Board. Mode of Operation:- LCD is interfaced using 4 bit Mode. Port Details: P0.2 to P0.7 are used for LCD interfacing. RS =…
4 bit Comparator using 2 bit Comparator Verilog Code
Verilog Code
8 Bit Booth Multiplier Verilog Code
Verilog Code module BoothMulti(X, Y, Z); input signed [7:0] X, Y; output signed [31:0] Z; reg signed [31:0] Z; reg [1:0] temp; integer i; reg E1; reg [7:0] Y1; always @ (X, Y) begin Z = 31’d0; E1 = 1’d0; …
Sequential Multiplier Verilog Code
Verilog Code Test Bench Output
How to write Assembly programs in Keil 4 in 10 Steps
How to write ARM Assembly programs in Keil 4 in 10 Steps Creating an Assembly project in Keil 1. Open the Keil IDE by clicking on its icon on the desktop. 2. Choose New uVision Project from the Project menu. …