Connecting DUE to Android

Home Forums Hardware Arduino Due Connecting DUE to Android

This topic contains 31 replies, has 0 voices, and was last updated by Profile photo of Eric Eric 2 years, 9 months ago.

Viewing 15 posts - 1 through 15 (of 33 total)
  • Author
    Posts
  • #183
    Profile photo of -Jeff-
    -Jeff-
    Participant

    not having luck..

    Got my DUE.. flashed the master.cpp.bin as stated in your post..

    connected it to my android device and it sees nothing.

    I have a USB OTG cable

    It does not detect the accessory

    #479
    Profile photo of Eric
    Eric
    Keymaster

    Which side is the OTG cable hooked up? It needs to be OTG cable in the “Native USB” port, the one farthest from the power connector. Then the micro USB cable plugs into the OTG cable, and then into your Android device. It’s opposite of what t

    #504
    Profile photo of -Jeff-
    -Jeff-
    Participant

    got it working.. I think my OTG cable has a issue.. but it works

    I have another consistent issue though

    -Connect DUE
    -Set pin
    -pin toggles
    -Connect ALDL Cable
    -Pin no longer toggles

    -Disconnect DUE from Android
    -Connect to Android
    -Pin Toggles

    -Discon

    #505
    Profile photo of Eric
    Eric
    Keymaster

    I’m not sure what to suggest right now… maybe after I see the video I’ll have a better idea.

    #506
    Profile photo of -Jeff-
    -Jeff-
    Participant

    More oddly acting items

    above was using SIDE Menus

    works fine if the buttons are the Home Buttons..

    -Check Toggle (Side) working
    -Check Toggle (Home) working
    -Launched ALDL
    -Pressed home
    -Selected Autosense
    -Press SIDE Toggle – Not working
    -Press HOME

    #507
    Profile photo of Eric
    Eric
    Keymaster

    Hmmm, ok, well that’s good info. I will see if I can reproduce the issue.
    With the firmware changes the color changing has been temporarily removed. It will be back. I’m trying desperately to get an Arduino IDE setup that doesn’t suck. I’m really hopi

    #508
    Profile photo of -Jeff-
    -Jeff-
    Participant

    ok.. Glad the Color change is on purpose

    here is the 2 buttons ( both control same LED)
    Home works Side does not.. maybe your code is different between the 2?

    <a class="postlink" href="https://drive.google.com/open?id=0B5WZBOc_LAb4QjVzLVo2TVJy

    #509
    Profile photo of -Jeff-
    -Jeff-
    Participant

    MORE:

    if I unplug and plug in the ALDL Cable both buttons quit. in the car they will always be connected (Planned) I will power down and check again

    Just realized.. I cannot test power off.. no memory for DUE

    #510
    Profile photo of Eric
    Eric
    Keymaster

    That second video is helpful. I will see if I can pin down the error. At least since it works on the home screen means it should work everywhere. Just gotta find what’s wrong.

    #511
    Profile photo of Eric
    Eric
    Keymaster

    One I test and make sure the new EEPROM code works I’m going to order up some boards. You can either buy one once they arrive, or you can wire up an EEPROM directly.
    Also if you want, the old EEPROM I was using will work with your current setup, but bu

    #513
    Profile photo of -Jeff-
    -Jeff-
    Participant

    Well.. I am planning on getting this in the car next month.. the Arduino may or may not be installed then.. I have manual switches for what I am going to use the arduino for so it can wait

    #515
    Profile photo of Eric
    Eric
    Keymaster

    Does the button error happen only with your ALDL program, or does it happen when you launch other apps and return? I’ve yet been able to reproduce, it’s working properly so far.

    #517
    Profile photo of -Jeff-
    -Jeff-
    Participant

    @eric wrote:

    Does the button error happen only with your ALDL program, or does it happen when you launch other apps and return? I’ve yet been able to reproduce, it’s working properly so far.

    Never tried other apps..

    #519
    Profile photo of Eric
    Eric
    Keymaster

    Can you try it without the ALDL connected? And also other apps. If you reproduce the problem with as little connected and running as possible that would help me a great deal.

    #520
    Profile photo of -Jeff-
    -Jeff-
    Participant

    I can.. Give me a couple days. But it seemed fine as long as I did not manipulate the usb cables. I think it is something with android getting confused on which device is connected.

  • Author
    Posts
  • #183
    Profile photo of -Jeff-
    -Jeff-
    Participant
    • Offline

    not having luck..

    Got my DUE.. flashed the master.cpp.bin as stated in your post..

    connected it to my android device and it sees nothing.

    I have a USB OTG cable

    It does not detect the accessory

    #479
    Profile photo of Eric
    Eric
    Keymaster
    • Offline

    Which side is the OTG cable hooked up? It needs to be OTG cable in the “Native USB” port, the one farthest from the power connector. Then the micro USB cable plugs into the OTG cable, and then into your Android device. It’s opposite of what t

    #504
    Profile photo of -Jeff-
    -Jeff-
    Participant
    • Offline

    got it working.. I think my OTG cable has a issue.. but it works

    I have another consistent issue though

    -Connect DUE
    -Set pin
    -pin toggles
    -Connect ALDL Cable
    -Pin no longer toggles

    -Disconnect DUE from Android
    -Connect to Android
    -Pin Toggles

    -Discon

    #505
    Profile photo of Eric
    Eric
    Keymaster
    • Offline

    I’m not sure what to suggest right now… maybe after I see the video I’ll have a better idea.

    #506
    Profile photo of -Jeff-
    -Jeff-
    Participant
    • Offline

    More oddly acting items

    above was using SIDE Menus

    works fine if the buttons are the Home Buttons..

    -Check Toggle (Side) working
    -Check Toggle (Home) working
    -Launched ALDL
    -Pressed home
    -Selected Autosense
    -Press SIDE Toggle – Not working
    -Press HOME

    #507
    Profile photo of Eric
    Eric
    Keymaster
    • Offline

    Hmmm, ok, well that’s good info. I will see if I can reproduce the issue.
    With the firmware changes the color changing has been temporarily removed. It will be back. I’m trying desperately to get an Arduino IDE setup that doesn’t suck. I’m really hopi

    #508
    Profile photo of -Jeff-
    -Jeff-
    Participant
    • Offline

    ok.. Glad the Color change is on purpose

    here is the 2 buttons ( both control same LED)
    Home works Side does not.. maybe your code is different between the 2?

    <a class="postlink" href="https://drive.google.com/open?id=0B5WZBOc_LAb4QjVzLVo2TVJy

    #509
    Profile photo of -Jeff-
    -Jeff-
    Participant
    • Offline

    MORE:

    if I unplug and plug in the ALDL Cable both buttons quit. in the car they will always be connected (Planned) I will power down and check again

    Just realized.. I cannot test power off.. no memory for DUE

    #510
    Profile photo of Eric
    Eric
    Keymaster
    • Offline

    That second video is helpful. I will see if I can pin down the error. At least since it works on the home screen means it should work everywhere. Just gotta find what’s wrong.

    #511
    Profile photo of Eric
    Eric
    Keymaster
    • Offline

    One I test and make sure the new EEPROM code works I’m going to order up some boards. You can either buy one once they arrive, or you can wire up an EEPROM directly.
    Also if you want, the old EEPROM I was using will work with your current setup, but bu

    #513
    Profile photo of -Jeff-
    -Jeff-
    Participant
    • Offline

    Well.. I am planning on getting this in the car next month.. the Arduino may or may not be installed then.. I have manual switches for what I am going to use the arduino for so it can wait

    #515
    Profile photo of Eric
    Eric
    Keymaster
    • Offline

    Does the button error happen only with your ALDL program, or does it happen when you launch other apps and return? I’ve yet been able to reproduce, it’s working properly so far.

    #517
    Profile photo of -Jeff-
    -Jeff-
    Participant
    • Offline

    @eric wrote:

    Does the button error happen only with your ALDL program, or does it happen when you launch other apps and return? I’ve yet been able to reproduce, it’s working properly so far.

    Never tried other apps..

    #519
    Profile photo of Eric
    Eric
    Keymaster
    • Offline

    Can you try it without the ALDL connected? And also other apps. If you reproduce the problem with as little connected and running as possible that would help me a great deal.

    #520
    Profile photo of -Jeff-
    -Jeff-
    Participant
    • Offline

    I can.. Give me a couple days. But it seemed fine as long as I did not manipulate the usb cables. I think it is something with android getting confused on which device is connected.

Viewing 15 posts - 1 through 15 (of 33 total)

You must be logged in to reply to this topic.