Jump to content

Part 2 of Sharing my Flight Quadrant Project


Recommended Posts

Posted (edited)

So this, as the title suggests is a continuation of an earlier thread I started I while back on a project which I've linked here:

 

 

I'll have to spread this out over 3 posts as this forum only allows 5mb per post and I have 24 photos which I managed to reduce down to about 11.1mb. (Hopefully they'll merge.)

 


This project took a bit of a hiatus due to lack of motivation and other projects, etc. but now it's all finished and I've also made a brake lever for my modded G940 which is integrated into the same system so I'm finally getting round to sharing the WIP photos and the finished products. I apologise for the lack of WIP photos, I didn't take so many when I was working on it, especially of the brake lever.

 

So to pick up where we left off:


The Hall sensor mount/axels needed to be remade for better sensor positioning (see my last post on the previous thread):
1.thumb.jpg.f5b55b7fa05313edb2e5a0548ae3d342.jpg

 

 

I started designing and building the brake lever. This is integrated into the flight quadrant system so I could get away with just one microcontroller and it worked out very well. The fixing of the wires to the Hall sensor for the brake lever went through three iterations hence the inconsistencies in the photos.
2.thumb.jpg.e465fe6b60eb9e6fe09dd287965f4f7f.jpg 3.thumb.jpg.80ddc3acc95e5333d51fc7a288b596cb.jpg4.jpg.925d15371f1fb5dc0a41116fc99b9cd5.jpg5.thumb.jpg.21d5fe89abcf905aac946b394d79d119.jpg

 

 

After buying the big (ON)-OFF-(ON) toggle switches I realised they wouldn't fit in my original design so I made a kind of spacer block and a new front panel. This actually worked to be great as it gave me a block to mount various things such as a support for the bottom lever end-stop on the far left (I wasn't happy with how flimsy the M3 threaded rod inside it was), a place to screw in the cable gland, housing mounting holes and a place to mount the calibration switch.
6.thumb.jpg.32d2e3681d3013cd65f4af1bcf907050.jpg7.thumb.jpg.02697c6105f296122726415860c28f99.jpg
 


Back in time here a minute, in March I was visiting home in New Zealand (and Australia - nearly got stranded there due to damn Corona) and working on the programming and electronics with my dad. That is to say I watched him be a genius, writing various bits of code for testing and coming up with an amplifier circuit for the Hall sensor on the brake lever and helped where I could. (I will go into more details about coding and circuitry later on.)
8.thumb.jpg.7fde21353ed9294fe7b8cdc4fd4c1a6e.jpg

 

Once back in Germany and after having built most of the brake lever I was able to finish off the testing to find out exactly what resistors I would need for that amplifier circuit. Then I built a housing with I/Os and indicator LEDs for the microcontroller.
9.thumb.jpg.1b3eddadf772ce773109e1e4104f8786.jpg10.thumb.jpg.e0894ecfb059de1fd27a98de665f2dc0.jpg

 

 

Parallel to this I was working on design for the flight quadrant housing. I drew out what I wanted and then sat down with my friend Johannes who made a 3D CAD model of it which I then sent to another friend, Lenard who 3D printed it for me. This worked well so I set about painting it. I used nearly an entire can of primer to level it, then got a can of horrible black lacquer (from an actual online paint store in Germany) that never set and nearly ruined the whole thing and finally I finished it with 2-component, matte clear lacquer. Unfortunately that damn black lacquer has recently started causing the clear coat start crinkling so at some point I'll probably have to either sand it back to the primer or get a new housing printed.

 

While this was going on I made levers and knobs. I had a couple of scraps of various plastics in various colours which worked out nicely. Blue for Water Radiator/Engine Outlet Cowls. Grey for Oil Radiator. White/cream for Prop RPM (shape inspired by some versions of the Spitfire throttle control). Finally the Mixture knob was off a dead machine at work that got scrapped and I saved the knob for a rainy day. I also changed my initial idea of having the levers move in a 90° arc, it seemed a bit much so rather than raising the stop bar (which would have required a huge amount of work because many parts would have had to be remade) I opted to add spacer-angles to the levers. (There is actually a lot more to this but I'm already going into a lot of detail.)
11.thumb.jpg.5a79245be78132a98daf4bffc589a5a1.jpg12.thumb.jpg.db8cd5e892fe0eb7f4031639df03b7c7.jpg13.thumb.jpg.7ae1592351214bfb418e3b587aefbdbf.jpg14.thumb.jpg.18a93da940ef1fe5b3d45abd676978dd.jpg15.thumb.jpg.934376d73b8e0a8dc5b5029325987ef6.jpg

 

 

And that was it for machining parts and painting so then came wiring all the switches and Hall sensors in the quadrant and fitting the housing.
The 3 toggle switches are there to correspond to the axes above them (because using an axis to control the radiators in say the P-47 for example just feels wrong) plus for any aircraft that for use buttons for radiators (such as the Bf-110). Finally the button underneath the mixture control is for engine start/stop.
16.thumb.jpg.12522e6476131489122e125ff29a5d37.jpg17.thumb.jpg.eed0c92b539c54b9a08511eff7205a45.jpg18.thumb.jpg.0e6846cced414bf2d88ca182a425cd15.jpg


So if I were to do the mechanical side again there are a couple of things I would do differently, mainly the bearings, they have a little lateral play and this can allow the levers to scrape the sides of the slots in the housing, not a big deal but could have been done better. Other than that, there are a few minor things that could be optimised, I kinda designed and built it at the same time which is obviously not a sound practice but it was way more motivating and worked out in the end. Also I think the friction system could use a little tweak, the springs do basically nothing so there's a fairly narrow margin where the thumbscrews start tighten at the end of their travel that is usable. Having fine threads did help though and it does work okay, just not as nice as I planned. Also, if anyone is wondering why I used a compression spring for the brake lever return instead of a tension spring the answer is it was easier for me to make it this way with spring lengths I had access to than to research what tension springs would work, then order it and hope I got it right, etc.

 

Coding, etc.

 

The microcontroller we used was a Teensy++ 2.0 which was nice to work with and worked very well. The only problem I had with it was the analogue resolution which was only 1024 counts and would (theoretically) be the full 180° of rotation of the magnets around the Hall sensor. This wasn't too much of a problem for the 4 axes on the flight quadrant (using roughly 80-85°) but the brake lever was only using maybe 20-25° (and I initially thought it would be less, like 10-15°). This would actually probably be fine for a brake lever as I would argue you don't need a high degree of precision in its position however we had planned for it and made an amplifier circuit so it was a fun little addition that ended up working perfectly.

 

Another feature I wanted was a calibration switch so if any of the axes drift over time I can correct for it. Plus LEDs to indicate what's going on with calibration. What I came up with for that was a recessed switch underneath the quadrant that, when flipped puts the system in calibration mode and turns on an amber LED (there's a green one for power). Then you either push and hold a switch down or the button below the axis you want to calibrate, the red LED starts blinking, you move the axis to each end of its travel, then let go of the switch and that axis' end points are written to the Teensy's onboard EPROM. To calibrate the brake lever you push and hold the left two switches up. Once you've finished, flip the calibration switch off and you're done. Again, all the real credit goes to my dad who did the coding for this.

 

At one point I noticed I occasionally bumped the brake lever while flying, etc. which causes a pneumatic hiss in the sim, rather more than what I think it should be for the tiny movement and this kinda bugged me a little bit so I got my dad program in a small deadzone at the beginning of the travel which solved the problem.

 

Finally the biggest issue we encountered was that the signal coming from all five Hall sensors had a small amount of jitter, about 1 count (out of 1024) with an occasional 2 count spike and this would cause the axes to constantly move ever so slightly - no way near as bad as the Logitech/Saitek Flight Quadrant however but this was still one of the main reasons I built the thing in the first place. The trouble is in, to use our previous example, the P-47, to open say the oil radiators with the switch (how I intended it) any input from an axis with the same binding will override the position set with the switch and if your axis is constantly moving the switch becomes unusable. The solution my dad came up with was to make the Teensy ignore any movement less than two counts. The 2 counts are such a small increment that it's completely unnoticeable when using it. This completely solved the problem, it's now currently working perfectly and I'm very happy with it.

 

It was also really cool to be able to work on a "Father/Son project" being on the opposite side of the world from my dad. I've been in Germany for ten years now and this has been a great way to keep in contact (not that we really needed a project for that). Special thanks to him.
 

19.thumb.jpg.c01d4761c3b2d7ddbfe58edf656a8ec7.jpg

 

20.thumb.jpg.51594423778fa6e25cc1759b80765ec0.jpg21.thumb.jpg.b13215ddb11f47130b880a87f7c92ddd.jpg22.thumb.jpg.73463efd9f8fd2f07759aa89cf541795.jpg

 

23.thumb.jpg.047592023c0d912c9d35ce0200b66019.jpg24.thumb.jpg.b96bf49af485645379ebc4ca9ba0a9ac.jpg

Edited by Soilworker
  • Like 6
  • Thanks 1
  • Upvote 6
Posted
56 minutes ago, 216th_LuseKofte said:

What a wonderful built. 

+1

Totally agree

  • Thanks 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...