+ Reply to Thread
Results 1 to 8 of 8

Thread: equation

  1. #1
    chandu13 Newbie
    Join Date
    Aug 2006
    Posts
    98

    Default equation

    Hi

    How to solve the given equation

    P=10^1.667(ADC output value)-11.33

    Aim using Keil51 evolution version and 89c51 controller.

    Regards

    chandu


  2. #2
    Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent
    Join Date
    Apr 2006
    Location
    England
    Posts
    12,920

    Default

    Your equation isn't very clear.

    Do you mean?
    1. P=10^{1.667}(ADCOutputValue)-11.33
    2. P=10^{1.667(ADCOutputValue)-11.33}
    3. P=10^{1.667(ADCOutputValue)}-11.33

    I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

    Please ask on the open forum if you have a question and I'll be happy to help,
    if I know the answer.

  3. #3
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,749

    Default

    As with anything like this, you need to simplify and break it into stages. It might also be possible to simplify it a great deal.

    You really need to explain what you're trying to do!.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  4. #4
    chandu13 Newbie
    Join Date
    Aug 2006
    Posts
    98

    Default equation

    Hi

    Thanks for reply

    Aim using same equation what you are mentioned in the reply.


    Aim using Keil51 evolution version software and 89c51 controller.

    Keil51 is restricted to 2K memory only.

    Please proved tips for solving and programming the equation in keil51.

    Regards
    chandu

  5. #5
    sci-3d Newbie
    Join Date
    Aug 2006
    Posts
    59

    Default

    You should you SDCC [http://sdcc.sourceforge.net/] which is a free and opensource with no limitation of size of your code.

    I use it with MIDE-51 and Eclipse as IDE, it is also not bad for a free tools:

    To install, see

    http://mcu-programming.blogspot.com/...c-and-for.html

    http://mcu-programming.blogspot.com/...-for-sdcc.html
    Microcontroller Programming Forums:
    http://forum.mcuprogramming.com
    Answer to your questions!
    ---

    Microcontroller Programming Blog:
    http://mcu-programming.blogspot.com
    uC - News, Resources and Tutorials

  6. #6
    Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent
    Join Date
    Apr 2006
    Location
    England
    Posts
    12,920

    Default

    Quote Originally Posted by chandu13
    im using same equation what you are mentioned in the reply.
    Which one? I mentioned three, is it a, b or c?

    I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

    Please ask on the open forum if you have a question and I'll be happy to help,
    if I know the answer.

  7. #7
    chandu13 Newbie
    Join Date
    Aug 2006
    Posts
    98

    Default equation

    iam using b.equation

  8. #8
    sci-3d Newbie
    Join Date
    Aug 2006
    Posts
    59

    Default

    I think, if you work with log, it will be easier

    log(P+11.33) = 1.667*ADCOutputValue

    which is a linear equation

    y = m*x

    I think, it is depend on your application.
    Microcontroller Programming Forums:
    http://forum.mcuprogramming.com
    Answer to your questions!
    ---

    Microcontroller Programming Blog:
    http://mcu-programming.blogspot.com
    uC - News, Resources and Tutorials

+ Reply to Thread

Similar Threads

  1. Diode equation
    By Electronics4you in forum General Electronics Chat
    Replies: 5
    Latest: 1st December 2006, 08:53 PM
  2. mAh equation
    By GST_Nem in forum General Electronics Chat
    Replies: 23
    Latest: 10th April 2006, 09:42 PM
  3. characetristic equation
    By niga in forum General Electronics Chat
    Replies: 19
    Latest: 6th July 2005, 03:57 PM
  4. power mosfet transfer equation
    By bryant83 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 3
    Latest: 20th March 2004, 02:40 PM
  5. integral equation
    By pinky in forum Micro Controllers
    Replies: 3
    Latest: 6th January 2004, 03:15 PM

Tags for this Thread