_alioth_
04-26-2017, 07:53 AM
As I said in other threads Im working in full panel to use with prepar3d A2A Comanche.
I have a simulator altimeter (from an old ast300) easy to interface.
I made some test in this video:
https://www.youtube.com/watch?v=QPLSP0p9l8o
The problem is it only goes to 10.000ft.
You dont usually fly higher than 10000 in a piper comanche, but you can do it.
I was looking for a servoed altimeter because It would be much easy to interface, but I havenīt found anyone that matches a Comanche cockpit.
I have purchased a real bendix encoder altimeter to trying to make a conversion.
http://www.mycockpit.org/forums/attachment.php?attachmentid=12275&stc=1
This bendix is a pressure altimeter. 0-35.000ft (enough for a comanche :mrgreen:)
It has encoder, so, it sends the altitude data to the transponder.
This is a good thing, because I can use this wires to connect it.
The baro knob rotate the whole inner mechanism and those wires exit through a spiral.
You can interface in some ways:
-Pressure pump. You need very precise pump and sensors. And a microcontroller with at least 12bits resolution.
35.000 / 4096 (12 bits) = 9 feet error in a perfect world. It is good enough. My arduino mega only has 10bits:
35.000 / 1024 = 34 feet. Mmm... not good enough.
-Stepper motor and hall sensors.
-Make the same mechanism the servoed altimeter usually have. Dc motor/ stepper motor, and two resolvers, one for coarse tune, and one for fine tunning.
I have choosen the third path, with a multipot (10 turns) to coarse tunning, and an absolute encoder to fine tunning.
So, with pot I move the needle near the actual altitude (+-200 feet), and then I use the absolute encoder to match my needle angle with the altitude needle angle. The precision in this way depends on the encoder. Im using 1024 positions per turn. So the theorical precision is 1000 feet / 1024 steps = 0,98 ft. Super precision!! This is theory...
lets go!
some 3d print to make the gears mechanism:
http://www.mycockpit.org/forums/attachment.php?attachmentid=12276&stc=1
10 turn pot, dc motor, and absolute encoder:
http://www.mycockpit.org/forums/attachment.php?attachmentid=12277&stc=1
http://www.mycockpit.org/forums/attachment.php?attachmentid=12278&stc=1
To be continued...
I have a simulator altimeter (from an old ast300) easy to interface.
I made some test in this video:
https://www.youtube.com/watch?v=QPLSP0p9l8o
The problem is it only goes to 10.000ft.
You dont usually fly higher than 10000 in a piper comanche, but you can do it.
I was looking for a servoed altimeter because It would be much easy to interface, but I havenīt found anyone that matches a Comanche cockpit.
I have purchased a real bendix encoder altimeter to trying to make a conversion.
http://www.mycockpit.org/forums/attachment.php?attachmentid=12275&stc=1
This bendix is a pressure altimeter. 0-35.000ft (enough for a comanche :mrgreen:)
It has encoder, so, it sends the altitude data to the transponder.
This is a good thing, because I can use this wires to connect it.
The baro knob rotate the whole inner mechanism and those wires exit through a spiral.
You can interface in some ways:
-Pressure pump. You need very precise pump and sensors. And a microcontroller with at least 12bits resolution.
35.000 / 4096 (12 bits) = 9 feet error in a perfect world. It is good enough. My arduino mega only has 10bits:
35.000 / 1024 = 34 feet. Mmm... not good enough.
-Stepper motor and hall sensors.
-Make the same mechanism the servoed altimeter usually have. Dc motor/ stepper motor, and two resolvers, one for coarse tune, and one for fine tunning.
I have choosen the third path, with a multipot (10 turns) to coarse tunning, and an absolute encoder to fine tunning.
So, with pot I move the needle near the actual altitude (+-200 feet), and then I use the absolute encoder to match my needle angle with the altitude needle angle. The precision in this way depends on the encoder. Im using 1024 positions per turn. So the theorical precision is 1000 feet / 1024 steps = 0,98 ft. Super precision!! This is theory...
lets go!
some 3d print to make the gears mechanism:
http://www.mycockpit.org/forums/attachment.php?attachmentid=12276&stc=1
10 turn pot, dc motor, and absolute encoder:
http://www.mycockpit.org/forums/attachment.php?attachmentid=12277&stc=1
http://www.mycockpit.org/forums/attachment.php?attachmentid=12278&stc=1
To be continued...