Author Archives: admin

Mac

The ARM cross-compiler can be downloaded from:

http://www.carlson-minot.com/available-arm-gnu-linux-g-lite-builds-for-mac-os-x

After installing the program, you need to add the compiler path, this can be done using:
echo export PATH=/usr/local/carlson-minot/crosscompilers/bin/:$PATH >> ~/.bash_profile && . ~/.bash_profile

Mac users can refer to the Linux tutorials for further information.

Windows

Download the ARM cross compiler from:

https://sourcery.mentor.com/GNUToolchain/package4574/public/arm-none-linux-gnueabi/arm-2009q1-203-arm-none-linux-gnueabi.exe

Install the program in the local hard drive (e.g. c:\CodeSourcery) and add the compiler path to the system.

Download  the Windows version of the make and rm programs in the computer. A copy of these programs can be found here. Uncompress them in a local directory (e.g. c:\tools ).

In order to communicate and being able to transfer data and programs to the brick, we need to  install a telnet, a ssh and a scp client programs. I have tested PuTTy, (telnet and ssh clients) and PSCP (scp client). After downloading these programs, place the executable files in the local hard drive (e.g. c:\tools).

Add the path of the recently installed programs (c:\tools) to the system.

Finally install a text editor of your choice to modify and create programs (e.g. notepad++, vim, sublime).

After installing these tools, users should be able to use most of the command line instructions provided to Linux users.

Linux

The ARM cross compiler program can be downloaded from this link or using the command in a terminal:

wget -c http://www.codesourcery.com/sgpp/lite/arm/portal/package4571/public/arm-none-linux-gnueabi/arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

Create a directory that will contain the program:
mkdir CodeSourcery

Uncompress the compiler installation file using:
tar -jxvf ~/arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -C ~/CodeSourcery/

Add the compiler path using:
echo export PATH=$PATH:~/CodeSourcery/arm-2009q1/bin/ >> ~/.bashrc && . ~/.bashrc

Verify that the cross-compiler is properly installed using:
arm-none-linux-gnueabi-g++ -v

This should show a long message:
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: /scratch/mitchell/....
...
Thread model: posix
gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203)

I have found some cases where the system reports an error message similar to this:
bash: XXXXX/CodeSourcery/arm-2009q1/bin/arm-none-linux-gnueabi-c++: No such file or directory

This is caused because the compiler is a 32-bit application and requires 32-bi libraries to run. The issues is resolved by installing the missing libraries using:
sudo apt-get install gcc-multilib

TechTwilight 2014 photos

We had a great time at TechTwilight 2014 . We are very thankful to the organizers from the Ann Arbor Hands on Museum that invited us to this event. Our exhibit received the Vincent Van Google award “for demonstrating how creative robots can be when their programmer is artistic.” We appreciate it very much. Below are a few pictures:
Lego_EV3_drwaing_robot_at_TechTwilight_2

Continue Reading →

Using Accelerometers in Robotic Applications (updated)

I have started creating some new material for a section that will discuss basic use of inertial sensors in robotic applications. I added a new section that talks about accelerometers and Euler angles. I hope it clarifies a few misconceptions about these sensors and their use. It now includes test programs.
accel

In the News

lego_ev3_drawing_robot_ces_2014_in_the_media
The Lego Drawing Robot received some attention at CES 2014. I had the opportunity to meet many Lego fans, and people from a variety of different industries. I want to thank Microinfinity for the opportunity to show the Drawing Robots in this event. I have found the Lego Drawing robot featured in a few newspapers and on-line magazines.

The Wall Street Journal
lego_ev3_drwing_robot_ces_2014_news_wall_street_journal
Slashdot
lego_ev3_drawing_ces_2014_news_slashdot
CraveOnline
lego_ev3_drawing_robot_ces_2014_news_crave_online
I4U
lego_ev3_drawing_robot_ces_2014_news_i4u

Welingelichte Kringen – Netherlands
lego_ev3_drawing_robot_ces_2014_Welingelichte_ Kringen_Dutch

BFMTV – France (53″)
LEGO_EV3_Drawing_robot_BFMTV_france

Chinese Daily
Lego_EV3_Drawing_Robot_ChineseDaily_CES_2014

Danish Broadcasting Corporation – Denmark
Lego_EV3_Drawing_Robot_DR_CES_2014_Denmark

Spanish Language Media
Miami Herald
lego_ev3_drawing_robot_ces_2014_news_miami_herald

El Día – Spain
lego_ev3_drawing_robot_ces_2014_news_el_dia_spain

La Nación – Costa Rica
lego_ev3_drawing_robot_ces_2014_news_la_nacion_costa_rica

El Comercio – Ecuador
lego_ev3_drawing_robot_ces_2014_news_el_comercio_ecuador

La Prensa Libre – Guatemala
lego_ev3_drawing_robot_ces_2014_news_la_prensa_libre_guatemala

Radio Programas del Perú
lego_ev3_drawing_robot_ces_2014_news_rpp_peru

Pulso – Mexico
lego_ev3_drawing_robot_ces_2014_news_pulso_mexico

News from CES 2014

I am at CES now, joining the Microinfinity booth. I’ve had the opportunity to talk with many people belonging to the Lego community. If you happen to be in this event stop by booth 22059 located in the Robotics section in the lower level of the South Hall.
LegoEv3DrawingMarilyn

Continue Reading →