Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Uart errors on Banana Pi

Featured Replies

Hello,

 

I am trying to have a serial link between an arduino and a banana pi.

As a basic test, the Arduino is sending "hello" every seconds.

I observe that the reception by the Banana pi is not good. I have tried , several baud rates, /dev/ttyS2 and FTDi adaptor.

The best result seems to be with  the FTDI adapter , at 115200 bps. But I have still a lot of errors, see below.

When I plug the FTDI adapter on my laptop, it works without issues.

 

Do you know what could be the cause of my issues?

 

Thank you

Sebastien

 

 

 

hell»½ýhgn·ïÏÞh»½ëèu·oÝÕýemmÍÿÿý¿¿ëÏÿÿýïï»ÿ½{í»ÿ¯nïÿý{¿ûoïÿÿÿÝÿïÏíumío^huw·oMÕhello
hello
hello
hello
hello
hello
hello
hello                                                                                                
hello                                                                                                
^hÛ·mÍïèunìïýj»û»ÿ¯ÿï{¯ÿÿïoõõooëÿÿûÿÿ÷ÿëîÿhÙ·no]Õhello                                            
hello                                                                                                
hello                                                                                                
hello
hello
hello
hello
hello
hello
·hÝï·»íýìõímo¯ÿ~Ý··¿ÿÿ}Ý··ï½ýÿwïÿ¿ÿ×ÿÿÿÿ¿ÿûûÿÿíÿ÷ÿo¿¿ÞýlenloµhenloMNhello
hello
hello
hello
hello
hello
hello
hello
hello
hello
hello«h7ë{ë¿èåímo¯¯êõ}·»_ÿíõ»Oÿ¿óíïíïïûûëï¿ûýÿûÿÿÿïïýxu|loMÞhello
hello
hello
hello
hello
hello
hello
hello
hello
hello
hel·ë¯ÿheomïÍýèïo»ïÿîû÷mëïÿÿwûßÿÝÿÿýï¿ëê¯ÿûoÿûÿÿïïÿìo7|oÍõhullo

 

 

 

 

Is your Arduino using 5V levels? If so, you need a level shifter to not damage your Banana PI which uses 3.3V levels...

  • Author

On the FTDI USB adapter, I can select 3.3 or 5V.

With 5 V , I have the result posted previously.

With 3.3V, it is worst

21 minutes ago, sebastien35 said:

On the FTDI USB adapter, I can select 3.3 or 5V.

With 5 V , I have the result posted previously.

With 3.3V, it is worst

Is GND securely connected at both ends? I got problems like this when my GND wasnt seated correctly and only TX,RX was connected.

And how long are the TTL-cables - maybe not enough shielding?
How does the arduino and the Babana Pi gets his power?

  • Author

Thanks a lot! GND was not connected on the USB adapter! Now, with GND connected, it is perfect!

 

And what about the use of /dev/ttyS2? Do you confirm that I have to use 3.3 level. I can't test it for now because I haven't level adapters.

 

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.