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.
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
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.
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)
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.
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
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.
+Three Monkeyz Thanks, still I don't freaking get why the hell every release they change the libraries headers names...
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
If number of pin avalable is a problem you can still think about a screen wich use a SPI connection.Much less pins used.
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.
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)
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.
hai everyone....how to factory default the arduino mega adk?...I am new in this sector...pleas help
what devices support adk? tablets? how about handsets?
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.
Hi! do you know any Arduino Mega ADK with Android projects or examples that controls the output of the board?
whats the solution to the cap sense problem??
Have you had any luck getting the adk aoap 2.0 on this?
Do we have to buy Mega Adk ? Can we use Arduino Uno ?
Can you please give the download links for the AndroidAccessory
sir , i have a doubt
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
i solved the problem. i was using wrong google adk, for mega 2560 must i use adk 2011 not 2012. Many thanks.
Aidez moi svp pour la connection entre une tablette android et arduino mega adk dans mon projet Plateforme de controle à distance de smarthouse
Hello, i have de capsense library problem too, What have i to do? Thx, great video!
thanks man!
This is awesome thanks!
Hi!, could yo giveme the adk 2011 please, i can´t find the adk 2011 only 2012. tanks
Also the USB_Host_Shield download links please
Thanks for the info
Thanks
developer.android.com/tools/adk/adk.html look this site for your problem.
I made that mistake :/
Hi james,
You can get it from here
github(dot)com/felis/USB_Host_Shield
i sent to your email new code for Capacitivesense library
Mega
nothing valuable...
waste of time