Last active
December 10, 2023 01:28
-
-
Save aasumitro/d07e5943e754ce59ac3828fc665cdcd2 to your computer and use it in GitHub Desktop.
send sms with minicom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Connect Sim800l v2 by rohs with minicom (raspberry pi 3 b+) | |
#1 download minicom package | |
apt install minicom | |
#2 activate hardware serial interface by opening the raspberry config | |
raspi-config | |
- interfacing options | |
- p6 serial (enable just hardware access) | |
#3 check/show all serial ports (which are represented by the string tty) | |
dmesg | grep tty | |
#4 get in on minicom | |
minicom -D /dev/ttyS0 -b 9600 | |
#5 test at command | |
AT <------ {command} | |
and you will get response | |
OK <------ {response} | |
#6 test send sms | |
AT+CMGF=1 <----- {command} {change to text mode} | |
OK <----- {response} | |
AT+CMGS="+62000000" <---- {command + number phone} | |
> This is the text message. <----- {after use command AT+CMGS you will able to write a message and to close the console type CtRL+Z} | |
+CMGS: 1 <----- {respose} {NUMBER: sms count} | |
OK <----- {respose} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment