| F16 Flight Control Grip Movement & Position Sensor |
|
|
| Sunday, 17 May 2009 11:23 | |
|
A work colleague was about 90% of the way through building his own F16 flight sim cockpit, and from what I saw, the whole project was built from the ground up with the highest of care and attention to detail. From the individual control panels to the different displays and other physical aspects. Better yet, it was all DIY. Everything was a near replica of that in real life, and his final hurdle was to design/build something to interface with a High G Flight Control Grip. They are known as High G as the grip has very limited movement on each axis (less than 10mm). Unlike most conventional aircraft, the grip is located directly and comfortably in front of the right hand (photo of a cockpit). Here's what one looks like in real life on its own;
Notice the bottom of the grip, its not what you would usually expect to see. The avionics package to interface with the above grip costs $$$ and he was not prepared to fork out almost what he had paid for the entire project to date on a single item. We got talking about it at work and went through a number of different designs. From potentiometers to air pressure, they were the first thoughts, and then I put it to him to use light. Mapping the light shadow over such a small range of movement would not only be simple, but also involve no moving/wearing parts. Gav (the work colleague) is very good with locally manufacturing metal adaptors/parts, and he made/modified the mating adaptor that would connect the grip to a sturdy enclosure;
Notice the heavy duty silastic under the adaptor, this provides part of the stiff resistance to ensure limited movement. Within the enclosure contained the rest of the assembly, including sturdy springs (to ensure the grip always returned to center) and the LED enclosure;
The image above also displays the lower part of the LED enclosure. This is where a high powered LED is mounted along with paper sealing the lower opening (not displayed). This resulted in a vibrant bright white square of light that would shine directly down (more on that in a minute). Now that we had a way of transmitting positional information, it was time to get to work on the reception side. A rather simplistic Light Dependant Resistor (LDR) approach was used. With two LDR's, both X and Y axis information could be mapped and converted into real positional data to send to a standard Joystick Controller. Here's a picture of the LDR's in place ready to be mounted;
They were painted and aligned in such a way so that either axis could move without the adjacent one being modified. Keep in mind that the full swing deflection of the light square was only about 8mm, much less then the available cutouts above. Here's the completed unit in operation (without the side panel fitted);
Looking at the image above might help explain the operation. Imagine the stick moving from the left of your screen to the right. The LDR on the left of your screen will adjust in resistance accordingly, however, the LDR closest to you will maintain the same amount of light the entire time. This is how axis separation is implemented, simple and effective. The software behind the unit will run through a calibration upon first power up. From there on, all cal data is stored in the EEPROM of the PIC, and can be re-calerbrated at any time. To ensure maximum resolution, the calibration procedure involves setting the ADC -Vref and +Vref. It's actually a pretty neat little program and while its directly related to this project, I don't want to take away from the focus I intended with this article - positional sensing via light. With that said, here's the completed unit ready for installation;
Update: I later made a PCB for the project to clean up the appearance (there are a few components on this one after all). Here's the transformation;
The protoboard did prove useful and naturally underwent a few modifications while a proof of concept was being made. Here's the board layout for Gav's reference;
The source code can be downloaded here.
Comments (2)
Joomla components by Compojoom
|
|
| Last Updated ( Monday, 07 September 2009 13:01 ) |
Whos Online
- Graham
- andyo
- Jon Chandler
Forum Activity
Marching LEDs - mrdeb Saturday, 13 March 2010 22:54 - [7 replies]
Credit Where Credit's Due - jon chandler Saturday, 13 March 2010 18:51 - [4 replies]
USB 8 Channel Servo Controller - andyo Saturday, 13 March 2010 01:19 - [2 replies]
Dedicated Servo Controller - graham Friday, 12 March 2010 17:58 - [0 replies]
Must have....delta temperature glowies! - graham Friday, 12 March 2010 17:31 - [3 replies]
A 'throw-away" PIC board - jon chandler Friday, 12 March 2010 13:41 - [31 replies]
iHID - graham Friday, 12 March 2010 02:04 - [5 replies]
Recent Comments
- 2010-03-13 16:36:21 andyo
Very nice - 900,000 packets and 0 errors - can't ask for better tha...
- 2010-03-13 11:59:14 Anony...
proton
- 2010-03-12 19:44:17 Jon C...
Here is a spreadsheet of compatible parts: [url]http://digital-diy...
- 2010-03-12 14:26:02 Anony...
What program do you use to capture the simulation to a videofile?
- 2010-03-12 13:15:58 Jon C...
Here's a tip for tying out SD cards. An SD card will fit the flopp...
- 2010-03-11 21:03:32 Jon C...
If this wasn't a class project that had to be done on a PIC16F690 u...
- 2010-03-11 15:30:06 uuu
I am going to send two data from ADC to USART(async mode) to serial...
- 2010-03-05 13:24:23 mrpse...
I was thinking of battery with powered routers or powered for every...












Much of that is way over my head but very creative! Another example of how a micro controller can make things happen inexpensively. Looking forward to more on this. Grats!