Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 18th December 2006, 10:07 AM   #1
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
chandu13 is offline  
Old 18th December 2006, 10:23 AM   #2
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.
Hero999 is offline  
Old 18th December 2006, 10:40 AM   #3
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
Nigel Goodwin is offline  
Old 19th December 2006, 06:41 AM   #4
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
chandu13 is offline  
Old 19th December 2006, 09:29 AM   #5
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
sci-3d is offline  
Old 19th December 2006, 10:02 AM   #6
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.
Hero999 is offline  
Old 19th December 2006, 10:34 AM   #7
Default equation

iam using b.equation
chandu13 is offline  
Old 19th December 2006, 11:08 AM   #8
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
sci-3d is offline  
Reply

Tags
equation

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Diode equation Electronics4you General Electronics Chat 5 1st December 2006 09:53 PM
mAh equation GST_Nem General Electronics Chat 23 10th April 2006 10:42 PM
characetristic equation niga General Electronics Chat 19 6th July 2005 04:57 PM
power mosfet transfer equation bryant83 Electronic Projects Design/Ideas/Reviews 3 20th March 2004 03:40 PM
integral equation pinky Micro Controllers 3 6th January 2004 04:15 PM



All times are GMT. The time now is 01:14 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker