Arduino altimeter & airspeed indicator

Discussion in 'Instruments / Avionics / Electrical System' started by cluttonfred, Apr 8, 2015.

Help Support HomeBuiltAirplanes Forum by donating:

  1. Apr 8, 2015 #1

    cluttonfred

    cluttonfred

    cluttonfred

    Well-Known Member

    Joined:
    Feb 13, 2010
    Messages:
    6,350
    Likes Received:
    2,204
    Location:
    World traveler
    Last edited by a moderator: Mar 20, 2019
  2. Apr 8, 2015 #2

    Aviator168

    Aviator168

    Aviator168

    Well-Known Member

    Joined:
    Sep 21, 2012
    Messages:
    2,196
    Likes Received:
    245
    Location:
    Brookville, NY. USA
    Fact is, all you need is 2 chips and a display to do this.
     
    Joe Fisher and Pops like this.
  3. Apr 8, 2015 #3

    FritzW

    FritzW

    FritzW

    Well-Known Member

    Joined:
    Jan 31, 2011
    Messages:
    3,169
    Likes Received:
    2,808
    Location:
    Las Cruces, NM
    I wouldn't hesitate to fly with something like that.
     
  4. Apr 9, 2015 #4

    Pops

    Pops

    Pops

    Well-Known Member

    Joined:
    Jan 1, 2013
    Messages:
    6,585
    Likes Received:
    5,493
    Location:
    USA.
    A lot can be done with just a differential pressure sensor. I have been using a Motorola MPX-5100 DP for several projects. 0 to 100 kpa, .5 Volt offset, full span 4.0 volts. Want a AOA indicator, no problem, cascade two LM-391's for 20 LED bar indicator.

    I used this pressure sensor for a low vacuum alarm for many years after I had a vacuum failure a few miles from an ILS approch down to minimums on a stormy day. The audio alarm was tied to the audio panel. Red case in the pictures. Also picture of the Motorola Pressure Sensor.
    Also used the same sensor to switch the Hobbs meter on at 50 mph on the take-off roll for a airplane giving rides by time. Lots of uses and simple is good.

    Dan
     

    Attached Files:

  5. Apr 9, 2015 #5

    cluttonfred

    cluttonfred

    cluttonfred

    Well-Known Member

    Joined:
    Feb 13, 2010
    Messages:
    6,350
    Likes Received:
    2,204
    Location:
    World traveler
    The more I troll through sites like Arduino - Home and Adafruit Industries, Unique & fun DIY electronics and kits and https://www.sparkfun.com/, the more I think, "Hey, I think I could do this." How about a combined ALT/VSI/ASI sized to fit in a standard 3 1/8 in instrument hole using just LEDs? Calculator-style, four-digit, seven-segment numeric displays for ALT and ASI, with a circle or bar of LEDs to give an at-a-glance analog indication of speed and a small cluster of LEDs to serve as the VSI: X means holding steady, up arrow for climb, slow blinking up arrow for faster climb, fast blinking up arrow for fastest climb, opposite for descent. You could even use varying colors--blue for climb, red for descent, green for holding stead, for example.
     
    FritzW and Vision_2012 like this.
  6. Apr 9, 2015 #6

    FritzW

    FritzW

    FritzW

    Well-Known Member

    Joined:
    Jan 31, 2011
    Messages:
    3,169
    Likes Received:
    2,808
    Location:
    Las Cruces, NM
    You might look through all the FPV stuff also.
     
  7. Apr 10, 2015 #7

    Aviator168

    Aviator168

    Aviator168

    Well-Known Member

    Joined:
    Sep 21, 2012
    Messages:
    2,196
    Likes Received:
    245
    Location:
    Brookville, NY. USA
    Not so fast. Altimeter requires barometer valve and temperature. So you are going to input these values or detect them.
     
    Last edited: Apr 10, 2015
  8. Apr 10, 2015 #8

    Blue Chips

    Blue Chips

    Blue Chips

    Well-Known Member

    Joined:
    Oct 15, 2014
    Messages:
    370
    Likes Received:
    76
    Location:
    Mount Gilead Ohio, USA
    Dangit, just when my mind was on a roll :D
     
  9. Apr 10, 2015 #9

    deskpilot

    deskpilot

    deskpilot

    Well-Known Member

    Joined:
    Jun 30, 2009
    Messages:
    1,065
    Likes Received:
    177
    Location:
    Morphett Vale, South Australia. Just south of Adel
    Valves!!!!!!!!Thought they went out with the Ark.:gig:
     
  10. Apr 10, 2015 #10

    Aviator168

    Aviator168

    Aviator168

    Well-Known Member

    Joined:
    Sep 21, 2012
    Messages:
    2,196
    Likes Received:
    245
    Location:
    Brookville, NY. USA
    That's what happens when you use a touch screen keyboard. Boy I miss my BlackBerry.
     
  11. Apr 10, 2015 #11

    Topaz

    Topaz

    Topaz

    Moderator

    Joined:
    Jul 30, 2005
    Messages:
    13,411
    Likes Received:
    5,084
    Location:
    Orange County, California
    As much as dedicated individual instruments appeals to the electrical tinkerer, I think a more-profitable future would use the Arduino to gather information from a variety of sensors and pass the information to an app on a commercial tablet like an iPad or Nexus, which does the integration and display of the data. The tablet already contains a compass and multi-axis accelerometers, so between that and the Arduino polling analog sensors for ram pressure, static pressure, and OAT (and doing some pre-processing), you'd have all the makings of a full panel. Put in a couple of small "steam gauge" backups for airspeed and altimeter, and you'd be a long way towards a full digital flight deck, at a fraction of the cost.
     
    Last edited: Apr 10, 2015
    bmcj and spaschke like this.
  12. Apr 10, 2015 #12

    spduffee

    spduffee

    spduffee

    Well-Known Member

    Joined:
    Sep 22, 2011
    Messages:
    567
    Likes Received:
    122
    Location:
    Renton, WA
    Funny, I was just looking at these, too. I just redid my instrument panel in my Phantom ultralight to get more knee room. In my new panel, either because I am a minimalist, or because I f'd it up, I don't have room for the 3-1/8" altimeter and my 3-1/8" airspeed indicator. I don't think I need the altimeter in an ultralight anyway, but just in case I started looking at DIY altimeters. This one popped up. It is for an R/C, but probably good enough. I will post anything I find, too.

    A compact, Arduino altimeter for RC Planes
     
  13. Apr 10, 2015 #13

    Aviator168

    Aviator168

    Aviator168

    Well-Known Member

    Joined:
    Sep 21, 2012
    Messages:
    2,196
    Likes Received:
    245
    Location:
    Brookville, NY. USA
    That's a lot easier Topaz. The Arduino + Bluetooth is about $20. You than add the various different sensors and each one would be no more than a few $. The difficult one is the attitude indicator. There are a lot of "fake" mem gyro out there and most of them are just accelerometers.

    spduffee. I looked at their implementation. It is good for RCs and probably good enough for UL if you are just flying around you local area. I like the integrated pressure and temperature sensor; but for serious uses, I would choose a different implementation. One that takes in the barometer into account.
     
  14. Apr 10, 2015 #14

    spduffee

    spduffee

    spduffee

    Well-Known Member

    Joined:
    Sep 22, 2011
    Messages:
    567
    Likes Received:
    122
    Location:
    Renton, WA
  15. Apr 10, 2015 #15

    Aerowerx

    Aerowerx

    Aerowerx

    Well-Known Member

    Joined:
    Dec 1, 2011
    Messages:
    4,527
    Likes Received:
    1,198
    Location:
    Marion, Ohio
  16. Apr 10, 2015 #16

    cluttonfred

    cluttonfred

    cluttonfred

    Well-Known Member

    Joined:
    Feb 13, 2010
    Messages:
    6,350
    Likes Received:
    2,204
    Location:
    World traveler
    To Aviator168's question about a sensor for pressure/temperaturem, just to give you an idea of how affordable these things are, here is a Bosch sensor that does just that for $10 -- BMP180 Barometric Pressure/Temperature/Altitude Sensor- 5V ready ID: 1603 - $9.95 : Adafruit Industries, Unique & fun DIY electronics and kits -- or one with that plus full three-axis gyroscope, accelerometer and magnetic compass for just $30 -- Adafruit 10-DOF IMU Breakout - L3GD20H + LSM303 + BMP180 ID: 1604 - $29.95 : Adafruit Industries, Unique & fun DIY electronics and kits.
     
  17. Apr 10, 2015 #17

    Aviator168

    Aviator168

    Aviator168

    Well-Known Member

    Joined:
    Sep 21, 2012
    Messages:
    2,196
    Likes Received:
    245
    Location:
    Brookville, NY. USA
    You can probably be able to build this for less than $100. That with bluetooth sending the information to a tablet. You still need the speed indicator & radio.
     
  18. Apr 10, 2015 #18

    cluttonfred

    cluttonfred

    cluttonfred

    Well-Known Member

    Joined:
    Feb 13, 2010
    Messages:
    6,350
    Likes Received:
    2,204
    Location:
    World traveler
    I don't think the two concepts are exclusive. The same Arduino processor and sensors used to drive dedicated instruments could also be used to send data to a tablet. What I have in mind is a three-instrument cluster--one for flight data (ALT/VSI/ASI), one for engine data (might just buy that one) and one for navigation (basic GPS) backed up by wind in my hair (flight data), noise in ears (engine data), a whiskey compass and a paper chart (navigation). On the GPS, I love the simplicity of John Bendict's Gipsi, an audio only GPS, and might like to combine that concept with a basic visual interface to show course and speed and altitude and guidance to preprogrammed waypoints or the nearest airfield much like John has done with his Gipsi Apps for Android. I don't know why, for some reason that three-hole panel idea just appeals to me. ;-)

    5.jpg
     
    spaschke and spduffee like this.
  19. Apr 10, 2015 #19

    Aviator168

    Aviator168

    Aviator168

    Well-Known Member

    Joined:
    Sep 21, 2012
    Messages:
    2,196
    Likes Received:
    245
    Location:
    Brookville, NY. USA
    Adding a display would not cost much more. A 7" TFT display with driver board is around $30.
     
  20. Apr 10, 2015 #20

    Topaz

    Topaz

    Topaz

    Moderator

    Joined:
    Jul 30, 2005
    Messages:
    13,411
    Likes Received:
    5,084
    Location:
    Orange County, California
    Yeah, but why write the entire UI yourself? Plus a commercial tablet already has a touch-screen, and the API to access it. Why reinvent the wheel?

    Unless that's specifically something you want to do, as its own challenge. In which case, carry on. :)
     

Share This Page

arrow_white