Arduino API
#1
The fact Pine64 has many free GPIO and comms interfaces, makes it a great candidate for an Arduino API.

I have been a contributor to the Arduino project for quite some time now, and have seen it grow to other great devices like the ESP8266 and such. Basically I think an Arduino API for Pine64 linux would be quite useful for non-programmers and the like. 

Now that the IDE is quite versatile, a Pine64 can be integrated directly in. And the simple API with a reference/documentation already (on arduino.cc) would make it quite fun and simple to use, not to mention extendable by numerous Linux libs already available.

I'm going to start putting together a core for the Pine64 (attempt to anyway). I'll start implementing the high level shell and things common to linux like console in/output (Serial), Ethernet, even the EEPROM can be emulated as a per-program storage block on the SD card.

And then add in the low level features of GPIO manipulation. And any packaged drivers can be simply wrapped by Arduino libs (use driver for SPI, I2C if available, rather than bit-banging). However this will probably have to wait until I have something to test against. Plus the pin mapping will have to match that of the Arduino form-factor shield I have seen the creators talking about.

As my board probably won't make it to Australia until probably April, I have plenty of time to begin a basic implementation, but I'm curious to see who else might be interested in this, or more so interested in helping out.

I have created an empty repo here. However, I'm quite busy for the next few days, including researching what is available on the A64,  but will get at least a start happening by the end of the week coming and pushed up to GitHub.

Cheers
#2
+1
i'm in.!
im interested in this too Big Grin
if u can give me some information about how to integrate it i can help on this Smile
By. Zoidiano0!
Installed:
LAMP: Linux , Apache2.4 , Mariadb, phpMyadmin, PHP5 
Java 8 arm by oracle
Netbeans 8.1
chromium (uses way toooo much Ram)

Pine64 Head Unit Project.!
#3
for rpi connector I think that is like raspberry pi, you can search on the web tutorial between, arduino and raspberry pi.
however for euler connector i don't know. otherwise There has serial bus between arduino and the board.

But if we can a tutorial for use GPIO, it will be good.
#4
(01-24-2016, 11:47 AM)hazerty Wrote: for rpi connector I think that is like raspberry pi, you can search on the web tutorial between, arduino and raspberry pi.
however for euler connector i don't know. otherwise There has  serial bus between arduino and the board.

But if we can a tutorial for use GPIO, it will be good.

We are currently design one Sheild Adapter board and has analog IO, the board will sit between Pi and Euler bus.
#5
Opine, this would be amazing. I am watching your github repo!
#6
We have already start developed the Shield Adapter board, here is the info: http://wiki.pine64.org/index.php/POT#POT...PMARD01.29
#7
Any news here on the Arduino implementation and/or the Shield adpater?

I'm quite interested here as well.

The Repo is still empty and is there a rough ETA for the adapter?
#8
(03-10-2016, 08:33 AM)tithrion Wrote: Any news here on the Arduino implementation and/or the Shield adpater?

I'm quite interested here as well.

The Repo is still empty and is there a rough ETA for the adapter?

We will resume back Shield adapter on April after deliver the POT modules listed in backer kit.


Forum Jump:


Users browsing this thread: 1 Guest(s)