web analytics

Single layer perceptron learning algorithm program w/ flowchart & Code in C++

single-layer-perceptron-learning-algorithm-featured

Single layer perceptron is the first proposed neural model created. The content of the local memory of the neuron consists of a vector of weights. The computation of a single layer perceptron is performed over the calculation of sum of the input vector each with the value multiplied by corresponding element of vector of the weights. The value which is displayed in the output will be the input of an activation function.

Read more

How can we interface the microprocessor with analog world? Explain with necessary figure.

Interfacing the Microprocessor with Analog World: As computer used digital binary values whereas we have physical variables, a step by step process is used to convert the physical variable to binary data and again to physical variable. The figure is given below,             (i) Transducer: A transducer is a device that … Read more

How can you control LEDs using microprocessor via 82C55A PPI? Draw the interface diagram & write the necessary assembly codes.

Controlling LEDs Using Microprocessor VIA 82C55A: Using the 82C55A, we can control LED lights. We can use the pins of one port to connect with one leg of the LEDs and pins of another port to connect rest of the legs. Then we can program the 82C55A to control the LEDs. It can be done … Read more

What are the purpose of using command byte A and command byte B on 82C55A? Explain with suitable example.

Purpose of Using Command Byte A: Command byte A is used select modes, working functions of the ports. So the importance of using command byte A is that we can define on which mode it will be working on and which port will be used for which function such as input or output. For example, … Read more

Draw the pin-out diagram of 82C55A PPI. How many modes you can select on 82C55A PPI? Explain.

Pin-Out Diagram of 82C55A: I/O Ports: It has three I/O ports, A, B and C. Each of these has 8 pins.             CS : This is used to select the 82C55A for programming and reading or writing.             A0 & A1: Register selection is done using the A0 and A1, which select … Read more

What is handshaking? Write a suitable example for handshaking with necessary assembly codes.

Handshaking:  Handshaking is a I/O control method to synchronize I/O devices with the microprocessor. As many I/O devices accepts or release information at a much slower rate than the microprocessor, this method is used to control the microprocessor to work with a I/O device at the I/O devices data transfer rate. Example:  Supposing that we … Read more