Tutorial - Mega ADK with Android

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ย. 2024

ความคิดเห็น • 34

  • @NosraVillage
    @NosraVillage 11 ปีที่แล้ว +11

    The solution for the cap sense:
    1. You download the file named arduino-libraries-CapacitiveSensor-3e33f75 from the playground section of the arduino homesite.
    2. After you put the two files(CapacitiveSensor and CapacitiveSensorDue) inside the libraries in your arduino folder(arduino/libraries/).
    3. You go to the file demokit example in the sketch and change the #include to #include
    4.Also change the Capsense touch_robot = Capsense(TOUCH_SEND, TOUCHRECV); to CapacitiveSensor touch_robot = CapacitiveSensor(TOUCH_SEND, TOUCH_RECV);
    5. Lastly you go down below and change the touchcount = touch_robot.capSensor(5); to touchcount = touch_robot.capacitiveSensor(5);
    This helped me to verify and upload the code to the arduino board, i think the problem was that they changed the header name in their latest release.

    • @Rapbando
      @Rapbando 8 ปีที่แล้ว +2

      +Three Monkeyz Thanks, still I don't freaking get why the hell every release they change the libraries headers names...

  • @neardood1
    @neardood1 8 ปีที่แล้ว

    OK after messing around with it I finally got it to work. I've included instructions to get it to work here:
    To Fix the CapSense Problem, change #include to #include
    Change Capsense touch_robot = Capsense(TOUCH_SEND, TOUCHRECV); to CapacitiveSensor touch_robot = CapacitiveSensor(TOUCH_SEND, TOUCH_RECV);
    Change the touchcount = touch_robot.capSensor(5); to touchcount = touch_robot.capacitiveSensor(5);
    You can use the 2012 Adk, however you need to delete init_joystick( 5 ); from the sketch
    Credit to the commenters below, thanks guys :)
    However the adk app doesn't work on my phone (s5) so its a bit of a lost cause. I had more luck with my tablet though but on that device there are no tabs

  • @roket99
    @roket99 11 ปีที่แล้ว

    If number of pin avalable is a problem you can still think about a screen wich use a SPI connection.Much less pins used.

  • @bogdan192
    @bogdan192 10 ปีที่แล้ว +1

    In case your board does not get recognized after flashing it and hooking it to the test device (phone/tablet/whatever), there is a posibility the code on your Arduino hangs at
    init_joystick( 5 );
    I commented that line out and the board got detected by the phone.

  • @SoeaOu
    @SoeaOu 12 ปีที่แล้ว

    excelent video, thanks
    I'm interested in buying arduino but i dont know which version to choose
    Do You think Arduino UNO r3 would be good for a beginer? because this mega ADK version is too pricey and doesnt have a bluetooth connection
    so I thought I would buy UNO and a bluetooth shield and make my own android app to control it wireless (my background is java programming)

  • @AzizHussAndroid
    @AzizHussAndroid 11 ปีที่แล้ว

    hello, how did you solve the problem, I was able to compile and upload but I i could not connect to the main board using the app.

  • @870811525599
    @870811525599 10 ปีที่แล้ว +1

    hai everyone....how to factory default the arduino mega adk?...I am new in this sector...pleas help

  • @rfbu
    @rfbu 12 ปีที่แล้ว

    what devices support adk? tablets? how about handsets?

  • @ufukcetinkaya86
    @ufukcetinkaya86 11 ปีที่แล้ว

    i tried with xperia z android ics, but i received error code. "Device descriptor cannot be retrieved. Trying again". Can anyone help for problem. Many Thanks.

  • @michelgomez29
    @michelgomez29 11 ปีที่แล้ว

    Hi! do you know any Arduino Mega ADK with Android projects or examples that controls the output of the board?

  • @thedawgdeluxe
    @thedawgdeluxe 11 ปีที่แล้ว

    whats the solution to the cap sense problem??

  • @OneTechy
    @OneTechy 12 ปีที่แล้ว

    Have you had any luck getting the adk aoap 2.0 on this?

  • @mavitrondestek7919
    @mavitrondestek7919 8 ปีที่แล้ว

    Do we have to buy Mega Adk ? Can we use Arduino Uno ?

  • @jamesdiaz100
    @jamesdiaz100 12 ปีที่แล้ว

    Can you please give the download links for the AndroidAccessory

  • @shiva9989509341
    @shiva9989509341 8 ปีที่แล้ว

    sir , i have a doubt

  • @RinksRides
    @RinksRides 11 ปีที่แล้ว

    if you ever want to use a tft shield with touch, you'll run out of i/o's fast with the uno. Raspberry Pi version is way better. I have a 2560 ADK and it loads the tft demos kinda slow, but this is only because the AVR 2560 maxes out @ 16MHz. I'm new to arduino, coming from Parallax Propeller running @ 80MHz(stable to 120MHz). But the Propeller lacks ADC input naitive, & it's 3.3V

  • @ufukcetinkaya86
    @ufukcetinkaya86 11 ปีที่แล้ว

    i solved the problem. i was using wrong google adk, for mega 2560 must i use adk 2011 not 2012. Many thanks.

  • @haifatrabelsi7516
    @haifatrabelsi7516 10 ปีที่แล้ว +1

    Aidez moi svp pour la connection entre une tablette android et arduino mega adk dans mon projet Plateforme de controle à distance de smarthouse

  • @FiXe0
    @FiXe0 11 ปีที่แล้ว

    Hello, i have de capsense library problem too, What have i to do? Thx, great video!

  • @kirandev
    @kirandev 10 ปีที่แล้ว +1

    thanks man!

  • @mJones6
    @mJones6 12 ปีที่แล้ว

    This is awesome thanks!

  • @sadn89
    @sadn89 11 ปีที่แล้ว

    Hi!, could yo giveme the adk 2011 please, i can´t find the adk 2011 only 2012. tanks

  • @jamesdiaz100
    @jamesdiaz100 12 ปีที่แล้ว

    Also the USB_Host_Shield download links please

  • @ChrisNorris
    @ChrisNorris 10 ปีที่แล้ว

    Thanks for the info

  • @runman69
    @runman69 12 ปีที่แล้ว

    Thanks

  • @ufukcetinkaya86
    @ufukcetinkaya86 11 ปีที่แล้ว

    developer.android.com/tools/adk/adk.html look this site for your problem.

  • @ahmedzacky9655
    @ahmedzacky9655 11 ปีที่แล้ว

    I made that mistake :/

  • @ahmedzacky9655
    @ahmedzacky9655 11 ปีที่แล้ว

    Hi james,
    You can get it from here
    github(dot)com/felis/USB_Host_Shield

  • @ufukcetinkaya86
    @ufukcetinkaya86 11 ปีที่แล้ว

    i sent to your email new code for Capacitivesense library

  • @megayoy3815
    @megayoy3815 9 ปีที่แล้ว

    Mega

  • @IvanTodev
    @IvanTodev 11 ปีที่แล้ว

    nothing valuable...

  • @DraganGTD
    @DraganGTD 11 ปีที่แล้ว

    waste of time