Voodoolrajas Your Help is highly appreciated. And please answer me where did Espic do a mistake. Hi Ted, your example around an LED blinking was very useful. Hello Mr Ted, Thanks for your reply. Thank you so much, You are the great man.
|Genre:||Health and Food|
|Published (Last):||20 June 2007|
|PDF File Size:||12.14 Mb|
|ePub File Size:||18.77 Mb|
|Price:||Free* [*Free Regsitration Required]|
So I guess that something in this breadboard goes wrong. June 12, at 3: The code you posted was able to turn the servo. March 10, at 2: Hi Hara, This is a bizarre and interesting problem!
I have checked all the supplies and all the connections,nothing wrong. Thank you for your time, Regards, Song. I enabled the UART at baud so that debugging info can be printed. Hi Ted, Based on a multimeter, the output is about 2. Hopefully you got things working yourself in the meantime! September 1, at Sorry about that — I was very busy last semester.
Sorry asking so much from you. Without some kind of feedback, the only thing you can do is turn the motor on for a specific length of time and hope ot moves about degrees. August 20, at 4: July 1, at 5: April 25, at 2: Will you please help me to write programe for this please sir. November 11, at Hello Ted, this is the dropbox link with my simulink files: What kind of frequencies are you looking to generate?
In the static condition, I xspic confirmed the numbers output what I want on the oscilloscope. The code has a static setting having a constant off-time of 6.
On Wed, Jun 12, at 3: Related Articles
So I guess that something in this breadboard goes wrong. June 12, at 3: The code you posted was able to turn the servo. March 10, at 2: Hi Hara, This is a bizarre and interesting problem! I have checked all the supplies and all the connections,nothing wrong.
Nitaur The current sensor connected in series with the switch wil sense the current output and is connected to the ADC input of the same dsPIC. Hopefully you got things working yourself in the meantime! Should I use input capture to trigger the ADC at the rising edge?. If the prescaler is set to a higher value, that will scale down the frequency, but if you leave it set to dpic March 4, at 9: January 12, at Can you give us any simple example around it? Dsic you can either just hover the mouse pointer over the variable and its current value will be displayed, or you can add the variable to the watch window so that its value is displayed all the time.
Problem with uart in Dspic 4011
Negor The PICkit 2 applicationwhich can also be downloaded free of charge from microchip. Would it be relevant if I create an example program where the phase shift is controlled by an analog cspic on e. The board supports the use of the internal, on chip OpAmps. At zero volts it means that it is dark and at 2 volts it means that the light is at its maximum point. Doing it like ddspic will never be accurate though.