C chandu13 New Member Dec 18, 2006 #1 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
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
Hero999 Banned Dec 18, 2006 #2 Your equation isn't very clear. Do you mean? [latex]P=10^{1.667}(ADCOutputValue)-11.33[/latex] [latex]P=10^{1.667(ADCOutputValue)-11.33}[/latex] [latex]P=10^{1.667(ADCOutputValue)}-11.33[/latex]
Your equation isn't very clear. Do you mean? [latex]P=10^{1.667}(ADCOutputValue)-11.33[/latex] [latex]P=10^{1.667(ADCOutputValue)-11.33}[/latex] [latex]P=10^{1.667(ADCOutputValue)}-11.33[/latex]
Nigel Goodwin Super Moderator Most Helpful Member Dec 18, 2006 #3 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!.
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!.
C chandu13 New Member Dec 18, 2006 #4 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
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
sci-3d Member Dec 19, 2006 #5 You should you SDCC [https://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 https://mcu-programming.blogspot.com/2006/09/installing-mide-51-and-sdcc-and-for.html https://mcu-programming.blogspot.com/2006/12/eclipse-for-sdcc.html
You should you SDCC [https://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 https://mcu-programming.blogspot.com/2006/09/installing-mide-51-and-sdcc-and-for.html https://mcu-programming.blogspot.com/2006/12/eclipse-for-sdcc.html
Hero999 Banned Dec 19, 2006 #6 chandu13 said: im using same equation what you are mentioned in the reply. Click to expand... Which one? I mentioned three, is it a, b or c?
chandu13 said: im using same equation what you are mentioned in the reply. Click to expand... Which one? I mentioned three, is it a, b or c?
sci-3d Member Dec 19, 2006 #8 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.
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.