Jump to content

quick

Members
  • Posts

    28
  • Joined

  • Last visited

Posts posted by quick

  1. IFF panel Indicator Light

     

    By the way , the IFF panel REPLY Indicator Light and TEST Indicator Light :

     

     

    1) Edit the file DCS-BIOS\lib\A10C.lua

    2) add two lines

    definePushButton("IFF_TEST_TEST", 43, 3018, 796, "IFF", "TEST Push to Test")
    definePotentiometer("IFF_TEST_DIM", 43, 3021, 901, {0.0, 1.0}, "IFF", "TEST Reply Dim")
    --******************************quick edit*********************************
    defineIndicatorLight("IFF_REPLY_LED", 798, "IFF", "REPLY LED")
    defineIndicatorLight("IFF_TEST_LED", 799, "IFF", "TEST LED")
    --**********************************************************************************
    defineTumb("OXY_EMERGENCY", 40, 3003, 601, 1, {-1, 1}, nil, false, "Oxygen Regulator Panel", "Oxygen Flow: Emergency / Normal / Test")
    defineToggleSwitch("OXY_DILUTER", 40, 3002, 602, "Oxygen Regulator Panel", "Oxygen Normal/100%"

     

    3) Arduino code:

     

    DcsBios::LED iffReplyLed(0x112a, 0x0080, PIN);
    DcsBios::LED iffTestLed(0x112a, 0x0100, PIN);
    

     

    4) Enjoy;

     

    Test video: https://www.bilibili.com/video/av29097580

     

     

    The issue same as this thread

    https://forums.eagle.ru/showthread.php?t=189774

  2. This is a small tool I wrote, in order to debug DCS-BIOS panels for my pit. Now share it with everyone, hope every fan has his own pit.

     

    DCS-BIOS Debug Tool, debug DCS-BIOS panels without start game.

     

    It is based on serial communication, can send the brightness of the panel backlight, integer address bits (such as indicators), you can customize the command button.

     

    System: Windows 7/8/10 , need .NET Framework 3.5

     

    The video will upload later. Sorry for my poor English, can only make English subtitles.

     

    Enjoy!

     

    video:

    https://www.bilibili.com/video/av28620446

    ddt.jpg.c8e6b509841a7f08986fd3d0a9734209.jpg

    ddt2.jpg.a33655a00e2f8ecd10c0b07ff33e2cf8.jpg

    DCSBIOS_Debug_Tool1.1.zip

  3. IFF Panel

     

    1) I try to edit the file DCS-BIOS\lib\A10C.lua

    find:
    define3PosTumb("IFF_OUT_AUDIO_LIGHT", 43, 3009, 301, "IFF", "IFF Out: LIGHT - OFF - AUDIO")
    
    replace:
    defineTumb("IFF_OUT_AUDIO_LIGHT", 43, 3009, 301, 1,{-1, 1}, nil, true,"IFF", "IFF Out: LIGHT - OFF - AUDIO")
    
    

     

    Enter the game test, it looks normal.

    I have not tested other, you can try to modify it.

  4. CDU PCB production

     

    The last method of making a PCB failed, so I used the original method, but with a few more steps.

    1. CNC drill and cut

    2. print film paper

    3 with 365nm UV light irradiation

    4. Development

    5. Etched

     

    For the first time using this method of making PCB, pay a lot of tuition, wasting a lot of material, or not perfect, and then slowly strengthen.

     

    figure 1: ready to irradiation

    figure 2: PCB OK

    figure 3: Cut the acrylic panels, and test the buttons setup position

    CDU_PCB01.jpg.029a8ccc89f226a073a90be4b8a69445.jpg

    CDU_PCB02.jpg.e29d67a57538a281afba2f9233faa1b9.jpg

    CDU_PCB03.thumb.jpg.dc00e8e975f8fb09bb955ce081e9f4f3.jpg

  5. can you give a link for this display ?

     

    The purchase link is in Chinese language. I can send you a message.

     

    Not wishing to be a smart arse because simms mean so much to each builder.

     

    But with the A-10C replicating the CDU screen on the MFD and the pinky/modifiers able to replicate every key press from your keypad, why the buzz to n#make a CDU?

     

    Im not beind a smart arse, obviously every panel can be cheated, but why would the A10C put the CDI screen upfront if it didnt anticipate it to replace the CDU...

     

    Just a genuine thought.

     

    I'm sorry, Google Translate can not accurately translate the meaning you want to say, I did not understand.

     

    I have a CDU on my road map and I see it just as a technical challenge. And nothing can beat flipping real switches and clicking real buttons. :)

     

    Though yes, pinkie and keyboard is the easy way for this, but some like it hard. ;)

     

    Great:thumbup: "nothing can beat flipping real switches and clicking real buttons."

  6. CDU design

     

    I chose a 3.5 inch TFT screen. It is very cheap, about 12 $.

    Serial port screen, comes with driver chip, faster refresh rate, more simple development.

    There are some special characters in DCS-BIOS conversion, I try to convert to basic ASCII characters.

    First of all these characters used (A10C is a picture format) extracted, made font, save to the screen flash ,and then output characters through the DCS-BIOS and displayed on the screen.

    Some trouble is that this will need two serial ports, no choice, only mega2560.it's a bit big.

     

    I found Arduino to support STM32 MCU, but compile error in DCS-BIOS.

    This MCU is very powerful, high-speed, multi-serial, and cheaper.

    https://github.com/rogerclarkmelbourne/Arduino_STM32

     

    Now many devices are made of modules, easy to develop, but need more serial, SPI, I2C and other communication resources.

    cdu2.jpg.e2912906b48750ec37a2c34a631b2154.jpg

    cdu.jpg.95cc3a9c17a86abf4e1281e1029412e4.jpg

    stm32f103c8.jpg.624d4daa7dffe2dea5c25b3a3b427e2b.jpg

  7. Hm... If you print the knobs, why not make a negative shape for the arrow and fill it with ink?

    I guess it'll be easier filling than painting with a toothpick or a small brush.

     

    Anyway: Keep up with your work! I like following the progress.

     

    It's have a negative shape for the arrow.because I did not care enough when filling the paint.

  8. Lights Panel

     

    I tried a lot of ways to make knobs and spray paint.

    3D printer production knobs, and some direct spray paint, and some with sandpaper and then spray paint,some soaked with smooth liquid.

    There is the pattern of the arrow above, I use a toothpick difficult to draw a good, should buy a strokes pen to try.

    Feeling paint is not easy.

    LITS.jpg.a70dc1158def52d40692afdcccd01f64.jpg

    LITS2.jpg.7b2f2ba2b0d8fef676499437a8396c03.jpg

  9. Be careful with ferric solutions, one of them is a serious water pollutant which I'd bad for Eco systems. Not sure which one but please dispose of properly!

     

    Waste liquid containing copper ions, is not conducive to environmental protection.

    Individual production is relatively small, you can collect the waste, Precipitation crystallization.

    In my hometown, many chemicals such as ferric chloride(FeO3) have been banned from being sold to individuals.

    There is an environmentally friendly etchant on the market for sale and can also be used,I don't know its chemical composition.

  10. New way to make PCB

     

    After the experiment this is not a good idea.

    Laser engraving will form a layer of oily film, with its protection, it is difficult to etch.

     

    I try a new way to make a PCB.

     

    1.Use CNC to drll holes and cut.( if not have,you can drill holes after the 5 step)

    2.Use Spray Paint to paint PCB.

    3.Use a laser engraving machine to remove unwanted protection.

    4.Use oil Marker-pen to correct the graphics.(Not necessary)

    5.Use an etchant to make a PCB.

     

    On the etching solution, it can be hydrochloric acid (HCL)+ hydrogen peroxide(H2O2), anhydrous ferric chloride(FeCl3), and others.

    The HCL+H2O2 mode have a fast speed,but in some places it is difficult to buy.

    Compared with CNC manufacturing PCB, it has high speed.

    PCB01.jpg.779046dbf6ae6eb575105ef12a03a5ee.jpg

    PCB02.jpg.e11d78a0af4f0e46fefd528d0011e2e3.jpg

    PCB03.jpg.32212fdaaa2a62128efe8c97c7bc66ba.jpg

  11. Are you using the CNC to engrave the PCB?

     

    I really should try and sort mine out, I just have zero enthusiasm for anything lately.

     

    Yes, I used the CNC engraving machine to do the PCB, but I found it very slow.

    I am looking for a new method, doing the test, and later I will show it in my thread.

  12. The CNC problem

     

    A cheap 3-axis engraving machine, I found a problem, CNC engraving depth often changes. I found the reason that the Z-axis stepper motor was too small to hold the 1.5KW spindle motor. As the driver chip supports the maximum 3A current, so the replacement of a stepper motor, and now use up much better.

    cnc.jpg.f7bc4dbfd8e1c1ecf2b4c9e77cc910ce.jpg

    motor1.jpg.aee2cdc5955cee2d8af273cdca8b0ca6.jpg

    motor2.jpg.a902df50d60a81dd2e0c00139ac84f49.jpg

×
×
  • Create New...