sine wave inverter (modified tahmid mikro C 16f877 to 16f72) problem in: feedback


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Sep 2013
    Location
    Dhaka, Bangladesh
    Posts
    20


    Did you find this post helpful? Yes | No

    Default Re: sine wave inverter (modified tahmid mikro C 16f877 to 16f72) problem in: feedback

    Quote Originally Posted by HenrikOlsson View Post
    Hi,

    THERE'S NO NEED TO SHOUT, WE HEAR YOU LOUD AND CLEAR!

    Think about that last statement for a while.
    When exactly do you expect FBV be equal to itself + 30? That's simply never going to evalute true because it will always compare itself to a larger value.

    In PBP bytes and words are unsigned, they can never be less then zero. So something like IF A > 0 THEN will always evalute true.
    When you do ADCIN 0, Volt the variable Volt will always be positive so FBV=FBV+Volt will keep accumulating FBV over and over and over again untill it overflows and starts over.

    Finally, in the code in your first post you have DEFINE OSE 16, that's not correct and you don't seem to do any sort of setup for the ADC, manually or with DEFINEs - check the manual.

    /Henrik.
    I am very sorry for that. But I need this project as soon as possible.

    I hope your advise is correct but unfortunately I unable to understand what you say & what you order me to change in my code. If you give me the correct code then I will very happy.
    Thanks.
    Last edited by Antorbd04; - 31st March 2014 at 11:59.

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: sine wave inverter (modified tahmid mikro C 16f877 to 16f72) problem in: feedback

    I see that you have started a new thread. Looking for more code giveaways? Once again your statement:
    "I hope your advise is correct but unfortunately I unable to understand what you say & what you order me to change in my code. If you give me the correct code then I will very happy." sounds like you know nothing about the project you are trying to re-create. It also sounds like you want everybody to drop everything they are doing to write your code for you when you say:
    "I am very sorry for that. But I need this project as soon as possible" Maybe you should have been studying the language and the project before the last minute.

    Just my 2 cents.....
    Dave Purola,
    N8NTA
    EN82fn

Similar Threads

  1. Sine wave power inverter
    By sougata in forum mel PIC BASIC Pro
    Replies: 244
    Last Post: - 23rd February 2017, 05:16
  2. sine wave inverter
    By BADAL123 in forum Off Topic
    Replies: 0
    Last Post: - 7th January 2014, 13:20
  3. square wave inverter with pic 16f72
    By Rupesh in forum mel PIC BASIC
    Replies: 0
    Last Post: - 25th December 2011, 17:42
  4. Low pass filter help - pure sine wave inverter
    By George in forum Off Topic
    Replies: 1
    Last Post: - 9th April 2011, 05:24
  5. sine inverter
    By anybisi in forum General
    Replies: 0
    Last Post: - 21st March 2008, 11:08

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts