Announcement

Collapse
No announcement yet.

Serial read/write? Aka interfacing with an arduino

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Serial read/write? Aka interfacing with an arduino

    I am trying to decide on if I want to go with a car pc on my next build and decided it'll primarily hinge on arduino integration. Does RR have the ability to communicate with and arduino via the serial signal on the com port?
    New System in progress:
    M10k
    Phaze TD1500 ~> Dynaudio MD130
    Phaze TD1500 ~> Seas g18rnx/p
    Zapco Ref 500.1 ~ 12" tc-9
    Behringer DCX2496 ~ Envision Electronics psu
    Transflective Xenarc

    My Car Pc Install
    My Boat Pc worklog

  • #2
    45 views and no input. I have been thinking about this for a while now and after reading the faq http://www.mp3car.com/rr-faq/86680-h...n-with-rr.html I think i have a very simple 'hack' that will get some basic functionality and a sudo 'serial' interface of sorts. the Arduino can simulate keyboard presses, so instead of serial, it can communicate that way. I assume it doesn't really help if you need a realtime analog input but it's a hack for now. but that doesn't solve the output issue... only input

    another option is to embed an processing2.js app
    Last edited by scott_fx; 01-14-2014, 02:55 PM.
    New System in progress:
    M10k
    Phaze TD1500 ~> Dynaudio MD130
    Phaze TD1500 ~> Seas g18rnx/p
    Zapco Ref 500.1 ~ 12" tc-9
    Behringer DCX2496 ~ Envision Electronics psu
    Transflective Xenarc

    My Car Pc Install
    My Boat Pc worklog

    Comment


    • #3
      You should have a look at phidgets. There are plugins or built in support for CF, RR and Driveline will do all you want and analog too. Just a suggestion SNO

      Comment


      • #4
        I'm in a bit deep with arduino right now and there is a level of versatility i can achieve with arduino that i can't with phidgets... with out knowing c++
        thanks for the suggestion though
        New System in progress:
        M10k
        Phaze TD1500 ~> Dynaudio MD130
        Phaze TD1500 ~> Seas g18rnx/p
        Zapco Ref 500.1 ~ 12" tc-9
        Behringer DCX2496 ~ Envision Electronics psu
        Transflective Xenarc

        My Car Pc Install
        My Boat Pc worklog

        Comment


        • #5
          If you really desire that you could always look at the code for the phidgets plugin and built your own plugin...

          Comment


          • #6
            Originally posted by redheadedrod View Post
            If you really desire that you could always look at the code for the phidgets plugin and built your own plugin...
            hmm..not sure if this is out of my capacity but it's worth looking into! thanks for the suggestion
            New System in progress:
            M10k
            Phaze TD1500 ~> Dynaudio MD130
            Phaze TD1500 ~> Seas g18rnx/p
            Zapco Ref 500.1 ~ 12" tc-9
            Behringer DCX2496 ~ Envision Electronics psu
            Transflective Xenarc

            My Car Pc Install
            My Boat Pc worklog

            Comment


            • #7
              What arduino are you using for keyboard emulation?

              Also what information are you trying to communicate between the arduino and RR?

              Comment


              • #8
                you can use a mega adk for the keyboard emulation.

                things i want to control:
                outputs:
                seat heaters
                power locks,
                power windows
                possibly distance sensor

                inputs:
                rotary encoder
                capacitance buttons
                i have a shield that will take voice commands which i'd like to map them to certain functions.

                i'd probably set it up so you dont need to have the pc running to use most of the features (door locks, windows etc...)
                New System in progress:
                M10k
                Phaze TD1500 ~> Dynaudio MD130
                Phaze TD1500 ~> Seas g18rnx/p
                Zapco Ref 500.1 ~ 12" tc-9
                Behringer DCX2496 ~ Envision Electronics psu
                Transflective Xenarc

                My Car Pc Install
                My Boat Pc worklog

                Comment


                • #9
                  Originally posted by scott_fx View Post
                  I am trying to decide on if I want to go with a car pc on my next build and decided it'll primarily hinge on arduino integration. Does RR have the ability to communicate with and arduino via the serial signal on the com port?
                  An plugin that communicate with arduino exist !

                  Comment


                  • #10
                    Originally posted by pierrotm777 View Post
                    An plugin that communicate with arduino exist !
                    i've searched the plugin dir for arduino and haven't found anything. What is the name of the plugin?
                    New System in progress:
                    M10k
                    Phaze TD1500 ~> Dynaudio MD130
                    Phaze TD1500 ~> Seas g18rnx/p
                    Zapco Ref 500.1 ~ 12" tc-9
                    Behringer DCX2496 ~ Envision Electronics psu
                    Transflective Xenarc

                    My Car Pc Install
                    My Boat Pc worklog

                    Comment


                    • #11
                      http://www.pccar.ru/showthread.php?t=16718

                      iCarDS is a russian copy of our RoadRunner !

                      iCarduino is a plugin for iCarDS but compatible with RR !

                      Comment


                      • #12
                        Originally posted by pierrotm777 View Post
                        http://www.pccar.ru/showthread.php?t=16718

                        iCarDS is a russian copy of our RoadRunner !

                        iCarduino is a plugin for iCarDS but compatible with RR !
                        awesome! thank you for this. gonna check it out!
                        New System in progress:
                        M10k
                        Phaze TD1500 ~> Dynaudio MD130
                        Phaze TD1500 ~> Seas g18rnx/p
                        Zapco Ref 500.1 ~ 12" tc-9
                        Behringer DCX2496 ~ Envision Electronics psu
                        Transflective Xenarc

                        My Car Pc Install
                        My Boat Pc worklog

                        Comment

                        Working...
                        X