آموزش راه اندازی ماژول sim800c-evb-mini

gsm-gprs-gps,آموزش ماژول ها

به نام خدا و با  سلام خدمت دوستان عزیز!

در این مطلب قصد دارم آموزش ماژول sim800c رو عرض کنم خدمت دوستان که ماژول خوبی هم هست اتو کانکت هست به شبکه خودش رگولاتور داخلی داره و با تغذیه 5 تا 12  ولت 2 امپر به شبکه متصل میشه.

ماژول sim800c-EVB-MINI :

مشخصات سخت افزاری ماژول به صورت زیر است:

Power supply 5V.
V_TTL: TTL logic level .
GND: GND
TXD: serial send pin, TTL level (not directly connected to RS232 level)
RXD: serial receive pin, TTL level (not directly connected to RS232 level)
DTR: Prepare the data
SPKP: Audio output
SPKN: Audio output
MICN: audio input pins
MICP: input audio pins
RI: Bell
VRTC: External RTC Battery
GND: GND
PWR: Pull down this leg to turn the module on or off
GND: GND
VBAT: Input lithium battery, 3.3v-4.4v

نام و  پایه های رگولاتور استفاده شده در این ماژول به صورت شکل زیر است:

 

برا روشن کردن ماژول و اتصال آن به مبدل USB به سریال به صورت زیر عمل کنید:

VCC -> +5V2A

GND ->GROUND

TX -> RX terminal

RX -> TX terminal

بقیه پایه رو رها کنید.

پس از اتصال تغذیه led پاور ماژول روشن خواهد شد و پس از 12 بار چشمک زدن  سریع led نت ،سرعت چشمک زدن آهسته می شود و ماژزول به شبکه متصل می شود.

حال میتوانید به ماژول AT  بفرستید و OK  دریافت کنید.( برای اینکار می توانید به این مطلب در سایت مراجعه کنید و نرم افزار و تنظیمات آن و توضیحات لازم را مطالعه کنید.)

عیب یابی ماژول در صورت متصل نشدن به شبکه :

1-تغذیه ماژول و ناکافی بودن جریان

2-استفاده از سیم های برد بوردی نامرغوب برای تغذیه

3-PIN داشتن سیم کارت

4-مناسب نبودن سیم کارت(سیم کارت میکرو یا نانو بد برش خورده است)

5-خراب بودن آنتن ماژول

و …

علت ها رو طبق اولویت ذکر کردم.

1- تغذیه :بهترین مدارارت تغذیه برای این سری از ماژول ها و نمونه سورس کد برای ماژول های سری SIM رو در این مطلب قرار دادم میتونید استفاده کنید.

2-از سیم های برد بوردی استفاده نکنید از سیم کابل LAN با قطر 0.9 میل برا کارهاتون و در برداتون حتما استفاده کنید.

3-غیر فعال کردن PIN سیم کارت به صورت زیر است :

مورد بعدی پین کد سیم‌کارت می‌باشد. اگر پین کد سیم‌کارت فعال باشد، ماژول به شبکه متصل نمی‌شود. برای این کار می‌توانید توسط یک گوشی موبایل پین کد را غیرفعال کنید و یا اینکه توسط دستورات زیر کد را غیرفعال کنید

 

4 – از سیم های کارت های مختلف همراه اول – ایرانسل و رایتل در هر دونوع پانچ شده شرکتی و دستی استفاده کنید تا مشکل شناسایی شود.

برای شناسایی سیم کارت دستور زیر را وارد کنید :

AT+CSMINS?\r\n

اگر در خروجی صفر داد یعنی سیم کارت شناسایی نشده اگر یک داد یعنی شناسایی شده.

5-از آنتن های GSM   استفاده کنید و ماژول به هیچ وج بدون آنتن راه اندازی نکنید.

> حال  اگر با هیچ کدام از مراحل بالا ماژول متصل نشد به صورت زیر عمل کنید :

دستور زیر را در ترمینال تایپ کنید و بفرستید :

با ارسال این دستور، عبارت ok مبنی بر فعال شدن گزارش خطا برای شما ارسال می‌شود. در صورت وجود خطا، اعلام به‌صورت کد برگشتی گزارش داده می‌شود، در لیست زیر می‌توانید خطای مربوط به کد خود را مشاهده کنید.

موفق و سربلند باشید.

آموزش های مشابه

آموزش راه اندازی ماژول gps,gprs,gsm سری A7
آموزش و پروژه راه اندازی انواع ماژول های SIMCOM با انواع میکرو کنترلر ها

 

ENDCOMMAND
Keys Dec Hex  Abbr. Name Type Description in C0 of ISO 646
[Ctrl] @ 0 00  NUL Null A control character used to accomplish media-fill or time-fill.
Null characters may be inserted into or removed from a stream of data without affecting the information content of that stream.
But then the addition or removal of these characters may affect the information layout and/or the control of equipment.
[Ctrl] A 1 01  STX Start oHeader TC A transmission control character used as the first character of a heading of an information message.
[Ctrl] B 2 02  SOT Start oText TC A transmission control character which precedes a text and which is used to terminate a heading.
[Ctrl] C 3 03  ETX End of Text TC A transmission control character which terminates a text.
[Ctrl] D 4 04  EOT End oTransmission TC A transmission control character used to indicate the conclusion of the transmission of one or more texts..
[Ctrl] E 5 05  ENQ Enquiry TC A transmission control character used as a request for a response from a remote station; the response may include station identification and/or station status.
When a “Who are you” function is required on the general switched transmission network, the first use of ENQ after the connection is established shall have the meaning “Who are you” (station identification).
Subsequent use of ENQ may, or may not, include the function “Who are you”, as determined by agreement.
[Ctrl] F 6 06  ACK Acknowledge TC A transmission control character transmitted by a receiver as an affirmative response to the sender.
[Ctrl] G 7 07  BEL Bell A control character that is used when there is a need to call for attention; it may control alarm or attention devices.
[Ctrl] H 8 08  BS BackSpace FE A format effector which moves the active position one character position backwards on the same line.
[Ctrl] I 9 09  HT Horizontal Tabulation FE A format effector which advances the active position to the next pre-determined character position on the same line.
[Ctrl] J 10 0A  LF Line Feed FE A format effector which advances the active position to the same character position of the next line.
[Ctrl] K 11 0B  VT Vertical Tabulation FE A format effector which advances the active position to the same character position on the next pre-determined line.
[Ctrl] L 12 0C  FF Form Feed FE A format effector which advances the active position to the same character position on a pre-determined line of the next form or page.
[Ctrl] M 13 0D  CR Carriage Return FE A format effector which moves the active position to the first character position on the same line.
[Ctrl] N 14 0E  SO Shift Out A control character which is used in conjunction with SHIFT IN and ESCAPE to extend the graphic character set of the code.
It may alter the meaning of octets 33 – 126 (dec.).
The effect of this character when using code extension techniques is described in International Standard ISO 2022.
[Ctrl] O 15 0F  SI Shift In A control character which is used in conjunction with SHIFT OUT and ESCAPE to extend the graphic character set of the code.
It may reinstate the standard meanings of the octets which follow it.
The effect of this character when using code extension techniques is described in International Standard ISO 2022.
[Ctrl] P 16 10  DLE Data Link Escape TC A transmission control character which will change the meaning of a limited number of contiguously following characters.
Its is used exclusively to provide supplementary data transmission control functions.
Only graphic characters and transmission control characters can be used in DLE sequences.
[Ctrl] Q 17 11  DC1 Device Control 1(XON) A device control character which is primarily intended for turning on or starting an ancillary device.
If it is not required for this purpose, it may be used to restore a device to the basic mode of operation (see also DC2 and DC3), or for any other device control function not provided by other DCs.
[Ctrl] R 18 12  DC2 Device Control 2 A device control character which is primarily intended for turning on or starting an ancillary device.
If it is not required for this purpose, it may be used to set a device to a special mode of operation (in which case DC1 is used to restore normal operation), or for any other device control function not provided by other DCs.
[Ctrl] S 19 13  DC3 Device Control 3(XOFF) A device control character which is primarily intended for turning off or stopping an ancillary device.
This function may be a secondary level stop, for example, wait, pause, stand-by or halt (in which case DC1 is used to restore normal operation).
If it is not required for this purpose, it may be used for any other device control function not provided by other DCs.
[Ctrl] T 20 14  DC4 Device Control 4 A device control character which is primarily intended for turning off, stopping or interrupting an ancillary device.
If it is not required for this purpose, it may be used for any other device control function not provided by other DCs.
[Ctrl] U 21 15  NAK Negative acknowledge TC A transmission control character transmitted by a receiver as a negative response to the sender.
[Ctrl] V 22 16  SYN Synchronous Idle TC A transmission control character used by a synchronous transmission system in the absence of any other character (idle condition) to provide a signal from which synchronism may be achieved or retained between data terminal equipment.
[Ctrl] W 23 17  ETB End of Transmission Block TC A transmission control character used to indicate the end of a transmission block of data where data is divided into such blocks for transmission purposes.
[Ctrl] X 24 18  CAN Cancel A character, or the first character of a sequence, indicating that the data preceding it is in error.
As a result, this data is to be ignored.
The specific meaning of this character must be defined for each application and/or between sender and recipient.
[Ctrl] Y 25 19  EM End of Medium A control character that may be used to identify the physical end of a medium, or the end of the used portion of a medium, or the end of the wanted portion of data recoreded on a medium.
The position of this character does not necessarily correspond to the physical end of the medium.
[Ctrl] Z 26 1A  SUB Substitute A control character used in the place of a character that has been found to be invalid or in error.
SUB is intended to be introduced by automatic means.
[Ctrl] [ 27 1B  ESC Escape A control character which is used to provide additional control functions.
It alters the meaning of a limited number of contiguously following bit combinations.
The use of this character is specified in International Standard ISO 2022.
[Ctrl] \ 28 1C  FS File Separator IS A control character used to separate and qualify data logically; its specific meaning has to be specified for each application.
If this character is used in hierarchical order, it delimits a data item called a file
[Ctrl] ] 29 1D  GS Group Separator IS A control character used to separate and qualify data logically; its specific meaning has to be specified for each application.
If this character is used in hierarchical order, it delimits a data item called a group.
[Ctrl] ^ 30 1E  RS Record Separator IS A control character used to separate and qualify data logically; its specific meaning has to be specified for each application.
If this character is used in hierarchical order, it delimits a data item called a record.
[Ctrl] _ 31 1F  US Unit Separator IS A control character used to separate and qualify data logically; its specific meaning has to be specified for each application.
If this character is used in hierarchical order, it delimits a data item called a unit.
127 7F  DEL Delete Delete

 

 

 

2
دیدگاه بگذارید

avatar
1 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
faridmicrodroidprjsitenavid Recent comment authors
navid
Guest
navid

سلام.وقت بخیر
من از همین ماژول استفاده میکنم.میکروی من 5 ولتی هست
دستور که rx tx مستقیم به میکرو وصل شده.دستور که میفرستم درست دریافت میکنه
اما پاسخ هارو با میکرو نمیتونم نمایش بدم.جالب اینجاست که پاسخ هارو ماژول به درستی میفرسته(با کامپیتور بررسی کردم).الان دقیقا توی مسیر rx میکرو مشکل دارم.به نظرتون باید بین مسیر همون تقسیم مقاومتی که توی دیتاشیت ذکر شده رو بذارم؟