View: 10542|Reply: 49

AT command sim800l using problem with raspbian in orange pi plus 2

[Copy link]

3

threads

4

posts

19

credits

Novice

Rank: 1

credits
19
Published in 2016-11-23 17:32:50 | Show all floors |Read mode
Edited by mikhak at 2016-11-23 18:57

Hi

I'm going use the terminal Raspbian and send AT commands to the gsm SIM800L, but I am uable to write these commands.
I used screen and minicom like this :

screen /dev/ttyS0 115200
&
minicom -b 115200 -o -D /dev/ttyAMA0

I use to connect to ttyS0 but nothing happen and is not writable
about ttyS1,2,3 Also writes
not exists
ttyS3 in ls /dev not found and i think the uart3 or pins 8 and 10 is not working or not enable

I've connected according to the following guidelines:



how i can enable ttyS3 and 2 and 1 ?
how i can send at command using terminal?
Please do guide me what to do.

The following information applies to the operating system and my system connections :

i use :

orange pi plus 2 board

raspbian os for orange pi plus 2 installed from :

http://www.orangepi.org/downloadresources/orangepiplus/orangepiplus_7d804cf76a4ef3818cbe64d.html

Raspbian_For_OrangePiplus_v0_8_0.img.xz
Version:     0.8.0
Release date:     2015-05-04

SIM800L v2.0


ls /dev result :

  1. root@orangepi:~# ls /dev
  2. android_adb         loop6                     tty11  tty44           usbdev2.1
  3. apm_bios         loop7                     tty12  tty45           usbdev2.2
  4. block                 loop-control             tty13  tty46           usbdev3.1
  5. bsg                 MAKEDEV             tty14  tty47           usbdev3.2
  6. bus                 mapper                     tty15  tty48           usbdev4.1
  7. cachefiles         md0                     tty16  tty49           usbdev5.1
  8. cedar_dev         mem                     tty17  tty5           usbdev6.1
  9. char                 mmcblk0             tty18  tty50           usbmon0
  10. console                 mmcblk0p1             tty19  tty51           usbmon1
  11. cpu_dma_latency  mmcblk0p2             tty2   tty52           usbmon2
  12. cuse                 mtp_usb             tty20  tty53           usbmon3
  13. disk                 net                     tty21  tty54           usbmon4
  14. disp                 network_latency     tty22  tty55           usbmon5
  15. fb0                 network_throughput  tty23  tty56           usbmon6
  16. fb1                 null                     tty24  tty57           vcs
  17. fb2                 ppp                     tty25  tty58           vcs1
  18. fb3                 psaux                     tty26  tty59           vcs2
  19. fb4                 ptmx                     tty27  tty6           vcs3
  20. fb5                 pts                     tty28  tty60           vcs4
  21. fb6                 random                     tty29  tty61           vcs5
  22. fb7                 rfkill                     tty3   tty62           vcs6
  23. fd                 root                     tty30  tty63           vcs7
  24. full                 rtc0                     tty31  tty7           vcs8
  25. fuse                 sda                     tty32  tty8           vcsa
  26. hdmi                 sg0                     tty33  tty9           vcsa1
  27. input                 shm                     tty34  ttyGS0           vcsa2
  28. ion                 snd                     tty35  ttyGS1           vcsa3
  29. kmem                 stderr                     tty36  ttyGS2           vcsa4
  30. kmsg                 stdin                     tty37  ttyGS3           vcsa5
  31. log                 stdout                     tty38  ttyS0           vcsa6
  32. loop0                 sunxi-reg             tty39  tv                   vcsa7
  33. loop1                 sunxi_soc_info      tty4   uhid           vcsa8
  34. loop2                 tty                     tty40  uinput           vmouse
  35. loop3                 tty0                     tty41  urandom           watchdog
  36. loop4                 tty1                     tty42  usb_accessory  xconsole
  37. loop5                 tty10                     tty43  usbdev1.1           zero
Copy code

ls -l /dev and /etc/inittab result :



image of my connection and board :





Thanks all.

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

3

threads

17

posts

101

credits

Registered member

Rank: 2

credits
101
Published in 2017-1-22 02:54:32 | Show all floors
Hello!
At first, try to connect USB-2-UART converter to that port and connect it to PC. Open a terminal both on pi and PC and try to connect. If this doesn't work, there could be problems with using the UART in that image.
When I was faced with the same problem, I solved it by changing my image (you can try armbian). If that didn't work out, you can try to build your own linux image for pi.
Published in 2024-6-4 23:08:56 | Show all floors
Don't forget to check out the 1Win Express Bonus and the 1Win Leaderboard Prize for extra fun and rewards! Remember, online gambling is legal in India, so feel free to sign up and start playing at 1win Casino today.        1Win Bonus Code Turkey
Published in 2024-6-5 20:40:48 | Show all floors
À l'ère numérique d'aujourd'hui, les paris en ligne sont devenus un passe-temps populaire pour beaucoup.        code promo 1xbet togo
Published in 2024-6-5 23:56:32 | Show all floors
I got what you mean, appreciate it for posting. Woh I am delighted to find this website through google.        kissimmee bounce house for rent
Published in 2024-6-6 21:37:03 | Show all floors
Can I just say that of a relief to locate someone who actually knows what theyre preaching about online. You definitely learn how to bring a problem to light and work out it important. The best way to ought to ought to see this and appreciate this side from the story. I cant believe youre less well-liked as you certainly possess the gift.        online platform for luxury watches
Published in 2024-6-7 21:56:37 | Show all floors
How is the new year going? I hope to read more interesting posts like last year        a course in miracles
Published in 2024-6-8 15:59:58 | Show all floors
Hello! I just now wish to give a enormous thumbs up for that wonderful information you have here during this post. I’ll be coming back to your website for additional soon.        cập nhật lịch bóng đá
Published in 2024-6-16 21:39:28 | Show all floors
Everything you need to know about News means much to us.        https://bk8vn.ink
Published in 2024-6-18 01:09:29 | Show all floors
Fine, I saw your site in digg and the posts really helped me ~        https://kakalive.fun/
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list