Posts

Showing posts with the label Arduino IDE

Fixed the problem of "No device found on COM1" for /dev/ttyACM0

Image
As mentioned in the post : when run Arduino IDE on Ubuntu as su (sudo ./arduino), the serial port can be recognized as /dev/ttyACM0, but cannot be recognized if run as normal user. To make it work as normal user: 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 Then, you can run Arduino IDE as normal user. /dev/ttyACM0 recognized

Test code for ADK on Arduino Due

Image
Arduino 1.5 BETA come with a ADK Terminal Test example to demonstrates USB Host connectivity between an Android phone and an Arduino Due. The ADK for the Arduino Due is a work in progress. For additional information on the Arduino ADK visit http://labs.arduino.cc/ADK/Index . To load the ADK Terminal Test example, select File in Arduino IDE -> Examples -> USBHost -> ADKTerminalTest. Open ADK Terminal Test BUT...it not work in my case! The function Serial.begin(9600) have to be called at the beginning of setup(). After then, it work as expected ( view the video ). From the thread http://arduino.cc/forum/index.php?PHPSESSID=13eedea106bcfa79b016f120f99a8f34&topic=129390.0 ADKTerminalTest /*  ADK Terminal Test  This demonstrates USB Host connectivity between an   Android phone and an Arduino Due.  The ADK for the Arduino Due is a work in pr...

Arduino software on Ubuntu, with error of "No device found on COM1"

Image
Just bought a Arduino Due Board R3, downloaded and installed Arduino 1.5 BETA on Ubuntu Linux to try it... happen the error of "No device found on COM1"! and cannot access the Serial Port option. No device found on COM1 It's because you have no right to access USB port. The easiest and laziest solution is run android software with sudo. $ sudo ./arduino Updated : HERE is another solution to run Arduino as normal user .