Found 401 Articles for Microcontroller

Differences Between a PLC and an RTU

Md. Sajid
Updated on 17-Jan-2023 11:48:23
You may have heard of Programmable Logic Controllers (PLCs) and Remote Terminal Units (RTUs), but what do these devices actually do? And more importantly, which one do you need for your business? PLCs are used to control machines by reading input signals and executing pre-determined programs in order to achieve a specific output. RTUs, on the other hand, are used to collect data from machines and send it back to a central location for analysis. Depending on your needs and level of complexity, there is an automation device that can provide you with complete control over your operations while keeping ... Read More

Differences between 8086 and 8088 microprocessors

Kiran Kumar Panigrahi
Updated on 01-Dec-2022 07:45:19
A microprocessor can be defined as an electronic component of a computer system that executes the instructions to perform tasks involved in computer processing. It is the most fundamental unit of computer that executes all the functions of a CPU. Till date, several types of microprocessors have been developed. But in this article, we will learn about the two earliest microprocessors, namely, 8086 and 8088 microprocessors. Both 8086 and 8088 microprocessors are widely used in embedded systems due to their various important and unique features. This articles is primarily meant for explaining the major differences between 8086 and 8088 microprocessors. ... Read More

Data memory structure of 8051 Microcontroller

Arnab Chakraborty
Updated on 09-Oct-2019 08:19:57
Here we will see the data memory structures of 8051 microcontroller. The internal data memory of 8051 is divided into two groups. These are a set of eight registers, and a scratch pad memory. These eight registers are R0 to R7. The address range 00H to 07H is used to access the registers, and the rest are scratch pad memory.8051 Provides four register bank, but only one register bank can be used at any point of time. To select the register bank, two bits of PSW (Program Status Word) are used.So the following addressing can be used to select register ... Read More

Address registers of 8257 chip

Arnab Chakraborty
Updated on 09-Oct-2019 08:15:54
Here we will see the address registers of 8257 chip.Every DMA channel consists an address register and a count register. These registers are 16-bits wide in length. In each 16 bits there are four ARs marked as AR3-0. Apart from four CRs there are control and status registers also. They are separate 8-bit registers, but have the same address. Here the processor can only write in the control register but we can read in the status register.We can select any one of the above registers by the address of the four pins marked as A3-0 of 8257. The processor used here ... Read More

RAM Addressing of 8051 Microprocessor

Arnab Chakraborty
Updated on 06-Jul-2020 09:27:15
In this section we will see how external RAM memories can be addressed by the Intel 8051 microcontroller. There are different methods for addressing the RAMs. Now at first we will discuss about some different types of RAM memories in short.The RAM (Random Access Memory) is volatile memory. So when the power is cutting off to the RAM chip, it losses the data. RAMs are also known as RAWM (Read and Write Memory). There are basically three kinds of RAMs. These are SRAM (Static RAM), NV-RAM (Non-Volatile RAM) and DRAM (Dynamic RAM).Static RAMThe storage cell in Static RAM are made ... Read More

Program to Divide two 8 Bit numbers in 8051 Microprocessor

Arnab Chakraborty
Updated on 09-Oct-2019 08:01:21
Here we will see the division operation. This operation will be used to divide two 8-bit numbers using this 8051 microcontroller. The register A and B will be used in this operation. No other registers can be used for division. The result of the division has two parts. The quotient part and the remainder part. Register A will hold Quotient, and register B will hold Remainder.We are taking two number 0EH and 03H at location 20H and 21H, After dividing the result will be stored at location 30H and 31H.AddressValue …20H0EH21H03H …30H00H31H00H …Program      MOV R0, #20H ; set source address 20H ... Read More

Program to Multiply two 8 Bit numbers in 8051 Microprocessor

Arnab Chakraborty
Updated on 09-Oct-2019 07:59:02
Here we will see how to multiply two 8-bit numbers using this 8051 microcontroller. The register A and B will be used for multiplication. No other registers can be used for multiplication. The result of the multiplication may exceed the 8-bit size. So the higher order byte is stored at register B, and lower order byte will be in the Accumulator A after multiplication.We are taking two number FFH and FFH at location 20H and 21H, After multiplying the result will be stored at location 30H and 31H.AddressValue …20HFFH21HFFH …30H00H31H00H …Program      MOV R0, #20H ; set source address 20H to R0 ... Read More

Program to Subtract two 8 Bit numbers in 8051 Microprocessor

Arnab Chakraborty
Updated on 09-Oct-2019 07:57:00
Now, in this section we will see how to subtract two 8-bit numbers using 8051 microcontroller. The register A (Accumulator) is used as one operand in the operations. There are seven registers R0 – R7 in different register banks. We can use any of them as second operand.We are taking two number 73H and BDH at location 20H and 21H, After subtracting the result will be stored at location 30H and 31H.AddressValue …20H73H21HBDH …30H00H31H00H …Program      MOV R0, #20H ; set source address 20H to R0       MOV R1, #30H ; set destination address 30H to R1       ... Read More

Program to Divide two 8 Bit numbers in 8085 Microprocessor

Arnab Chakraborty
Updated on 09-Oct-2019 07:49:58
Here we will see 8085 program. This program will divide two 8-bit numbers using 8085 microprocessor.Problem Statement −Write an 8085 Assembly language program to divide two 8-bit numbers and store the result at locations 8020H and 8021H.Discussion −The 8085 has no division operation. To get the result of division, we should use the repetitive subtraction method.By using this program, we will get the quotient and the remainder. 8020H will hold the quotient, and 8021H will hold remainder.We are saving the data at location 8000H and 8001H. The result is storing at location 8050H and 8051H.InputThe Dividend: 0EHThe Divisor 04HThe Quotient will be ... Read More

Program to Subtract two 8 Bit numbers in 8085 Microprocessor

Arnab Chakraborty
Updated on 09-Oct-2019 07:47:46
Here we will see one 8085 program. In this program we will see how to subtract two 8-bit numbers.Problem Statement −Write an 8085 Assembly language program to subtract two 8-bit numbers and store the result at locations 8050H and 8051H.Discussion −In 8085, the SUB instruction is used 2’s complemented method for subtraction. When the first operand is larger, the result will be positive. It will not enable the carry flag after completing the subtraction. When the result is negative, then the result will be in 2’s complemented form and carry flag will be enabled.We are using two numbers at location 8000H and ... Read More
1 2 3 4 5 6 7 ... 41 Next
Advertisements