B4X FEED Http requests with GSM shield

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Http requests with GSM shield است. این موضوع تا کنون 47 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Http requests with GSM shield
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
47
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,517
4,383
This example shows how to send http requests with a GSM shield. I've tested it on a shield with SIM900 module. This can be very interesting for outdoor IoT solutions where there is no local network.

There are no special libraries involved. The communication with the GSM shield is done by sending AT commands.

I've used an Arduino Mega which have more memory available.
Clicking on a connected button causes the Arduino to send a http request to Firebase push service.

برای دیدن تصاویر باید ثبت نام کنید



The connections are:
5v and gnd (same pins on the shield)
- Arduino 10 to shield 7
- Arduino 11 to shield 8
(pins 7 and 8 on the Mega cannot be used with SoftwareSerial)

Getting the right sequence of commands was more difficult than expected. You can see it in the GSM module.

You need to update the APN value which should be provided by mobile network provider.

The module sends a POST request. You can change the main code to send a...



 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا