Raspberry Pi 3 UART Problem /ttyS0
Nowadays, i am working in a project and i am preparing a competition which as known as UAVTurkey. The competition is fundraising by TUBITAK. TUBITAK means "Scientific and Technological Research Council of Turkey" My task is communicate arduino and raspberry pi 3 via uart. we have only rx tx and ground cables. It looks simple. The first time I heard it, I thought so too. The youtube, stackoverflow or raspberry pi support forums are big change for me or the beginners. But I had had some problems.
In Raspberry pi 3 the uart pins was changed /ttyATA0 to /ttys0.
1 - sudo raspi-config >> Enable Serial and Expand file system
2- sudo apt-get update
3- sudo apt-get upgrade
4 -sudo nano /boot/config.txt
Open config.txt and write at EOF (End of life) ;
dtoverlay=pi3-disable-bt (closes bluetooth module)
Please use this code to test your uart pins:
Mehmet Çağrı Aksoy