PDA

View Full Version : Technology My LEGO R/C no wires, controlled by Android - the video



Tiago
25th March 2014, 10:52
Hi,
just got a "bq kit robotica" to test in my magazine, really good.
I took my old Lego car, and adapt it to take the new parts, so i now have:

A LEGO car controlled with by my tablet, with light sensors and IR sensors.

See the video here (at bottom of page)
It is in Portuguese bu video is in english.
Hope you like it

http://revistapushstart.com/2014/03/25/bq-kit-de-robotica/

Harrison
25th March 2014, 12:05
That is really cool. You could do a lot with robotics projects using that.

Is the software easy to customise? Is it possible to set a custom control up with a diagram of the device being controlled for easy control?

Tiago
25th March 2014, 12:25
You have 2 softwares:

Arduino (micro processor):
Similar to old "C" language, sequential. Easy language, and the commands are something like:
digitalWrite(led_pin_1, HIGH); to turn on a LED
servo_move.write(value); to move a servo in degrees
It's easy, you just need to have the circuit working, the software will be easy

Android:
I had to program the Android software, but again it's easy, you can use any language, just need to pass a value/variable by blueetooth.
all you need is to send 1 byte, then the Arduino software receives that byte and then
If byte == "A" then do A
If byte == "B" then do B and so on..