Why Crystal is used along with Microcontrollers ?
PNParticipant
Hi, how can i extend number of I/O pins of a PIC Microcontroller?
Hi
I’ve an interest for the Voltmeter and Ammeter using Pic microcontroller posted on your site.
However, I miss some information before ordering parts:
What is the crystal speed?
Is all resistors are 1 watt or more?
And I suppose that the tolerance should be as less as possible, isn’t it?
Thanks for your answer
SLy
Hi Sir, I am new to the world of microcontrollers. I am trying to use the pulse width modulation unit of PIC 16f877a. As I know, the timer2 module is used generally with the oscillator clock devided by 4. Therefore, in the formula of PWM period there is the term ‘4’ .But why there is no ‘4’ in the PWM duty cycle calculation formula?
You can transmit 4 bits of binary data wirelessly using HT12E and HT12D. Connect the data lines from the sensing section that you want to transmit to DATA LINES of HT12E and connect the received data lines (DATA LINES of HT12D) to the microcontroller.
I am fully confused Will you help me to connect HT12E/D and ASK RF Module to AT89C51. I am asking which pin to which?
in the circuit using “PIC Microcontroller” the water tank is grounded(-) and in “AT89C51” circuit VCC(+) is connected to water tank.
I got initial idea from EFY that is.
http://www.electronicsforu.com/electronicsforu/circuitarchives/view_article.asp?sno=480#
And
https://electrosome.com/water-level-indicator-controller-pic/
I am asking this because I previously made the 1st circuit and now I think to make it wireless.
I want to combine both that is make the 1st one workig wireless. How can I do this ? Anybody help me please I am new to all these microcontroller stuffs
Thanks
Then you should write your own ADC Codes.
Try the following link, it uses PIC 16F877A and Hi-Tech C.
Using ADC with PIC Microcontroller with Hi-Tech C
Try it yourself.. it is simple…
When sending data from PC to PIC.. send it byte by byte…… If you need to send a sentence…
just transmit and receive byte by byte… and you can use a terminator (eg: ‘.’ for the end of a sentence) to know the end of a sentence….
PIC Microcontroller also has interrupt feature… you may use it, to reducing the continuous uart reading load ….
I also experienced this problem, while using uart and wifi module… I think this problem is due to less buffering space in pic microcontroller…there is only one RSR register for saving the received data…. So if the received data is not read, no data will be received further…
So try transmitting byte by byte..
Can any one pls help me to modify the code “Multiplexing of Seven Segment Displays with PIC Microcontroller” with three buttons to display a 3 digit number to display stable. button are UP, DOWN, SET/STORE. PLs help me.
thanks
uthman
8 Bit mode and 4 bit mode differs in how data is send to LCD.
In 8 Bit Mode, character data (8 bit ASCII) and LCD commands are send through data lines D0 – D7 of the LCD. Enable Pin (E) of the LCD is used to provide data strobe…
But 4 Bit Mode uses only 4 data lines D4 – D7. In this the 8 bit data and commands are divided into two parts and sent sequentially through the 4 data lines.
The idea of 4 bit mode is introduced to save pins of microcontroller (serial communication LCD saves more pins). 4 bit mode interfaced lcd will be a bit slower than 8 bit mode. But this speed difference is not significant as LCDs are slow speed devices.
Due to these reasons 4 bit mode is commonly used…