Found 409 Articles for Microcontroller

Rotation of stepper motor in forward and reverse directions

Arjun Thakur
Updated on 30-Jul-2019 22:30:25

2K+ Views

Let us consider ALS-NIFC-01, which is a stepper motor interface. Using 26-core flat cable, it is connected to ALS kit. It will be used for interfacing two stepper motors. In our current experiment, we use only one stepper motor. The motor has a step size of 1.8°. The stepper motor works on a power supply of +12V. Power supply of +5V (white wire), GND (black), and +12V (red) is provided to the interface. Note that -12V supply is not used by the interface. We shall have to make sure that the +12V supply has adequate current rating to drive the ... Read More

Generation of triangular wave using DAC interface

Chandu yadav
Updated on 30-Jul-2019 22:30:25

5K+ Views

We write an 8085 assembly language program for the generation of triangular waveform using the Digital to Analog Converter (DAC) interface. The display of the waveform is seen on the CRO.Let us consider a problem solution in this domain. The problem states that: To get unipolar output, J1 is shorted to J2 on the interface. To display the waveform on a CRO, connect pin 1 of connector P1 to CRO signal pin, and pin 2 of connector P1 to CRO ground pin.Program; FILE NAME DAC_TO_TRIANG.ASM ORG C100H X DW 00FFH ; the fall of rise and time I proportional directly to ... Read More

Generation of rectangular wave using DAC interface

Ankith Reddy
Updated on 30-Jul-2019 22:30:25

494 Views

We write a program for the generation of rectangular interface of Digital to Analog Converter (DAC) interference: Let us consider a problem solution in this domain. The problem states that: To get unipolar output, J1 is shorted to J2 on the interface. To display the waveform on a CRO connect pin 1 of connector P1 to CRO signal pin, and pin 2 of connector P1 to CRO ground pin.The program is stated as below.; FILE NAME DAC_TO_RECT.ASM ORG C100H X DW 00FFH ; ‘OFF’ time is proportional to this value Y DW 00C0H ; ‘ON’ time is proportional to this value ... Read More

Successive approximation ADC interface

Arjun Thakur
Updated on 30-Jul-2019 22:30:25

362 Views

The Model ALS-NIFC-07 which on approximating successfully ADC is clearly described in this topic. It consists of a programmable timer interface which connects to the kit of ALS-SDA-85M by using a flat cable of 26 crores. The connector C1 gets connected to the interface by the Input Output connector P3 in the kit for the ALS, which is implemented on a flat cable. The power supply of +12V, -12V, +5V, and GND gets connected to the interface. The circuit description is shown below –C1 is connected to connector P3 (or P4) on ALS kit, for ADC interface purposeC2 is connected ... Read More

Simulation of 8 to 1 multiplexer

Chandu yadav
Updated on 30-Jul-2019 22:30:25

594 Views

We shall write a program in assembly language just for the simulation of a multiplexer 8 to 1 which is used by the logic controller interface.The pins of the 8 to 1 multiplexer to be simulated are assumed to be as shown in the fig.For this multiplexer simulation, 8255 ports as indicated in the following provide the inputs and outputs.Port B used as I7-0 inputs;Pin 7 of Port C used as chip select;Pins 6-4 of Port C used as select inputs;Pin 0 of Port A used as output of multiplexer.Sample CodeFILE NAME Prog_MUX.ASM ORG C100H TABLE DB 01H, 02H, 04H, 08H, ... Read More

Simulation of 4-bit ALU

Ankith Reddy
Updated on 30-Jul-2019 22:30:25

1K+ Views

Moreover, we write an assembly program in 8085 assembly language just to simulate a 4-bit ALU by using an interface which is based on the logic controller. The Arithmetic Logical Unit always performs an addition, subtraction, AND operation, or OR operation, which is based on the 4-bit inputs for the desired operations to be performed.For the simulation of the Arithmetic Logical Unit all the terminal inputs and outputs are provided by the ports of 8255 as it is indicated in the figure below.The Pins ranging from 7-4 in the Port B are used as the inputs of X3-0;The pins ranging ... Read More

Evaluation of Boolean expression

George John
Updated on 30-Jul-2019 22:30:25

281 Views

We write a program in 8085 in the assembly language just for the evaluation of only wo Boolean expressions of 4 variables by using the interface of logic controller. The output of the program should be logically tested automatically by the output by the input changing from the inputs from 0000, 0001, … to 1111 just to press any key.Let us say we want to evaluate the following Boolean expressions.First of all, truth table for the Boolean expressions is written down as shown in the following table.PQRSXY000010000100001010001100010010010100011010011100100001100101101010101100110000110111111000111100The inputs of the PQRS gets connected to PB3, PB2, PB1, and PB0 of ... Read More

Decimal counter using logic controller

Arjun Thakur
Updated on 30-Jul-2019 22:30:25

194 Views

We write a program in the 8085 which is written in assembly language just for the implementation of a decimal counter which is used by the logic controller interface. The input of the starting count must be the input through the complete interface and moreover we display the count on the interface.Let us consider a sample program on this –The program which follows it should always contain an infinite loop until the inputs of the user contains a valid value of two-digit Binary Coded Decimal value just only to the Port B. After that the initial count gets displayed by ... Read More

Description of logic controller interface

Chandu yadav
Updated on 30-Jul-2019 22:30:25

232 Views

We use a logic controller and it is used in industry for the process of control done by the software. Multiple inputs are typically accepted which performs a total complete sequence of operations carried out both arithmetic and logically. The outputs generated are used for the maintenance of the process within the specified desired limits. Visual display is provided by the state of process at any instant of time. The logic controller which interfaces and thus provides a buffered output of 12 lines and which is fed to the buffer inputs of 12 lines only specified for the user. The ... Read More

Programs Using Interface Modules

Ankith Reddy
Updated on 30-Jul-2019 22:30:25

316 Views

We use a logic controller and it is used in industry for the process of control done by the software. Multiple inputs are typically accepted which performs a total complete sequence of operations carried out both arithmetic and logically. The outputs generated are used for the maintenance of the process within the specified desired limits. Visual display is provided by the state of process at any instant of time. The logic controller which interfaces and thus provides a buffered output of 12 lines and which is fed to the buffer inputs of 12 lines only specified for the user. The ... Read More

Advertisements