Skip to main content

Posts

Showing posts from March, 2022

Time Delays in 8051 C

 Time Delays in 8051 C Micro controller / electric engineering. We can create time delay in 8051 C by two ways: Using for loop statement . Using the 8051 timers We cannot get the exact delays using simple for loops because of following reasons: 1. The instruction execution speed varies according to the number of clock periods per machine cycle. The different variants of 8051 microcontroller use different clock periods per machine cycle. 2. The crystal frequency connected to the X₁-X₂ input pins. The duration of the clock period for the machine cycle is a function of this crystal frequency. 3. In case of C programs, it is the C compiler that converts the C statements and functions to assembly language instructions. As a result different compilers produce different code and hence instructions executed in a loop may vary with different compilers.

Basic Logic Gates / and gate , or gate and many more gate

  Basic Logic Gates Logic gates are an important concept if you are studying electronics. These are important digital devices that are mainly based on the Boolean function. Logic gates are used to carry out logical operations on single or multiple binary inputs and give one binary output. In simple terms, logic gates are the electronic circuits in a digital system. In this lesson, we will further look at the different types of basic logic gates with their truth table and understand what each one is designed for. Table of Content Types of Basic Logic Gates Application Of Logic Gates De Morgan’s Theorem Important Conversions Types of Basic Logic Gates There are several basic logic gates used in performing operations in digital systems. The common ones are; OR Gate AND Gate NOT Gate XOR Gate Additionally, these gates can also be found in a combination of one or two. Therefore we get other gates such as NAND Gate, NOR Gate, EXOR Gate, EXNOR Gate. Also Read:   Transistor OR Gate I ...