Here I have described how to connect a 16 by 2 LCD display to a microcontroller. Here I have demostrated it with very common pic 16F877A. This is the circuit diagram. Here I haven`t showed the power supply and oscillator connection for pic and LCD. LCD normally have 16 pins. If you carefully observed you can see number 1 or 16 have printed near th
Click here to download the full size of the above Circuit.
e related pin. First let`s start with power. LCD display mainly two 5V DC power supplies. Main power supply should connect to VSS and VDD pins. Other power supply is for turn on backlight. Those pins are pin 15 and 16. They haven`t been shown in the figure. Backlight power supply is not necessary if we are not going to work in a dark environment. Ok now power supply is done. VEE pin should supply 5Vs through a preset(Variable resistor). By adjusting preset we can change the supply power to the VEE pin. It controls the brightness of the displayed text. If you are not connected this supply some times you may not see text on LCD. D4 to D7 are data pins. We only need 4 pins from them at this stage(D0 to D3). RS, E and D0 to D3 pins should be connected to the earth. Select any port(Eg. PORTB, PORTC whatever) from microcontroller. Connect pins shown in the figure to any pin as you want on that port. Connection dont`t want to be same as the figure. You can use any configuration. We can use microC pro code to initialize microcontroller pins for LCD pins.
This project fits more for custom made battery casing that can have more space to hide things inside. This switch with few alterations can be used for any other project as well but is designed based on e-bike needs! This project use a clever functionality of....
The circuit described here uses ultrasonic oscillations and operates based on the propagation velocity of these oscillations in the air. Thus, we can easily determine the distance of two points if the time within which the wave travels this distance is....
Sometimes the precious metals are hidden too deep and are not detected except with complicated devices. In many cases, however, small pieces of precious metal buried near the surface can be detected by relatively simple means. Everyone is very attractive to....
Many times for various reasons we forget or can not water the plants that we have in our homes. And many humidity sensors units just notify us with a beeping sound or with a flashing light, that the pot needs watering. But what if we are away from home? This....
The principle behind a metal detector is really very simple. Proof of this is the circuit that follows, in which it proves that the construction of a metal detector can be done in the minute, with few components that we find very easily everywhere. With the....
The sub-harmonic bass generator is a sound producing unit for guitars. The sound it produces looks very much like that of the bass guitar. The octave generator is sometimes quite unusual since it does not produce any of the usual ways of coloring the sound,....
In the past the sounding (sea bottom measurement) was done with the "bullet", that is, with a heavy lead object that the seamen plucked into the sea hung from a calibrated rope. As soon as the "bullet" reached the bottom, the depth appeared directly from the....
This Amplifier was designed to have the following specifications: Distortion less than 0.1% at full power of 100W even at 20KHz. Power has to be attributed to an extended bandwidth. The output transistors must be protected against short circuits. The power....
A series of LEDs serve to alert the gardener when plants need water. Using two conventional digital integrated LEDs and a series of LEDs, we make a very useful device for gardening. The device detects the amount of water in the pot and alerts the grower.....
characters left: