Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: sangaboy; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    3,096

    ERROR IN 200QL Development Board

    Hi!
    I'm new user of 200QL Development Board

    (1) I'm using 200QL DEVELOPMENT to load my code into PIC 16f777 ,BUT when I load my hex file to PIC 16777 the board gives the following error...
  2. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Hi every one
    (1) Previous I thought that the problem of flat spot on my SPWM signal was due to the simulator(ISIS) but I was wrong because I implement it on the actual hardware using...
  3. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Hi to all
    I try to download my program from my computer(wind7)using PIC16f877 development board and ET-CAB10PIN V2 interfacing cable but WHEN I try to run winpic800 software.
    the following problems...
  4. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Hi to all
    I tried to modify the code according to Darrel Taylor and HenrikOlsson comments but the problem still exits, let me put in real hardware and see what happen.
    And here is modified code but...
  5. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    No change even if the pause 1, what I want to ask is the values in the look table greater than 255 may affect the sinwave and cause the signal to be distorted?. Can any one simulates the code and see...
  6. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Hi HenrikOlsson
    1) Can't help without seeing the values.
    Here is the values


    Wsave var byte $70system
    Wsave1 var byte $A0system
    Wsave2 var byte $120system
    Wsave3 var byte $1A0system
  7. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Hi HenrikOlsson

    Now Inderstand why stepcount1 should restart to zero.
    (1) But I have been working on the code and and modify my look up table as you told me about the first value and the last...
  8. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Thanks HenrikOlsson for your information.But this look like is not clear to me. From what I now when stepcount1 =36 for 2nd phase then stepcount1=12 so as it start to the 12thbyte again because...
  9. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Hi HenrikOlsson
    I have manage to combine the code,compile it successfully and get the correct PWM frequency(5khz) thanks for all.
    (a) As you told me early the DutyVal of PR2*4=100% that means...
  10. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Thankx HenrikOlsson
    I really appreciate your effort on this forum.

    (1) sorry I understand you explaination very well on how dutycycle relate with value of PR2. one problem is that you...
  11. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Thankx HenrikOlsson

    True the problem was due to the simulator was not working properly .Now the code is working fine and I get the correct PWM frequency(5khz) after change the ISIS vasion...
  12. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Thankx HenrikOlsson for the comments, and explaination to me

    I have been worked on this code for the whole day but still I didi not get any output. The problem I faced is I don't get any output...
  13. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Hi HenrikOlsson

    (1) Thankx. I worked on the steps you told me and I manage to control my interrupt frequency which is (50*36=1800) for this frequency the time1 will be loaded with 64980 this...
  14. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Thankx HenrikOlsson for the comments I worked on on them

    For what I know the gosub coment within subroutine takes two return. The first return will bring you back to the subroutine(TEST) and the...
  15. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Thankx it compile fine but the output is stationary. I 'm confusing why is it.I attach simulation of the output as seen from ISIS



    define OSC 4
    Wsave var byte $70system
    Wsave1 var byte ...
  16. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    thankx for the explaination about underscore I understood it very well why under score. But your statement below is not clear to me
    "As far as I can see the file is called ReEnterPBP.bas. For...
  17. Replies
    37
    Views
    15,870

    Re: ProblemwithPWMfrequency

    Hi every one

    Thanks HenrikOlsson for your coments on this code. I worked on your coments and do some monifications, here is challenge I faced
    (1) I declare my handler as PBP type when I...
  18. Replies
    37
    Views
    15,870

    ProblemwithPWMfrequency

    Hi to every one
    My aim is to generate 5kHZ SPWM so that when filtered will give sine waves(50hz). I havebeen reading different application manual and PIC16877 and Pic16f777 datashets for almost...
  19. Replies
    83
    Views
    58,689

    5KHZsinusoidalPWM

    Hi to every one
    I have worked and modify the code posted by ScaleRobotics and I manage to compile it for the PIC 16F877 and get 2 phase although my output was not very good. my aim is to generate...
  20. Thread: green arrow

    by sangaboy
    Replies
    1
    Views
    2,303

    green arrow

    Hi to all First of all I like to say thanks to all of you who have been kind to assist me in the learning of PICBasicPRO programming, this is important for me in my final year project and my feture....
  21. Replies
    83
    Views
    58,689

    Re: sinusoidal PWM

    Hi to all
    can any one help me how to write 10 bit resolution to PWM MODULE because I read pic datasheets and Ds33023 refference manual I see 10bit resolution is applicable for low frequencies. ...
  22. Replies
    83
    Views
    58,689

    Re: sinusoidal PWM

    Hi to all

    I am here again I am still working on the code I posted last 2 days. It try to work on the code but I still get the same output, as I Attach on the two days ago, when I try to put ...
  23. Replies
    83
    Views
    58,689

    Re: sinusoidal PWM

    Hi HenrikOlsson
    thankx for your coments and Idea you gave me on the code I posted last time which make my output to be some how clear. But is not quiet clear. here are some challenges I faced...
  24. Replies
    83
    Views
    58,689

    Re: sinusoidal PWM

    Hi!

    I manage to compile and modify the example from that link www.picbasic.co.uk/forum/cont...-DT-interrupts, for pic 16877. Because the pic I want to use for three phase spwm signal is (16f777)...
  25. Thread: DT INT error

    by sangaboy
    Replies
    3
    Views
    2,949

    Re: DT INT error

    Hi!

    I manage to compile and modify the example from that link www.picbasic.co.uk/forum/cont...-DT-interrupts, for pic 16877. Because the pic I want to use for three phase spwm signal is (16f777)...
Results 1 to 25 of 52
Page 1 of 3 1 2 3