jump to navigation

Arduino Trials and Tribulations, Part 4 (The Linux Platform) July 15, 2012

Posted by phoenixcomm in Arduino, DIY Aircraft Cockpit, Flight Simulation, Linux, Mint 12, Software.
Tags: , , , , , ,
add a comment

Well now that I am using Linux Mint 12 with a Cinnamon Desktop for my development with Eclipse (Juno) for my C programming environment. I wanted to make my work easier, so first thing I did was to put my lpr icon on my Desktop…  unfortunately there was nothing in the menu tools. So with a little digging, I found a cool solution so from a terminal, you might want to sudo into shell (sh):   gnome-desktop-item-edit ~/Desktop/ –create-new
Which brings up the Create Launcher tool.  Now edit the tool to as shown, press ok, and you get a new icon on your desktop, that looks like a spring. So right click on it and bring up the property dialog and change you icon.  Now you can drag any file from you desktop filer and drop it on you printer and presto it prints!!

Ok now on to more fun… Well I’m going to move my arduino tools to this box now..
First thing when you try to configure your arduino’s serial port my box only gave me /dev/ttyS0 but we need a serial usb port…. so you need to make sure your that you arduino is unpluged, and run lsusb from your terminal, and you get this:
$lsusb
Bus 005 Device 006: ID 413c:2010 Dell Computer Corp. Keyboard
Bus 005 Device 007: ID 413c:3200 Dell Computer Corp. Mouse
now plug in the arduino and run it again.
$lsusb
Bus 005 Device 006: ID 413c:2010 Dell Computer Corp. Keyboard
Bus 005 Device 007: ID 413c:3200 Dell Computer Corp. Mouse
Bus 003 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
$sudo modprobe usbserial vendor=0x403 product=0x6001
now when you go to the arduino console you can now select /dev/ttyUSB0

enjoy
One note: That is only for that jack. If you want to map the other USB jacks just repeat the steps.

Advertisements
%d bloggers like this: