0
Peter Valencic

Ch340 (USB/UART) on Armbian

Recommended Posts

On 2/23/2017 at 8:22 AM, Peter Valencic said:

Hi,

Have Arduino (microcontroller) clone with CH340 USB/UART (USB serial port). Does armbian support it? 

 

 

 

regards

Peter

hi peter. did you succede? the serial port showup but i can not write to a Nano. no errors. just hung.

Share this post


Link to post
Share on other sites
1 hour ago, Aldolo said:

the serial port showup but i can not write to a Nano. no errors. just hung.

Do you means it is appearing in "lsusb" and you now have a /dev/ttyUSB0 ?

What software are you using, minicom, picocom ? Did you set proper baudrate ?

Maybe your Arduino has an empty sketch or a sketch that doesn't print any thing on serial ?

 

Share this post


Link to post
Share on other sites
2 hours ago, martinayotte said:

Do you means it is appearing in "lsusb" and you now have a /dev/ttyUSB0 ?

What software are you using, minicom, picocom ? Did you set proper baudrate ?

Maybe your Arduino has an empty sketch or a sketch that doesn't print any thing on serial ?

 

 

arduino ide. speed is not selectable but il always 115200. /dev/ttyUSB0 sometimes appears in the list. sometimes not. anyway trying to access it always lock the ide or any other program. even an F3 (display) with MidnightCommander lock MC itself. i've already assigned my user to the dialout group. before doing that any access retuned an error, but not now.

Share this post


Link to post
Share on other sites

Now it works. My mistake was to use the otg usb port with an adapter. orange pi lite has got a microusb otg port. maybe with a non-otg adapter it may work. now i'm using a regular usb port without any adapter. it seem a nice setup for arduino programming.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
0