Interfacing Android with LEGO NXT: Compass
Here is another proof of concept I did to show Bluetooth communication between Android phone and NXT. I used the accelerometer and magnetic field sensors on the Android phone to calculate its compass heading, and used Bluetooth to send that information to the NXT. While this is not as stable as Brian Davis' Jenn Too, mostly due to magnetic interference from the NXT messing with the compass, it definitely shows the potential Android phones have acting as on-board sensors for autonomous robots.
Richard
Comments
I used Eclipse, in combination with the Android SDK for the phone code, and Lejos NXJ for the robot code. NXT-G for the robot and the AppInventor are other easier alternatives that could be possible.
Richard
Richard
Would you mind sending me the code too? :D
My email address is rubberpoach@googlemail.com
hunzlhunzl@googlemail.com
supe001@yahoo.dk
I'm creating a project like this but I'm struggling with the Android app. Could you share your code? That'd be really helpful. My email: verelst_t@hotmail.com
Thomas
i am trying to develop android program in eclipse. and i am new to android could you send me the code plz.. monishanova@gmail.com
i am trying to develop android program in eclipse. and i am new to android coul yopu send me the code plz.. monishanova@gmail.com