About

I am a software developer and tinkerer living in Norway.

LinkedIn
github

4 Comments

  1. V. Papadopoulos

    November 17, 2013 at 17:10

    Hi,

    I saw your blog post about scaling multiwii endpoints.
    I need to do the same in a small quad, in which and i can’t extend the range beyond 1870 or below 1090.
    Could you help me? The problem is that it is customized multiwii 2.2 version for a board that uses integrated receiver. I am afraid I have no idea of programming.Everything I do in multiwii is “reverse engineering and googling”.
    The working rx.ino in my quad is this:
    What changes should I do?

    /**************************************************************************************/
    /*************** Global RX related variables ********************/
    /**************************************************************************************/

    #if defined(SPEKTRUM)
    #include //Auto-included by the Arduino core… but we need it sooner.
    #endif

    //RAW RC values will be store here
    #if defined(SERIAL_SUM_PPM)
    volatile uint16_t rcValue[RC_CHANS] = {MIDRC, MIDRC, MIDRC, MIDRC, MIDRC, MIDRC, MIDRC, MIDRC}; // interval [1000;2000]
    static uint8_t rcChannel[RC_CHANS] = {SERIAL_SUM_PPM};
    #endif

    /**************************************************************************************/
    /*************** RX Pin Setup ********************/
    /**************************************************************************************/
    void configureReceiver()
    {
    int chan;
    /****************** Configure each rc pin for PCINT ***************************/
    // Init PPM SUM RX
    #if defined(SERIAL_SUM_PPM)
    PPM_PIN_INTERRUPT;
    for (chan = 0; chan 3000) chan = 0;
    else if (DataReady) chan = 20;
    else
    {
    if(1000<diff && diff<1900 && chan<RC_CHANS ) rcValue[chan] = diff;
    chan++;
    if (chan == PPM_NUM_CHAN) DataReady = true;
    }
    }
    #endif

    /**************************************************************************************/
    /*************** compute and Filter the RX data ********************/
    /**************************************************************************************/

    bool computeRC()
    {
    uint8_t chan;
    if (DataReady)
    {
    DataReady = false;
    for (chan = 0; chan < RC_CHANS; chan++) rcData[chan] = rcValue[rcChannel[chan]];
    return true;
    }
    return false;
    }

    Thanx for your time

    V.Papadopoulos

  2. admin

    November 23, 2013 at 16:08

    The code i replaced is under this header in RX.ino:

    /**************************************************************************************/
    /*************** Standard RX Pins reading ********************/
    /**************************************************************************************/

    Read a little about patches and you should be able to understand 🙂
    My RX.ino does not look like yours, its much longer, maybe you have a heaviliy modified version of multiwii 2.2

  3. Catherine Michelet

    August 10, 2016 at 14:09

    Hei!

    Jeg har sett at det er du som har lagt ut instrumentalversjonen av Karpe Diem sin låt “Fireogtyvegods” på YouTube. Vi er en jentegjeng som ønsker å lage rap/sang til en venninne til denne låta i forbindelse med bryllupet hennes.

    Den versjonen som ligger på YouTube er dessverre ikke i så god lydkvalitet, og hvis man gjør den om til mp3-fil fra YouTube blir vel kvaliteten ytterligere svekket. Har du noen mulighet til å sende den i bedre kvalitet? Det hadde vært utrolig snilt og til veldig stor hjelp for oss!!

    Med vennlig hilsen

  4. admin

    August 10, 2016 at 15:03

    Hei

    Jeg har faktisk mp3’en ja. Send meg en melding på youtube så kan vi ordne det.

Leave a Reply

Your email address will not be published.

*

© 2017 Mikael Finstad

Theme by Anders NorenUp ↑