| 전자부품 데이터시트 검색엔진 |
|
DFR0505 데이터시트(PDF) 10 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0505 데이터시트(HTML) 10 Page - DFROBOT |
|
10 / 20 page ![]() Sample Code • SIM7000 NB-IoT Shield can be controled by AT command through serial port and it recognizes 115200 baud rate in default. So we need to reset the baud rate to 19200 and below to avoid garbled. (The software serial port has an unreliable baudrate higher than 38400bps.) • AT command must end with a CR&LF, shown as below: • AT command list: /* * File : DFRobot_SIM7000_ATtest.ino * Power : SIM7000 needs 7-12V DC power supply * Brief : This example use the serial port to send AT command to control the SIM7000 * With initialization completed, we can enter AT command to SIM7000 dire ctly * Note : If you use Mega please connect PIN8 PIN10 and set PIN_RX = 10 * The AT command must end with CR&LF */ #include <DFRobot_SIM7000.h> #define PIN_TX 7 #define PIN_RX 8 SoftwareSerial mySerial(PIN_RX,PIN_TX); DFRobot_SIM7000 sim7000; void setup() { Serial.begin(115200); sim7000.begin(mySerial); sim7000.turnOFF(); delay(5000); Serial.println("Turn ON SIM7000......"); if(sim7000.turnON()){ //Turn ON SIM7000 Serial.println("Turn ON !"); } |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |