Forum Replies Created
-
AuthorPosts
-
Ligo GeorgeKeymaster
The link that I provided you is what you need. You need to enable interrupts to generate Software PWM. That microchip application note clearly describes how to generate software pwm. You can easily insert delay in software pwm.
Ligo GeorgeKeymasterYou can do it by using interrupts. The following Microchip application note will give you the idea.
http://ww1.microchip.com/downloads/en/AppNotes/00843a.pdf
Ligo GeorgeKeymasterIt is because you are using demo version.
Proteus is not a free software. You can buy Proteus from Labcenter Electronics.
Ligo GeorgeKeymasterIt seems like you are using a cracked / pirated version of proteus. It might be the problem. Please contact Labcenter Electronics support if you are using orginal version.
You may try following steps too.
- Try running Proteus as administrator. Right Click >> Run as Administrator
- Try reinstalling Proteus.
Ligo GeorgeKeymasterI can’t find any problems in the program.
Ligo GeorgeKeymasterIt should work without any problems.
Actually what are the problems that you are facing now ?
Ligo GeorgeKeymasterBIT RATE as the name indicates, it is the number of bits ( binary 0’s or 1’s ) transmitted per second. Its value is expressed in terms of bits per second or bps. It indicates the speed of data transmission.
For eg. if the bit rate is 9600bps, it implies that 9600 bits ( binary 0’s or 1’s ) are transmitted per second.
While BAUD RATE is the number of signal or symbol changes that occur per second, ie number of transitions per second.
In the case of UART, binary 1 is indicated by a HIGH pulse while binary 0 is indicated by a LOW pulse. So the bit rate and baud rate are same in the case of UART communication.
But in some systems, binary 1 may be indicated by a LOW to HIGH transition and binary 0 by HIGH to LOW transition. In such cases baud rate will be higher than that of bit rate.
Ligo GeorgeKeymasterI guess that you are referring to my article, Digital Clock using PIC Microcontroller.
As that project using MikroC compiler, it should work without any changes in the program. But you should change the microcontroller in the MikroC project setting and REBUILD the project.
Ligo GeorgeKeymasterSorry, I don’t understand your question. What do you meant by print out ?
Ligo GeorgeKeymasterYou can’t do it by simple shifting. I think you need a scanning algorithm for that. You can scan ( making it ON, depending on the required brightness ) each LED one by one fastly ( faster than our eyes can recognize ).
I hope that you can use the built in PWM module for that.
Ligo GeorgeKeymasterYou are always welcome. Thanks for the feedback.
Ligo GeorgeKeymasterHi,
You can’t use parameter 0.09996 in that function. The parameter duty can be any value ranging from 0 to 1023 corresponding to 0 to 100% duty cycle.
Please don’t post your problems in someone else’s topic, open a new topic.
Ligo GeorgeKeymasterYes, you can use ULN2803 for that. No need of additional components.
Please open a new topic for asking your doubts. Don’t post it on others topic.
Ligo GeorgeKeymasterThen connect a pull up resistor as a load. Connect one terminal of the resistor to positive and other terminal to black. And the same black terminal can be taken as output.
Ligo GeorgeKeymasterSorry, I can’t find any other problems.
-
AuthorPosts