octane-link
Nov 15, 2007, 08:30 PM
Hi everyone:
I am using a PIC18F452 to gather some air data and transmit it to a ground station in real-time (where it is stored).
For altitude, of greater interest to me, is AGL altitude. I am using a Freescale pressure sensor (not sure of the exact one), with a 0-5V output. I am going to use an op-amp to get a range of 0-50V, then use an offset on the inverting input so that I am looking a 5V window in that range. This will give me roughly 1 km of altitude to examine at a 1 m resolution with a 10 bit ADC.
What I want to know, is how should I do this so that I am reading 0 m on the ground? I want my range to be -100 to 900 m (for sensor noise). I was planning on using successive approximation to get 1V on the ground, but this doesn't give me the correct direction for voltage (it goes down as altitude goes up).
I was thinking about a 4V output for ground level, but I am not sure, and need some thoughts.
I am also not sure, would I need a gain circuit on both inputs or just the sensor input to the op-amp?
Thanks!
I am using a PIC18F452 to gather some air data and transmit it to a ground station in real-time (where it is stored).
For altitude, of greater interest to me, is AGL altitude. I am using a Freescale pressure sensor (not sure of the exact one), with a 0-5V output. I am going to use an op-amp to get a range of 0-50V, then use an offset on the inverting input so that I am looking a 5V window in that range. This will give me roughly 1 km of altitude to examine at a 1 m resolution with a 10 bit ADC.
What I want to know, is how should I do this so that I am reading 0 m on the ground? I want my range to be -100 to 900 m (for sensor noise). I was planning on using successive approximation to get 1V on the ground, but this doesn't give me the correct direction for voltage (it goes down as altitude goes up).
I was thinking about a 4V output for ground level, but I am not sure, and need some thoughts.
I am also not sure, would I need a gain circuit on both inputs or just the sensor input to the op-amp?
Thanks!