Discussion in "PIC Microcontroller Discussion" started by    sarrahjuzar    Feb 19, 2020.
Wed Feb 19 2020, 09:24 AM
#1
I have a gsm module sim900a and dht22 connected to pic16f877a. Is it possible to interface gsm module to an IoT platform like Thingspeak to display the temperature data?
Fri Feb 21 2020, 09:45 AM
#2
Yes you can do that.
1. Create a channel @Thingspeak and create fields for parameters that are going to be updated by your device. (in your case temperature and Humidity)
2. On your device generate HTTP GET request to update those fields.
Open socket connection to api.thingspeak.com @80
Send get request as follows:
GET /update?api_key=&temp=&humid=[cr][lf][cr][lf]
I used temp and humid as field names. You can change them to whatever you have created in channel

Please mind that cr (carriage return \r) and lf (line feed \n) are part of get request. So prepare the request carefully if you want everything to be success.

Get Social

Information

Powered by e107 Forum System

Conversation

Sun Sep 19 2021, 06:52 PM
Darlene Garces
We’re interested in advertising on your site.
Sun Sep 19 2021, 02:19 PM
Shani
Appreciating the time and effort you put into your blog and in depth information you provide. It's good to come across a blog every once in a while that isn't the same unwanted rehashed material. Great read! I've saved your site and I'm adding your RSS feeds to my Google account. дубай прогноз погоды сколько стоит виза в дубай дубай мечеть
Sun Sep 19 2021, 08:18 AM
Leland Donnelly
These days paying for clicks only seems to make the ad companies rich. Here's a better way to advertise: https://shortest.link/GG2
Fri Sep 17 2021, 11:22 AM
Waldo Mosher
Thanks, Waldo Mosher
Thu Sep 16 2021, 02:42 PM
Mckenzie
I am really enjoying the theme/design of your site. Do you ever run into any internet browser compatibility problems? A handful of my blog visitors have complained about my website not working correctly in Explorer but looks great in Firefox. Do you have any solutions to help fix this problem? точное время дубай номера дубай путевки в дубай (ekskurzia-dubai.bg)

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 67, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123