Results 1 to 5 of 5
  1. #1
    25+ Posting Member
    Join Date
    Jun 2014
    Location
    france
    Posts
    42
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    serial 2 arduino ?

    Hi ,
    I ve finish my mcp and got RVB Encoder , Btw the Mega is full so i wanted to know if i can serial a uno for example only to code the RVB of the encoder??
    and does the uno will be able to get variables from 1 st card ?( Ie: if i want illuminate with a specific color the encoder when overspeed )



    thanks
    Attached Images Attached Images

  2. #2
    75+ Posting Member
    Join Date
    Aug 2015
    Location
    Montreal
    Posts
    106
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: serial 2 arduino ?

    Look for i2c communication. You can order arduino from a master arduino in a i2c network.

  3. Thanks xflight38 thanked for this post
  4. #3
    150+ Forum Groupie
    Join Date
    Nov 2013
    Location
    Evansville, Indiana
    Posts
    243
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: serial 2 arduino ?

    Like SimSupervisor said..
    Look up i2c.
    And "Wire" Library.

    ~Fess
    I will only ever be, half the Geek that I wished I was.
    TheGeekForge.Com

  5. Thanks xflight38 thanked for this post
    Likes SimSupervisor liked this post
  6. #4
    75+ Posting Member
    Join Date
    Aug 2015
    Location
    Montreal
    Posts
    106
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: serial 2 arduino ?

    here's an "official" example from Arduino, that works easy.

    https://www.arduino.cc/en/Tutorial/MasterReader



    In theory, with this method, you can put an unlimited number of Arduinos on a single "card" in Link2FS, having "slave" units communicate to a "main" unit.

    I am looking at doing something like that for some of my interfacing. Arduino Nanos are cheap enough to be used for some processing and reducing the load on the "master" interface arduino card that connects to the PC.

  7. Thanks xflight38 thanked for this post
  8. #5
    25+ Posting Member
    Join Date
    Jun 2014
    Location
    france
    Posts
    42
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: serial 2 arduino ?

    Ok ,
    Thanks for the information.
    Ill order an uno and trying to test so .
    PS/ Simsupervisor if you have an example skectch with Fs2link example into can u share ? Thanks !