VansAirForceForums  
Home > VansAirForceForums

- POSTING RULES
- Donate yearly (please).
- Advertise in here!

- Today's Posts | Insert Pics

  #1  
Old 05-27-2017, 08:03 PM
joedallas's Avatar
joedallas joedallas is offline
 
Join Date: May 2010
Location: Spring Hill Fl
Posts: 668
Default Arduino microcontroller

Experimenting with the Arduino microcontroller to perform some small tasks in the Aircraft.



http://joesrv12.com/Builder%20Log/bl_42_11.htm


Has anyone used this in a their aircraft.

Joe dallas
__________________
Joe Dallas
Kit-#12400
www.joesrv12.com
www.rvbuilderlist.com
Reply With Quote
  #2  
Old 05-27-2017, 08:25 PM
greghughespdx greghughespdx is offline
 
Join Date: Nov 2011
Location: Hillsboro, OR
Posts: 390
Default

I have a handful of them with various stages of code done for a variety of tasks in the airplane. One of the setups is for evaluation of temperature, pressure and flow at various points in the cowling. Another is to show status of a few systems and to control the smoke system (programmed pulses, etc.).

I also built and wrote a whole new (and much more reliable) pilot-controlled runway lighting system based on the Arduino Uno. It's been operating at the airport here for a few months now, works great.

These are some nifty devices and capabilities are pretty much what you can dream up, and learn to code. It does take time away from actually building the plane though hah, so I have set that stuff aside for now.
__________________
Building RV-8A as of September 2014 (N88VX reserved)
VAF build thread - Flickr project photo album - Project Facebook page

Flying a Warrior PA28-151 and a few RVs here and there
TeenFlight program mentor
Exempt, but paid anyhow
Hillsboro, Oregon (EAA 105)
Reply With Quote
  #3  
Old 05-28-2017, 06:44 AM
Dave12 Dave12 is offline
 
Join Date: Oct 2010
Location: Elkton, Md.
Posts: 1,273
Default

I have come to expect innovation from Joe. That is one interesting 12!
__________________
Proud Dad of a Navy Corpsman
FMF "Devil Doc" 2nd Marines
N588DF RV12 #336 Sold
N73DF RV12 #244 Flying
Reply With Quote
  #4  
Old 05-28-2017, 04:17 PM
rv8ch rv8ch is offline
 
Join Date: Feb 2005
Location: LSGG
Posts: 2,114
Default under cowl monitoring

Greg, would be great to find out more about your project. I'd also like to put in more temp probes under the cowl, and having pressure would be really interesting (I think!).

Do you have more details about what you are doing? I have not yet experimented with an arduino, and would be happy to get any hints. I'm considering just buying a bunch of stuff, but also fear it will take time from my build project, since I do love to code.
__________________
Mickey Coggins
http://rv8.ch
Reply With Quote
  #5  
Old 05-28-2017, 04:23 PM
Brantel's Avatar
Brantel Brantel is offline
 
Join Date: Mar 2006
Location: Newport, TN
Posts: 6,745
Default

Have built several Arduino based projects that I have used in my airplane.

Some examples:

Remote AOA indicator that decodes the serial stream from an EFIS and drives and LED display.

PMag ignition monitor that decodes the serial stream from the PMag and drives a LCD display.

High speed serial logger that logs the serial streams from an EFIS to an SD card.

Built my own Arduino AOA computer. Got it working but never perfected it since Garmin added the G3X at which point I did not need it anymore.

The Arduino line seems to be a great platform for these kinds of task. The brand name hardware is solid as a rock and just works. If the code is solid, they will run with amazing reliability.
__________________
Brantel (Brian Chesteen),
RV-7/TU, #72823, N159SB
Lyc. O-360 carbed, HARTZELL BA CS Prop, Dual P-MAGs, Dual Garmin G3X Touch
Track N159SB (KK4LIF)
Like EAA Chapter 1494 on Facebook

Last edited by Brantel : 05-28-2017 at 04:30 PM.
Reply With Quote
  #6  
Old 05-28-2017, 05:38 PM
joedallas's Avatar
joedallas joedallas is offline
 
Join Date: May 2010
Location: Spring Hill Fl
Posts: 668
Default Arduino Magic

Thank All
I hopped that I was not going down a road never traveled.

I am having a lot of fun writing code and surprised to see it work so well.

I have never used C or C++.

I have used RBace , DBace , Foxpro and SQL and C in not that much different.

My website www.Rvbuilderlist.com is SQL which I have neglected since I started building a Plane.

Thanks Again
Joe
__________________
Joe Dallas
Kit-#12400
www.joesrv12.com
www.rvbuilderlist.com
Reply With Quote
  #7  
Old 05-28-2017, 08:24 PM
madmaveric's Avatar
madmaveric madmaveric is offline
 
Join Date: Dec 2014
Location: Bournemouth, uk
Posts: 109
Default

Some interesting stuff there (shame we would have to get a mod approved for most of this in the uk).

Have you looked at the ESP8266? It's ideal for when you don't want to run wires. It is a tiny low power (3.3v/~800ma) programmable, stand alone, wifi module. Using two of them, or one and a tablet/phone, you could easily have a wireless link setup.

I've been playing with one for decoding and displaying the PilotAware data (a beefed up version of the Stratux system you have in the US). It might end up being useful for microlights where space and weigh is a big issue. A bit of Velcro would easily hold it up where you want it with no wires.

I did a video showing the ESP8266 to show the size of it, I hadn't received my circuit boards for the voltage regulator at this point so it is running off 2xAA batteries.

In the video there are 4 parts. a 3D printed case, the screen, the ESP8266 (the small board) and the batteries. The final one will have a lipo with charger and regulator but you get the idea from this as to how small they are.


This one has a description of the screen layout and what is going on, this was early on so it is still all on a breadboard.


Not having tested this in a real aircraft I don't know if it will be any good (it might not be readable or cause interference) but for now it is fun playing round with it when I'm not building

The thing I like about these modules is they are tiny and need very little power. For most projects you can replace the Arduino with one of these and have a smaller/lighter/cheaper system.
A quick search on youtube will show the kind of things people are doing with them.

Just thought I would point them out for anyone who hasn't come across them yet. I haven't used my arduino since getting these
__________________
RV12 empennage, wings and fuse finished, finish kit now under construction.
Blog
Reply With Quote
  #8  
Old 05-28-2017, 09:28 PM
hgerhardt's Avatar
hgerhardt hgerhardt is offline
 
Join Date: Oct 2006
Location: torrance, ca
Posts: 399
Default

Hey Joe, since you are installing the Arduino into your RV, consider using an Arduino Nano. Much smaller and with the same functionality as an Uno.

Save the Uno for prototyping your ideas.
Reply With Quote
  #9  
Old 05-28-2017, 11:20 PM
petersb petersb is offline
 
Join Date: Mar 2008
Location: Toronto
Posts: 326
Default

I have just finished a flap, trim system for my 7A. I purchased the arduino mini pro a month ago and taught myself programming, many thanks to the source of all knowledge, " YouTube "

I use an Infinity grip and backup switches on the panel

Built in safety's:

Flaps auto raise over 100 knots
Flaps will not lower over 100 knots
Trim/ flap motors will stop after 10 seconds continuous, takes 7 seconds for full flap travel
Trim speed slows down over 100 knots
Reverse switch movement will stop trim/flap motors immediately


Normal functions:

Each momentary activation of flap switch will move flaps and trim to next programmed position.
If flap switch gets a double activation within 1/2 second, will move to full up/down
If flap switch is held for 1 second will go into manual mode, the flap & trim will stop on release.( this was designed so a cessna driver can operate the system )
Two trim schedules to cover trim with and without passenger.

Next project is to incorporate a lidar sensor so I can get an altitude readout as I approach the runway... 50, 20, 10, 5, 4, 3, 2, 1 retard, thought that might be hilarious, especially if I can transmit it over the radio. Trouble is the lidar cost $US200 ( about $CN10,000 , or thereabouts at current rates). Of course there is one practical safety advantage to this, our runway is very narrow and poorly lighted, knowing how close to the runway will help in making sure the nose wheel is up on touchdown.

Airspeed info is coming from the GRT HXr, had Greg ad this feature, in programming discrete outputs select "airspeed" then at the bottom enter the airspeed you require. Although the discrete outputs are not in their literature they do still exist, by memory I am using discrete output three which is connector "B" pin 10.
__________________
RV7A New Dec 2013 - 360, C/S, slider
RV6 - 1600 Hours ---- Sold

Last edited by petersb : 05-29-2017 at 08:06 AM.
Reply With Quote
  #10  
Old 05-28-2017, 11:55 PM
Phantom30's Avatar
Phantom30 Phantom30 is offline
 
Join Date: Jul 2009
Location: Coeur d'Alene, ID/Casa Grande, AZ
Posts: 566
Default

Quote:
Originally Posted by petersb View Post
I have just finished a flap, trim system for my 7A. I purchased the arduino mini pro a month ago and taught myself programming, many thanks to the source of all knowledge, " YouTube "

Built in safety's:

Flaps auto raise over 100 knots
Flaps will not lower over 100 knots
Trim/ flap motors will stop after 10 seconds
Trim speed slows down over 100 knots

Normal functions:

Each momentary activation of flap switch will move flaps and trim to next programmed position.
If flap switch gets a double activation within 1/2 second will move to full up/down
If flap switch is held for 1 second will go into manual mode, the flap & trim will stop on release.( this was designed so a cessna driver can operate the system )
Two trim schedules to cover trim with and without passenger.

Next project is to incorporate a lidar sensor so I can get an altitude readout as I approach the runway... 50, 20, 10, 5, 4, 3, 2, 1 retard, thought that might be hilarious, especially if I can transmit it over the radio. Trouble is the lidar cost $US200 ( about $CN10,000 , or thereabouts at current rates). Of course there is one practical safety advantage to this, our runway is very narrow and poorly lighted, knowing how close to the runway will help in making sure the nose wheel is up.
Oh...I like the possibility of approach altitude verbal read out (the lidar-lite unit)... coupled with the aoa. The ultimate tinker toys for air plane guys!
__________________
Ric Dickison
307 (CAB) Phantom
Search and Destroy (Can
Tho RVN)
Distinguished Flying Cross Society Member
CH-47 & UH-1H "Driver"
Rotax 9 Series Service IRMT

RV-12 Kit#729 "N312RD" is now a full functioning fun machine!! Thanks Van for fulfilling my dream😎
2017 Dues Paid
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 04:23 PM.


The VAFForums come to you courtesy Delta Romeo, LLC. By viewing and participating in them you agree to build your plane using standardized methods and practices and to fly it safely and in accordance with the laws governing the country you are located in.