chipKIT® Development Platform

Inspired by Arduino™

ADK libraries

Created Sun, 16 Oct 2011 14:03:49 +0000 by Nyck


Nyck

Sun, 16 Oct 2011 14:03:49 +0000

is possible use ADK libraries used for arduino mega on chipkit max32 with network shield?

the libraries are in firmware/arduino_libs/androidaccessory, the usb host libraries for arduino usb shield are in firmware/arduino_libs/USB_host_shield, but if chipkit max32 use their usb host libraries, android accessory one should work, or not?

you can find the libraries in android developers site->dev guide->USB->open accessory dev kit->adk package download

sorry for my bad english :lol:


Nyck

Mon, 17 Oct 2011 10:03:01 +0000

can anyone answer my question? also from diiglent


cobbj

Fri, 11 Nov 2011 21:25:01 +0000

Nyck -

I just made a posting about ADK software for chipKIT:

[url]http://chipkit.org/forum/viewtopic.php?f=7&t=545[/url]

Your specific question is something I'll be looking into soon!


Jacob Christ

Sun, 13 Nov 2011 22:28:46 +0000

I got the circuitsathome.com code to work with the UNO32 using the MAX3421e. It only took me about 40 hours. I sent the code to Oleg at circuitsathome and I know he bought a chipKIT board, but I don't know if he has rolled in my changes into his code. It was written so that it should work on both Arduino and Uno32.

Also sounds like the code from cobbj is the way to go, the MAX3421e is like $9 single quantity.

Jacob


cobbj

Mon, 14 Nov 2011 15:35:15 +0000

Jacob -

Is their library already written to be used in the Arduino IDE?


Jacob Christ

Mon, 14 Nov 2011 16:48:50 +0000

Is their library already written to be used in the Arduino IDE?

Yes.

For some reason Oleg rolled his own SPI code which worked to my advantage since at the time I was working on this the SPI libs for chipKIT were not fully functional.

The biggest issue I had in porting was that he had used int types and an int on Arduino is not the same as an int on chipKIT. I think Oleg was going to change to a portable ctypes lib to fix this.

I can post my code, but my hope was that Oleg would roll my changes into his repo so there was not a fork.

My changes should work on both Arduino as well as chipKIT, but I haven't tested on Arduino since I don't have a board, nor do I want one.

Jacob


jpehs

Mon, 30 Apr 2012 14:53:15 +0000

I got the circuitsathome.com code to work with the UNO32 using the MAX3421e. It only took me about 40 hours. I sent the code to Oleg at circuitsathome and I know he bought a chipKIT board, but I don't know if he has rolled in my changes into his code. It was written so that it should work on both Arduino and Uno32. Also sounds like the code from cobbj is the way to go, the MAX3421e is like $9 single quantity. Jacob

Hey Jacob, could you explain how you did that? or post the code?

Best regards


Jacob Christ

Tue, 06 May 2014 21:50:33 +0000

Just saw this while looking for a different post... The code is here:

https://github.com/JacobChrist/USB_Host_Shield/tree/chipKIT-dev

Jacob