-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible addition of airspeed using differential pressure sensor #10
Comments
Interesting idea. The UI is probably the easy part. You could start by creating a fork of the code and commenting out any prices you do not want. That would give you an idea of the available space for the things you want to add. To incorporate air data, you will probably need pressure sensors with the barbed connections (as you found) and can output I2C (possibly SPI). |
No need to comment anything out. Just write your own init() routine to turn on the parts you want. https://github.com/Bagarre/Pi2D2/blob/master/www/js/pollStratux.js#L50 Please keep in mind that Pi2D2 is a pet project for me to play around with the AHRS data coming out of stratux and is in NO WAY intended for us in ACTUAL flight situations...experimental or otherwise. |
Thanks for the pointers. I will have a play. Don't worry, this is meant to be an educational project for me too, and not a primary flight instrument system. I work in aviation and am well aware of the safety and airworthiness side of things. That said, I believe that once a prototype system is produced to display the basic VFR flight parameters in a suitable manner, like your Pi2D2, and tested for reliability, we could have the basis for a nice secondary instrument system for experimental aircraft. I specifically don't want to display attitude data that if in error could be potentially misleading - that is why I am only wanting to display the basic flight parameters for my project. My purpose is really to develop something I can use as a data logger for flight test of my aircraft, so that I can replay test sequences post flight. However I also want a live display of the basic parameters in flight for comparison with the primary instruments. I hope this addresses your concerns Bagarre. Anyway, I think I will start by looking at the display configuration as you suggested, using a new init() routine. Then I will separately test a diff pressure sensor with the Pi and report back. Thanks Rich |
Which instruments are you interested in? The data logging should just be a matter of syslogging out what you get from stratux. turning off most everything less airspeed, altitude and compass is going to leave a lot of blank real estate on the screen. There is a setting for the font size for airspeed and altitude but, I don't have it to where changing that font will do what you want. It will increase the size of each number but not the spacing between them. each digit is actually a hidden dial so it looks like an odometer in a way. I did that do you'd have a visual indication of increasing or decreasing values. I have another commit coming soon where I re-worked the GMeter and VSI to be Arc'd scales with needles. Much cleaner visually. cheers, |
Thanks, I am waiting on the pressure sensor and display screen hardware to arrive from overseas, so plan on playing with the SVG display first. However, I am a newbe to programming the rPi and also Java and Python. First I have to figure out how to get things running, what dependencies to load etc. |
This project doesn't require the Pi or special hardware to get started. Without a Stratux to talk to, everything will flip to INOP in a few seconds but if you set Sent from my iPad
|
Thanks, I changed the pollstratux line then... Ok, showing my ignorance here... I copied the pi2d2.html lines into a Windows notepad file and saved as Pi2D2.html. Then I tried opening in a browser and I got a blank screen. |
You're going to need the entire www directory. all the sub folders and files This way, you can make any changes you want to the code. |
Ah, thanks. I will do my github homework first! Cheers |
I really like the direction you are taking the project. The temp compensated air pressure transducers and a design of a pitot that also gives angle of attach would fit right in with the current push to get AOA information in the front of the GA pilot. Just a thought one might also think use the ESP8266 to remote the sensor/op-opamp-via its Arduino dev kit. This would put this out on the wing communicating via WiFi to the Stratux for display (put other things away from EMI like the compass out there too). |
Thanks prop-head. AoA would be a great addition. Don't give me too much credit for taking the project in any direction as I am pretty inexperienced at building things with computers! I have a long way to go. The Pi2D2 display using SVG is very impressive and feels highly flexible from my experimenting so far. I am very impressed with this as a start point as we can probably choose different options - display on a tablet via browser or HAT screen. I personally do not need attitude displayed, and I am also mindful of the complexities of getting accurate AHRS data from a little IRU board. I remember years ago listening to lectures about Euler angle calculations... But my brain decided not remember too much of the detail;). I am happy to leave that aspect to the experts. Also, the consequences from a safety standpoint, of unannunciated erroneous attitude display are difficult to mitigate for the user that decides to push his/her luck and fly IMC. For me though, I would like the capability to log AHRS data along with other flight parameters for post flight review. The display would probably be limited to ASI, Alt, VSI, HDG - ie the basic VFR requirements. I really like your idea about using a wifi linked pitot/magnetic sensor in the wing. And those ESP8266 boards are very affordable. I am still trying to decide what the best airspeed differential pressure sensor to start with though. Now you have me thinking about AOA... Any suggestions on a suitable affordable sensors? Cheers Rich |
Rich, Let me play around with a few ideas for a screen like that. With as cheap as the sensors are, it’d be an interesting experiment to build an array of them across an entire wing section. Knowing your AOA alone doesn’t tell you much. But, an array of tiny pressure sensors or even simple airflow sensors CAN tell you that portions of your wing are no longer flying. This would be a really cool experiment. On Jan 23, 2016, at 11:21 AM, Rich notifications@github.com wrote:
|
Thanks Dave. Agreed re the AOA discussion. Also agreed re the potential impact of things stuck on the wing! I use the analogy of VGs when trying to explain to those that don't appreciate this aspect. Ie "why would they bother to put these little things on the wings of an airliner if they were insignificant... So, do you agree we need to assess the impact of XX on our installation??" |
Forgot to mention, I like the speed tape trend arrow method of showing dv/dt Lots of PFDs use this approach Just a thought |
Just a bit more on AOA and then I will go back in the shadows. |
I think Flydr2's printable pitot with AOA looks promising, quire similar to the Dynon version. I really like the idea of a wifi linked pitot/AOA/mag sensor for the rPi. |
Your choice is excellent. I too chose a Freescale product MPX2100DP which I got it from Digikey. My pressures were higher watching for limits over 6psi and below 5psi I also used an inexpensive single supply instrument amplifier to swing the output voltage to match the A/D input range of a WebControl PLC it might have been the LMV321L or something very similar. I currently am away from my lab for the winter so specific details are not as easy to come by. My research into AOA stuff is a little over a year old and is just coming from memory but I thought a Vans Air Force blog had some info on a home made air data setup that was mounted in the tail of a members RV.
|
Ok, while waiting on the hardware I have been experimenting on the forked Pi2D2 to simplify it to the VFR requirement I am working on. I removed the yellow bars either side of the central attitude display, removed the Gmeter, and the heading & alt bugs. I really like it. The display seems very clear and easy to interpret. I played with the test script moving the speedbar - I like it. |
Hi, I found your project via a recommendation from the Stratux forum on Reddit. I am looking to make a rPi based VFR flight instrument system for my homebuild experimental aircraft. Also I want to try and base this on Stratux. I currently have an rPi 2 running Stratux with the RY8351 chip.
My primary objectives are display (on a small screen) Airspeed, Altitude, Vertical Speed and Mag heading. I also would like to be able to log the flight parameters along with additional AHRS and GPS data for post flight review.
Ok, lots of wants there! I really like what you have created with this project and was wondering what it might take to add a suitable differential pressure sensor like a mpxv7002dp to obtain airspeed. I would also like to explore "turning off" some of the displayed graphics to simplify the output for VFR use.
Please let me know your thoughts on these suggestions.
Regards
Rich
The text was updated successfully, but these errors were encountered: