If anyone is interested in using EV3 UART sensors like the IR, Ultrasonic, Gyro and Color sensors, from an Arduino, I have written an Arduino library. See above for the output from the test program when the Color sensor is attached. This is all part of getting leJOS working on the BrickPi.
We are just starting to look at porting leJOS to the BrickPi. This is my test vehicle.
This Android needs leJOS 0.9.0 and a Wifi dongle. You can control your differential drive EV3 robot by holding your Android phone or tablet like a steering wheel and turning it to steer the robot. Tilting it forwards or backwards changes the speed and direction. Adjust the constants at the start of the program to … Continue reading
There are lots of tiny format Arduinos available that are good for implementing custom sensors or motor controls for your EV3 (or NXT). It is very easy to connect your NXT to an Arduino using I2C. I used half a NXT cable, some terminal strip and a couple of 82k resistors. The cable is one … Continue reading
I have added some extra control to the previous Android EV3 control app The adjust checkbox allows you to set the current angle of the robot, without rotating it. The two sliders let you adjust the travel and rotation speed of the robot up to the maximum. The new MainActivity is: The new layout is:
A previous article explained how to control your EV3 robot from an Android app, using buttons. This Android app goes a step further and uses image buttons, and a custom rotation control. It needs the 0.9.0 version of leJOS EV3, and a Wifi dongle. To move the robot forward on backwards, you press the corresponding … Continue reading
You can use the Android library GraphView to display a real time graph of published sensor data. It needs a LinearLayout with an id as part of your layout. Here is an Android app that creates the bar chart shown above:
A new feature at leJOS 0.9.0 is publishing and subscribing to sample providers. Any EV3 program that reads sensor data can be very easily modified to use a new PublishFilter sample filter. This causes availability of the sensor data to be published across the network. Any PC, Android or EV3 program can then query what … Continue reading
This post is part of a series on how to train your robot. The application described here needs a Wifi dongle and leJOS Ev3 0.9.0 or above. Creating Android apps in Eclipse is easy, and using the RemoteRequestEV3 class in leJOS 0.9.0, makes it easy to control your EV3 from an Android app. Once you … Continue reading
This post is part of a series on how to train your robot. Note that this example currently only works if you are using a Wifi dongle, and that the post also assumes you have some familiarity with writing Android Java apps: it is not a tutorial on writing Android apps. It is quite easy … Continue reading