Java tools for UDOO Neo board are a set of java class allowing access to GPIOs, sensors, serial port, a complete REST service and to an 16x2 LCD wired using GPIOs. Those tools are published under GPL V2 and source are available for download on Github https://github.com/BOSSoNe0013/NeoJava Push request are also welcome Latest release added accelerometer, magnetometer and gyroscope sensors support. I've also published a java client for the REST service, UDOO Neo Controller, allowing you to easily managed GPIOs through a network connection : https://github.com/BOSSoNe0013/UDOONeoController
Cyril, are you this guy on Twitter? I mentioned you, I hope he's you! https://twitter.com/CyrilBosselut
Aren't the GPIOs just accessed as files? No reason it wouldn't work on Quad, and it shouldn't be too difficult to write it yourselves.
I don't own a quad but i think it should work, at least thé GPIO part Envoyé de mon Nexus 5X en utilisant Tapatalk
That's what I'm doing I've just forked your repo to make NeoJava work on Neo Quad (https://github.com/fpompermaier/NeoJava). I also mavenized the project to simplify a bit some boring tasks (like avoid the manual part of downloading required dependencies, keep version and app name in the code, creating the manifest, etc..). Now it works just calling ./jrun.sh but I had to use /dev/ttymx3 instead of /dev/ttyMCC to communicate with the Arduino serial port!
Definitely! But first I should refactor a little bit to make it work with both models of Udoo..I'll issue a PR as soon as finished that!
Hi, very good project! I'd like to use it as a library for our domotic framework to control GPIO on Udoo Quad. Do you have consider JSSC instead of RXTX? With these libs we had many issues on different platforms. Now all OK with JSSC. We implemented a serial helper for our developers https://github.com/freedomotic/freedomotic/wiki/Serial-ports-Service https://github.com/freedomotic/free...ava/com/freedomotic/helpers/SerialHelper.java
Hi @freedomotic , glad you like and want to use my project I think i can add a new module to the library to let the choice for users. For now, i'm currently working on an Android client so i'll look at it futher as soon as my todo list will be empty. If someone wants to test the Android app, you can download it on http://www.b1project.com/~bosselut/app-debug.apk Thanks
Latest changes on NeoJava tools include: - new Serial module using JSSC (SimpleSerial) - secure server with SSL (JSSE) - better LCD handling - many code improvements and bugfixes. Here's also a video showing my Android client in action I'm streaming while i'm coding on my UDOO stuff, you can watch it on https://www.livecoding.tv/bossone/
Hi Cyril, I've just pushed a refactored version of you code on my fork (https://github.com/fpompermaier/NeoJava). I still need to improve a little bit the messaging part but I've tried to improve it thinking about new peoploe willing to use that library..with Maven and more structured messages things are easier (IMHO). Actually, in my mind I'd like to use thrift also to implement automatically the client and server structures but I'm still thinking if that optimization level is really necessary.. Best, Flavio
Hi Flavio, you've done a great job but i can't merge your changes as there's to much conflicts and parts removed (eg: no more commands to get board info) and i've not enough free time to do it. Please propose some patches as pull requests. Cheers, Cyril
Actually I've added the commands to get board info only from the input line, I didn't add them also to the NeoJavaProtocol. I'll add them right now then I'll issue a PR!
PR issued. I've tested it with my Udoo quad so I had to modify the binding between the tty from /dev/ttyMCC to /dev/ttymxc3. After changing that it should work. If you need an example of the new API usage or for other comments to the PR just comment it in github!
Hello guys! I'm new on this and I have the first Udoo Neo board (the full one) and I would like to know how to use this.. since there's no documentation on how to use it (or at least I didn't found it). I just want to read a button from my arduino and take the status of that button from the linux side using java. Thanks!