Graupner MX 16 Hott - Spektrum Erweiterung

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • floflo
    floflo

    #16
    AW: Graupner MX 16 Hott - Spektrum Erweiterung

    To Kalessin: You are right the mx 20 don't have a module, but I plugged it in the dsc plug like Thordrees did on the first page.

    To mha: Thank you very much!

    It is really interresting, and I already have a Dx4e that I don't use.

    I just have some questions:

    How can I programm the arduino?

    Why did you draw one resistor in dotted lines?

    The component marked 4K7 is a 4.7Kohm resistor, isn't it?

    How many channel do you have with this?

    Again thank you, I really hope to do this module!
    Flo

    Kommentar

    • mha
      mha
      Senior Member
      • 10.10.2009
      • 1041
      • Michael

      #17
      AW: Graupner MX 16 Hott - Spektrum Erweiterung

      Zitat von floflo Beitrag anzeigen
      ...

      I just have some questions:

      How can I programm the arduino?

      Why did you draw one resistor in dotted lines?

      The component marked 4K7 is a 4.7Kohm resistor, isn't it?

      How many channel do you have with this?

      Again thank you, I really hope to do this module!
      Flo
      Flo

      Software for the Arduino boards is developed and downloaded with the Arduino IDE (Arduino - Software ). All you need is:
      1. Arduino board. In my case the Arduino Mini Pro 8 Mhz 3.3V (eg Arduino Pro Mini 328 - 3.3V/8MHz - SparkFun Electronics)
      2. USB/RS232 FTDI to make the physical connection to the board for downloading software (eg FTDI Basic Breakout - 3.3V - SparkFun Electronics)

      The resistor in dottet lines is a pullup for the PPM input signal. Some radios need it, some don't. As in my case I had to sketch a little pulse amplifier I didn't need it.

      Right, 4k7 = 4.7KOhm.

      The number of channels is defined in the software and also dependant on how many channels your radio outputs in the PPM pulse stream. I have set it to 6 as this is sufficient for flying the Blade MCPx. The maximum number of channels the AMTX11 can transmit? I don't know. You would have to try. I think 8 minimum.

      I have attached the software I am running. One minor change to the diagram I posted: the bind switch is a bind jumper. Jumper on: normal operation, jumper off, bind mode.

      The Arduino Mini Pro has a green LED on board. I have set the software to use the LED as mode indicator:
      - slow flash: normal operation, ie PPM input ok and datastream to the AMTX11 ok
      - fast flash: PPM input problem --> failsafe (values set statically in the software)
      - always on: bind mode

      Good luck

      Michael
      Angehängte Dateien
      Je älter ich werde, desto besser war ich.

      Kommentar

      • floflo
        floflo

        #18
        AW: Graupner MX 16 Hott - Spektrum Erweiterung

        Ok! Thank you!!

        I'm really exciting about this!

        I have the same radio you have, a MX-20, so I guess I just have to do the exact same thing!

        I will order the board and adaptater but I could need some more help! soldering represents no problem for me, but programming does!!

        It would be perfect if I could get 9 channels to use one receiver I have. Do you know how many channels the mx 20 outputs through the dsc plug?

        I didn't really like your last sentence: "good luck" did you have some problems?
        Flo

        Kommentar

        • mha
          mha
          Senior Member
          • 10.10.2009
          • 1041
          • Michael

          #19
          AW: Graupner MX 16 Hott - Spektrum Erweiterung

          Zitat von floflo Beitrag anzeigen
          Ok! Thank you!!

          I'm really exciting about this!

          I have the same radio you have, a MX-20, so I guess I just have to do the exact same thing!

          I will order the board and adaptater but I could need some more help! soldering represents no problem for me, but programming does!!

          It would be perfect if I could get 9 channels to use one receiver I have. Do you know how many channels the mx 20 outputs through the dsc plug?

          I didn't really like your last sentence: "good luck" did you have some problems?
          Flo
          Flo

          Don't worry. It is no big deal. The hardest thing to do is to extract the AMTX11 from the DX4. Do not try soldering. Best is to use a cutting wheel (eg DREMEL® 4000 (4000-1/45) - Dremel) to cut the AMTX11 pins as close as possible to the main pcb of the radio. So approx. 1mm pin length is left on the AMTX11 which is perfect to solder the required connections. Btw the DX4 without the AMTX11 is still usable as simulator radio.

          The software I attached is ready to use as long as you buy the Arduino Mini Pro 8Mhz 3.3V. So all you have to manage programming wise is to connect the FTDI to download the software.

          The MX-20 can be set to output 5, 9 or 12 channels in the PPM stream at the DSC port (menu basic settings: PPM10, PPM18, PPM 24). At first try the software as it is (6 Channels will be transmitted) and the MX-20 set to PPM-18.

          Good luck:-)

          Michael
          Je älter ich werde, desto besser war ich.

          Kommentar

          • floflo
            floflo

            #20
            AW: Graupner MX 16 Hott - Spektrum Erweiterung

            Ok! I would have try to unsolder the module out of the dx4...

            I assumed that I could still use the dx4 trainer port, but thanks for the good news! Do you know that it works perfecty as a trainer radio with the mx 20?! And it works both ways, so I tried to control a spektrum receiver with the mx 20 via the dx4. It is not very practical, but you still get 6 channels and all the mixage from the mx 20

            I ordered the arduino, I hope it will be here soon!
            About pragramming, I saw on pictures that there are 6 pins to connect the board to the usb adapter.

            How did you suceed to keep only 3? Do you power the arduino with the radio?

            One last thing: Why did you put a jumper for the binding mode? If I understood well, there is a 2 positions switch that control binding mode and normal mode?

            Kommentar

            • mha
              mha
              Senior Member
              • 10.10.2009
              • 1041
              • Michael

              #21
              AW: Graupner MX 16 Hott - Spektrum Erweiterung

              Yes, I tried the DX4 as pupils radio and the MX-20 as teacher. Works fine, even after removal of the AMTX11.

              For programming I only connected GND/RX/TX just to be as minimalistic as possible. And yes, the Arduino then needs to be powered seperately, either throug the full connection to the MX-20 (5V from the data socket and plugged in PPM plug for GND) or through an external battery pack.

              The jumper is for the same reason. Minimal external componets. If you have a close look at my pictures you will find the jumper to the left of the programming connector. Jumper on: normal mode, jumper of: bind mode.
              Je älter ich werde, desto besser war ich.

              Kommentar

              • floflo
                floflo

                #22
                AW: Graupner MX 16 Hott - Spektrum Erweiterung

                Hi!

                I received the arduino, made the circuit, but it is not working!

                I have the led on the arduino flashing slowly and going solid when I remove the jumper, but I can't get it to bind.

                Do you have an idea where it could come from?

                Thank you very much

                Florian

                Kommentar

                • floflo
                  floflo

                  #23
                  AW: Graupner MX 16 Hott - Spektrum Erweiterung

                  I tried to plug the amtx11 back in the dx4e, and it is working perfectly, but I saw that 2 more wires and used, what are they for?

                  And by the way, I don't know if there are several versions of the dx4e, but mine is dsmx and french.

                  Please help me!

                  Kommentar

                  • mha
                    mha
                    Senior Member
                    • 10.10.2009
                    • 1041
                    • Michael

                    #24
                    AW: Graupner MX 16 Hott - Spektrum Erweiterung

                    Should work.

                    Did you replace the
                    #define DEBUG with
                    #define De_BUG to disable debugging.

                    Try to remove the jumper prior to powering the board.

                    V3 with minor corrections and support for MCPx binding as computer radio attached
                    Angehängte Dateien
                    Je älter ich werde, desto besser war ich.

                    Kommentar

                    • floflo
                      floflo

                      #25
                      AW: Graupner MX 16 Hott - Spektrum Erweiterung

                      I didn't change anything. Should I?

                      I tried with DE_BUG and DEBUG and none is working.
                      Zuletzt geändert von Gast; 14.01.2012, 17:56.

                      Kommentar

                      • mha
                        mha
                        Senior Member
                        • 10.10.2009
                        • 1041
                        • Michael

                        #26
                        AW: Graupner MX 16 Hott - Spektrum Erweiterung

                        Load the V3 Software I attached.
                        Then replace #define DE_BUG with #define DEBUG.
                        Just connect PPM and GND from the radio to the board and leave the FTDI attached (board powerd by the FTDI)
                        The green LED should on the board should flash slowly
                        Then select Tools/Serial monitor and select 112500
                        You should now see a data stream
                        Copy the output and post it here.
                        Remove the bind jumper
                        Copy this output as well (the first byte in the stream should have changed from 00 to 80
                        Copy the output and post it here too.
                        Je älter ich werde, desto besser war ich.

                        Kommentar

                        • floflo
                          floflo

                          #27
                          AW: Graupner MX 16 Hott - Spektrum Erweiterung

                          Ok! I don't have 112500, but "115200 baud" in the bottom right corner, is that it?

                          If it is, there are the 2 outputs:

                          00 00 | 01B1 (K1: -15) 05EC (K2: -4) 09EB (K3: -4) 0DEA (K4: -4) 11EC (K5: -4) 145F (K6: -83) 8922
                          00 00 | 01B0 (K1: -16) 05EC (K2: -4) 09EC (K3: -4) 0DE9 (K4: -4) 11EC (K5: -4) 1460 (K6: -83) 8921
                          00 00 | 01B0 (K1: -16) 05EC (K2: -4) 09EB (K3: -4) 0DEA (K4: -4) 11EB (K5: -4) 1462 (K6: -82) 8922
                          00 00 | 01B0 (K1: -16) 05EC (K2: -4) 09EB (K3: -4) 0DEA (K4: -4) 11EB (K5: -4) 1461 (K6: -83) 8921
                          00 00 | 01B0 (K1: -16) 05EB (K2: -4) 09EB (K3: -4) 0DEA (K4: -4) 11EB (K5: -4) 1462 (K6: -82) 8920
                          00 00 | 01B0 (K1: -16) 05EC (K2: -4) 09EB (K3: -4) 0DEA (K4: -4) 11EB (K5: -4) 1461 (K6: -83) 8922
                          00 00 | 01B0 (K1: -16) 05EC (K2: -4) 09EB (K3: -4) 0DEA (K4: -4) 11EC (K5: -4) 1460 (K6: -83) 8921
                          00 00 | 01B0 (K1: -16) 05EC (K2: -4) 09EC (K3: -4) 0DEA (K4: -4) 11EB (K5: -4) 1460 (K6: -83) 8922
                          00 00 | 01B0 (K1: -16) 05EC (K2: -4) 09EB (K3: -4) 0DEA (K4: -4) 11EB (K5: -4) 1461 (K6: -83) 8922
                          00 00 | 01AF (K1: -16) 05EC (K2: -4) 09EC (K3: -4) 0DEA (K4: -4) 11EB (K5: -4) 1461 (K6: -83) 8922




                          80 00 | 01AF (K1: -16) 05EC (K2: -4) 09EC (K3: -4) 0DE9 (K4: -4) 11EB (K5: -4) 1462 (K6: -82) 8920
                          80 00 | 01B0 (K1: -16) 05EC (K2: -4) 09EC (K3: -4) 0DE9 (K4: -4) 11EC (K5: -4) 1462 (K6: -82) 8920
                          80 00 | 01B0 (K1: -16) 05EB (K2: -4) 09EB (K3: -4) 0DEA (K4: -4) 11EB (K5: -4) 1462 (K6: -82) 8920
                          80 00 | 01B0 (K1: -16) 05EC (K2: -4) 09EC (K3: -4) 0DEA (K4: -4) 11EB (K5: -4) 1462 (K6: -82) 8920
                          80 00 | 01B0 (K1: -16) 05EC (K2: -4) 09EB (K3: -4) 0DE9 (K4: -4) 11EC (K5: -4) 1460 (K6: -83) 8921
                          80 00 | 01B0 (K1: -16) 05EC (K2: -4) 09EB (K3: -4) 0DEA (K4: -4) 11EB (K5: -4) 1462 (K6: -82) 8920
                          80 00 | 01B0 (K1: -16) 05EC (K2: -4) 09EB (K3: -4) 0DE9 (K4: -4) 11EB (K5: -4) 1462 (K6: -82) 8920

                          Kommentar

                          • mha
                            mha
                            Senior Member
                            • 10.10.2009
                            • 1041
                            • Michael

                            #28
                            AW: Graupner MX 16 Hott - Spektrum Erweiterung

                            Do the values in change on stick movements?
                            Je älter ich werde, desto besser war ich.

                            Kommentar

                            • floflo
                              floflo

                              #29
                              AW: Graupner MX 16 Hott - Spektrum Erweiterung

                              Yes it does!

                              Kommentar

                              • mha
                                mha
                                Senior Member
                                • 10.10.2009
                                • 1041
                                • Michael

                                #30
                                AW: Graupner MX 16 Hott - Spektrum Erweiterung

                                Is the module connected to a MX-16 and is V3 running?

                                Change #define DEBUG back to #define DE_BUG to disable debugging and flash the module again

                                Did you copy my connection to the MX-20? PPM and GND from the DSC socket, +5V from the DATA socket (middle pin)?

                                Then try this sequence:
                                - remove bind jumper
                                - power the MCPx (MCPx starts flashing the blue LED rapidly)
                                - plug in the DSC plug (MX-16 starts up)
                                - plug in the power connection in the DATA socket (module starts up, green LED is permanently on)
                                - push the rudder stick to the right and hold it
                                - give it 30-60s time
                                Je älter ich werde, desto besser war ich.

                                Kommentar

                                Lädt...
                                X