メインコンテンツ

結果:

Veerasai
Veerasai
最後のアクティビティ: 2025 年 7 月 23 日

I'm facing an issue where my Thinkspeak graph is not displaying, even though I'm using exactly the same code as my friend. The code works perfectly in their Thinkspeak account, but not on mine. I've checked the API keys, channel settings, and data formats, but everything seems similar. Has anyone else faced this problem, or do you have tips on what to check next? Suggestions are welcome!
Hello Everyone,
I'm running an IoT project at my university using a free . Basically, my system uploads the sensor data to 4 different fields of a ThingSpeak channel and I'm reading from or writing to the channel through Simulink. I have a few questions regarding this topic:
  1. I'm trying to upload to the server every 3 seconds (which seemed to be providing the best results so far). Since the channel only accepts data transmit every 15 seconds, what is the optimized upload interval rate to match the interval rate of the channel? Because otherwise I have realized that my interval rate can go up to 1min sometimes for some reason.
  2. Is reading from/writing to the channel through simulink while the system is uploading data to the channel slow down th whole process? What is your overall suggestion in this case?
I'm excited to hear your suggestions and experiences!
Regards,
Ege
I am sending my sensor readings to thingspeak channel using raspberrry pi board but i dont know how can we send some instruction back to the raspberry pi board to control an LED or Motor or some other things. Can anyone provide some information about this?
pravin vaz
pravin vaz
最後のアクティビティ: 2022 年 5 月 31 日

Hi all,
I am trying to create a complete learning unit online using laravel. The unit of work is in Internet of Things. Hardware will be provided to students - Its a microbit plus the DFRobot Environment science expansion kit (https://www.dfrobot.com/product-2194.html) . All the video tutorials and project work is assigned via the laravel lms.They will log into the lms via their microsoft logins.
My next step is to simplify the process of users accessing the mathworks account. I would like to pre assign channels for students with API keys to write sensor values from each of their microbit shields to the cloud.
Has anyone tried to do this or has any suggestions how to?
The advantages of students having their own channels on my account is for me to monitor how they are progressing. These are year 9 students at high school who have never done any IoT or mathworks/thingspeak related content before.
Hans Scharler
Hans Scharler
最後のアクティビティ: 2022 年 4 月 6 日

Hi everyone. I updated my IoT Debugger project on GitHub. You can use the debugger to view channel data from ThingSpeak.

Sai Teja Kavuri
Sai Teja Kavuri
最後のアクティビティ: 2022 年 3 月 13 日

hello, i have done my iot project using thingspeak as the monitoring source and its working well and good.But now i need get text message to a mobile when the field value gets reached to given threshold value and i have to get a alert text message.Is there any way to resolve my problem from thigspeak data to alert text message.

Thankyou.

My dear friend Ram and I have finished our latest movie series. You can watch the final movie , or see the whole series.

In this movie we show how you can use TimeControls and Reacts to control devices or to schedule your MATLAB code that you can write in ThingSpeak. We also discuss a bit about channel sharing.

I recently found some interesting hardware in a demo on Hackster. The Magicbit is an ESP32-based project platform. It includes some plug and play sensors and a built-in display on a brightly colored PCB. The demo shows how to send the data collected by the Magicbit to ThingSpeak. You can see how to use the Arduino IDE to program the device, using the ThingSpeak library for Arduino, ESP 8266, and ESP32 . Of course, once you get the data into ThingSpeak, you can use the integrated MATLAB to do just about anything with the data. The Magicbit is funded from a Kickstarter campaign .

andy neo
andy neo
最後のアクティビティ: 2021 年 6 月 3 日

Hi,

I am currently having this internship which we are required to send sensor data to Thingspeak as well receiving data of '0' or '1' from Thingspeak to remotely control the LED.

We have done sending of sensor values to Thingspeak and I was able to send data of '0' and '1' ( on and off) to Thingspeak using a software called "Mendix". Our job is to control the LED from a mobile app and a web dashboard by pressing a button which sends the data to Thingspeak I have created. I am using REST call API to send data to thingspeak by using these 2 URLs: https://api.thingspeak.com/update?api_key=UHVD1PPGDS2X&field1=0 or https://api.thingspeak.com/update?api_key=UHVD1PPGDS&field1=1

This is the C++ code we used to send sensor values to Thingspeak:

void setWifiMode(void){ u8 tx[]="AT+CWMODE=3\r\n"; u32 num = strlen((char *) tx); xil_printf((char *) tx); ESP32_SendBuffer(&ESP32, tx, num); usleep(100); receiveData(3); }

void connectWifi(void){ u8 tx[] = "AT+CWJAP=\"eee-iot\",\"hWV4IOcKp0JX\"\r\n";

    u32 num = strlen((char *) tx);
    xil_printf((char *) tx);
    ESP32_SendBuffer(&ESP32, tx, num);
    usleep(100);
    receiveData(30);
}

void establishConnection(void){ u8 tx[] = "AT+CIPSTART=\"TCP\",\"api.thingspeak.com\",80\r\n"; u32 num = strlen((char *) tx); xil_printf((char *) tx); ESP32_SendBuffer(&ESP32, tx, num); receiveData(10); }

void cipsend(float temp, u16 co2, u8 light, float humidity){ u8 command[150]; u8 finalcmd[50]; //field1 Ph field2 Temp field3 co2 field4 humidity field5 light sprintf((char*)command, "GET http://api.thingspeak.com/update?api_key=CE8E8ZJNGZM8&field1=0&field2=%d.%02d&field3=%d&field4=%d.%02d&field5=%d\r\n" ,(int) temp_degc,((int) (temp_degc * 100)) % 100,co2,(int) hum_perrh,((int) (hum_perrh * 100)) % 100,light); u32 length = strlen((char*)command); sprintf((char*)finalcmd, "AT+CIPSEND=%d\r\n", (int)length); u32 cmdlength =strlen((char*)finalcmd); xil_printf("Length %d\r\n", length); xil_printf((char *)finalcmd); ESP32_SendBuffer(&ESP32, finalcmd, cmdlength); sleep(1); xil_printf((char *)command); ESP32_SendBuffer(&ESP32, command, length); receiveData(4); }

We are using a FPGA hardware called Zybo if that helps. I will really appreciate it if anyone could guide us on this as we are just students. My teammate is doing this alone while I am doing the mobile app and web dashboard alone as well and it is quite taxing for us to achieve this without any professional help.

Our difficulty right now is that we are unable to receive data '1' or '0' from Thingspeak to our FPGA hardware, Zybo. We are using Pmod ESP32 for wifi communication and we are currently using C++ language.

Sreehari M V
Sreehari M V
最後のアクティビティ: 2021 年 3 月 19 日

An error occurred while executing the code. I was referring this site : https://in.mathworks.com/help/thingspeak/monitor-channel-inactivity-using-multiple-thingSpeak-apps.html

While executing the code

Error using matlab.internal.webservices.HTTPConnector/copyContentToByteArray (line 373) The server returned the status 400 with message "Bad Request" in response to the request to URL https://api.thingspeak.com/apps/thinghttp/send_request?3DOHBYUXDXD4OVIV=WA327EPXB1DWM0FA.

Error in readContentFromWebService (line 46) byteArray = copyContentToByteArray(connection);

Error in webread (line 125) [varargout{1:nargout}] = readContentFromWebService(connection, options);

Error in Custom (no starter code) 2 (line 3) Trigger_TalkBack = webread(url,'3DOHBYUXDXD4OVIV',ThingHTTP_APIKEYS.To_Trigger_TalkBack) %Trigger TalkBack via ThingHTTP

This is been showing

My Code :

ThingHTTP_APIKEYS = struct('To_Trigger_TalkBack','WA327EPXB1DWM0FA');% Your ThingHTTP app API keys url = 'https://api.thingspeak.com/apps/thinghttp/send_request'; Trigger_TalkBack = webread(url,'3DOHBYUXDXD4OVIV',ThingHTTP_APIKEYS.To_Trigger_TalkBack) %Trigger TalkBack via ThingHTTP

Sundeep Goel
Sundeep Goel
最後のアクティビティ: 2021 年 6 月 17 日

Hi, i was wondering if there is defined skill or some other way to display channel data on an amazon echo show device?

I've been working with several collaborators on an indoor air quality monitoring project. You can see the post at Hackster . It would be interesting to deploy many of these throughout a building to investigate interactions between different rooms and the flow of people. So far I've got two in my house. Let us know if you plan to make a few of them.

Christopher Stapels
Christopher Stapels
最後のアクティビティ: 2021 年 2 月 7 日

I'm presently working on an Air Quality monitor to be able to check the status of my environment and remote environments on ThingSpeak. I was planning on using the BME680 sensor. Does anyone have any experience with this or other air quality sensors? I'm looking probably for CO2 and the like (Volatile Organics), not so much particle sensors, though a combination may be best.

Christopher Stapels
Christopher Stapels
最後のアクティビティ: 2021 年 1 月 15 日

Right now ThingSpeak supports up to 8 fields of data plus the status and three position fields. If you could have more fields, how many would you want? I have one channel of control settings for a project that I would have used up to 12, but no more than that.