Posts

Showing posts with the label Ubuntu

serial.serialutil.SerialException: could not open port /dev/ttyACM0

Image
If you try the steps in the post " Talk with Arduino Due in Python Shell " in Linux (Ubuntu in my setup). May be you will be complained with the error of: serial.serialutil.SerialException: could not open port /dev/ttyACM0: [Errno 13] Permission denied: '/dev/ttyACM0' Because your user account have no right to access the /dev/ttyACM0 port. You have to add your user account to the dialout group. Enter the command in Terminal: $ sudo usermod -a -G dialout <username> After you plug in the usb cable, run the command (it need to be run every time plug-in): $ sudo chmod a+rw /dev/ttyACM0 serial.serialutil.SerialException

Install pySerial on Ubuntu

Image
To check if pySerial installed, open Python Shell, type the command: >>> import serial if error message returned, means pySerial not installed. pySerial not installed with error - To install pySerial on Ubuntu, download and unpack  pyserial , open Terminal and change to the unpacked folder. - To install for Python 2.x, type the command: $ sudo python setup.py install - To install for Python 3.x, type the command: $ sudo python3 setup.py install (To install the module for all users on the system, administrator rights (root) is required, run with sudo.) import serial with pySerial installed

Ubuntu for tablets announced

Image
With unique multitasking productivity, effortless navigation and defence-ready security, Ubuntu raises the bar on tablet design and sets a new standard for the post-PC era. Bright. Brilliant. Beautiful. And naturally neat...source: http://www.ubuntu.com/devices/tablet