View: 14725|Reply: 20

Orange pi plus 2

[Copy link]

17

threads

83

posts

382

credits

Intermediate member

Rank: 3Rank: 3

credits
382
Published in 2016-1-19 00:38:45 | Show all floors |Read mode
Edited by xwalter at 2016-1-19 00:39

hi to eveyone !
I want to buy an orange pi and I think to get the orange pi plus 2 , the more powerfull.
My application consist in a wifi - server and I need to manage mysql and more (apache2 , php , mysql).Orange pi plus 2 will be a server wifi and many more android devices will connect to it to send and receive data .
I 'd like to know wich image to choose for this board ....maybe the same of  orange pi plus , or not ? (difference between plus and plus 2 are MMC size , RAM size and little more).
My questions are related of "how to program this computer" because my interest is to install netbeans with java jdk and work directly
over the orange pi plus 2 , this is because I would like 2 Gb of RAM .
But working in java means to manage all of the features such as wifi , GPIO , serial comm and what else the board has .
What do you think about ? Is it feasible or I have to become crazy ?
Does the orange have a good software framework to work with it , like C/C++ wrapped library or java ?
Thanks a lot for your answers .
Walter

17

threads

83

posts

382

credits

Intermediate member

Rank: 3Rank: 3

credits
382
 Author| Published in 2016-1-19 00:45:32 | Show all floors
I'm still working with Android Studio , I program the android devices with this tool.
But install Android Studio on orange pi I think is hard ...more than 1 Gb for the installation and more then 1 Gb when working with it .
Unfortunately , Android Studio doesn't have a channel to send apk to embedded system , just only smart phone , tablet , TV ...but not orange pi  
So , what to do to program this amazing mini pc ?

17

threads

83

posts

382

credits

Intermediate member

Rank: 3Rank: 3

credits
382
 Author| Published in 2016-1-19 02:06:08 | Show all floors
do you think this SATA hard drive will work with orange pi plus 2?
http://www.aliexpress.com/item/m ... t=searchweb201556_2,searchweb201644_2_10001_10002_10005_301_10006_10003_10004_62,searchweb201560_2,searchweb1451318400_6148,searchweb1451318411_6449

1

threads

21

posts

111

credits

Registered member

Rank: 2

credits
111
Published in 2016-1-19 06:40:27 | Show all floors
Hi i just bought the orange pi plus 2, and i am using this image (http://www.orangepi.org/orangepi ... wthread&tid=867) if you decide to buy it i strongly recomned this image, so far really good, (almost) everything i test is working correctly, Ethernet, wifi, bluetooth (with dongle), GPU, video playback fluently. strongly recomended.

-Logan

17

threads

83

posts

382

credits

Intermediate member

Rank: 3Rank: 3

credits
382
 Author| Published in 2016-1-19 09:00:24 | Show all floors
hi xlogan .
Thanks for your tip.
I will install this version and then the netbeans or else. Do you think this OS is good also for development , I mean to write java code and connect with wifi , gpio etc ?
Ciao
Walter

1

threads

21

posts

111

credits

Registered member

Rank: 2

credits
111
Published in 2016-1-20 01:45:21 | Show all floors
Yes i have been used it as a desktop pc and the performance is good, you could give it a try, but as you are developing in java, java is cross-platform so you should be able to compile your code in your regular pc and then execute it in the OPI, i think it will be better. Just install the java SDK to run the java programs.

-Logan

17

threads

83

posts

382

credits

Intermediate member

Rank: 3Rank: 3

credits
382
 Author| Published in 2016-1-20 06:00:03 | Show all floors
Edited by xwalter at 2016-1-20 06:11

ok I will find info how to do this in java - eclipse or netbeans . The problem is how to handle GPIO ...for the serial I know there is RXTXComm.jar and .so  for Arm .....
Do you think it is possible to debug also with cross-compiler ? ...usually it can ...Each device is shown as file in unix-like OS, then I have to call C code fron java to create my own java-library framework.
From the terminal by using echo command it is possible to set and see the status of GPIO , I have just to focus on this ....



1

threads

21

posts

111

credits

Registered member

Rank: 2

credits
111
Published in 2016-1-20 22:59:00 | Show all floors
I know it is possible to debug using cross-compilation, i have done this in eclipse with c++ in a raspberry pi and a gumstix com, not in java, but i think it is possible.
For the GPIO you could use WiringPi library (WiringPi), haven't test it yet, but i will tonight.

-Logan

17

threads

83

posts

382

credits

Intermediate member

Rank: 3Rank: 3

credits
382
 Author| Published in 2016-1-21 01:41:42 | Show all floors
very nice this library ;)
It seems Arduino function style ...
I have ordered my new orange pi plus 2 at aliexpress ewith case, fan , micro card , sata cable and more ....Now I'm waiting for it

1

threads

21

posts

111

credits

Registered member

Rank: 2

credits
111
Published in 2016-1-21 03:11:39 | Show all floors
Thats nice to hear, that there is an addition to the users of the OPI PLUS2 .
See you around

-Logan
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list