LCD INTERFACE WITH 8051
PWM PIC16F877A OSCILOSCOPE CIRCUIT DIAGRAM
HOW TO USE THE PWM OF PIC 16F877A A COMPLERE CIRCUIT DIAGRAM AND CODE WRITTEN IN BASIC
lcd and Microcontoller
LCD INTERFACE IN 8BIT AND 4-BIT MODE WITH PIC MICROCONTROLLERS
THE GRAPHIC LCD
THE GRAPHIC LCD INTERFACE WITH MICROCONTROLLER PIC16F877 AND ITS EXAMPLE CODE AND A COMPLETE SOLUTION
OSCILLOPSCOPE USED IN PWM PROJECT WHERE TWO CHANNEL PWM FROM PIC16F877 IS SHOWN
SECOND MMD PROJECT LED moving message diaply using PIC16f628 CD4017 and 74LS595 Introduction of MMD Project-2:- The PIC microcontroller...
The LM35 series are precision integrated-circuit temperature sensors, whose output voltage is linearly proportional to the Celsius (Centigra...
MikroC gives us a very simple PWM library with 4 functions shown below: Pwm_Init() Pwm_Change_Duty() Pwm_Start() Pwm_Stop() The expalan...
Industrial and control application/may require automation of the process such as temperature, pressure, liquid flow, etc., in order to minim...
Introduction: PC based Temperature data logging is a series of posts, in which we will tell a beginner to make all by itself. tools: Foll...
Multiplexed LED Display 4-digit Interfacing with PIC micro-controller 16F877A. The heart of this project is PIC microcontroller PIC16f877a....
PIC 16f877 based Rotation Per Minute (RPM) Meter Development:- In this Project we will develop a RPM meter using PIC microcontroller PIC ...
Practical example of the use of soft-uart using PIC microcontroller: The serial port of a PC (e.g., COM1) is connected to a PIC18F452 micr...
Tutorial of PIC16f877A programming: How to write a code for PIC microcontrollers ? If above question is in your mind then this Tutorial w...
These tutorials demonstrate how to use a multiplexed 7 segment LED displays. The digit of a seven segment display basically contains seven L...
- ▼ July (5)
- ► 2011 (30)
I am free lancer to design electronic circuits and programming or coding of microcontroller or microprocessor based projects. Interested people can contact me. Student and learner can also contact for help in their projects. Please write your questions in comment section or directly e-mail to me. My e-mail address is :
Wednesday, July 7, 2010
The Usart_Init function initializes the hardware USART with the specified baud rate.
This function should be called first, before any other USART functions. The only
parameter required by this function is the baud rate. The following example call sets the
baud rate to 9600:
The Usart_Data_Ready function can be called to check whether or not a data byte has
been received by the USART. The function returns a 1 if data has been received and a
0 if no data has been received. The function has no parameters. The following code
checks if a data byte has been received or not:
The Usart_Read function is called to read a data byte from the USART. If data has not been
received, a 0 is returned. Note that reading data from the USART is nonblocking (i.e., thefunction always returnswhether or not theUSART has received a data byte). TheUsart_Read
function should be called after calling the function Usart_Data_Ready to make sure that data
is available at the USART. Usart_Read has no parameters. In the following example,USART
is checked and if a data byte has been received it is copied to variable MyData:
if(Usart_Data_Read( )) MyData = Usart_Read();
The Usart_Write function sends a data byte to the USART, and thus a serial data is sent
out of the USART. The data byte to be sent must be supplied as a parameter to the
function. In the following example, character “A” is sent to the USART:
char Temp = ‘A’;
The following example illustrates how the hardware USART functions can be used in a
- ► 2011 (30)
- ▼ July (5)