Main Content

Results for

i have pushed my temperature and humidity data to thinkspeak from ardino ide . now i need a communication between thinkspeak and nodemcu . for example after analysising the data if there is gad in the data then thinkspeak should notify the arudino ide . Is there any way to help me out?

Hi, MathWorks / MATLAB / Simulink community! I have recently started working my way through the book mentioned in the topic, and I am wondering if anybody out there would be interested and have time to help me review some of my work on the exercises. Specifically, I'm currently working "Exercise 7.9 - Challenge: Design of a Type 2 PLL" and I am not convinced that my implementation is correct, but I'm having some trouble with debugging.

Is anyone interested and have time to review my implementation and give some feedback? I'd definitely appreciate it.

Thanks!

Shaun Lippy Middleburg, VA, USA

ASME will be hosting a four-part conversation series from March 22-25, that will educate and equip mechanical engineers with workforce strategies. The series will bring together leaders and industry experts in education to explore which new skills will be taught to young engineers, what training mid-career engineers need in order to return to work as the pandemic subsides, and how much more can be done to confront the labor and skills gap in 2021 and beyond.

I was honored to be asked to participate in the first panel discussion along with distinguished faculty from MIT and the University of Colorado Boulder. I would encourage all of our customers involved in online teaching and learning to attend. More details on the panel discussion that features MathWorks response to COVID-19 are below:

The Evolution of Engineering Education Post-COVID-19 (March 22): The transition to remote learning was a shock for many universities and colleges across the country. Professors had to transform their in-person lecture into an engaging online class, and students had to take on more self-learning responsibilities. What impact will this change in teaching have on the future of education? This conversation will focus on the shift to online education at universities, the digital engineering skills students will need to learn, and how academia and industry can work together to prepare the young engineers entering the workforce.

The Evolution of Engineering Education Post-COVID-19 : https://app.webinar.net/vlOW9kK90wm?mcc=EDIT

#ifdef SPARK #include "ThingSpeak/ThingSpeak.h" #else #include "ThingSpeak.h" #endif #include ESP8266WiFi.h #include DHT.h #include WiFiClient.h #include ESP8266WebServer.h String apiKey = "SK93H9OUYLARLFYN"; // Enter your Write API key from ThingSpeak

const char ssid = "Ludo"; // replace with your wifi ssid and wpa2 key const char *pass = "12345678901"; const char server = "api.thingspeak.com"; #define DHTPIN 0 //pin where the dht11 is connected DHT dht(DHTPIN, DHT11); WiFiClient client; void setup() { Serial.begin(115200); delay(10); dht.begin(); Serial.println("Connecting to "); Serial.println(ssid); WiFi.begin(ssid, pass);

      while (WiFi.status() != WL_CONNECTED) 
     {
            delay(500);
            Serial.print(".");
     }
      Serial.println("");
      Serial.println("WiFi connected");
}
void loop() 
{
      float h = dht.readHumidity();
      float t = dht.readTemperature();
      if (isnan(h) || isnan(t)) 
                 {
                     Serial.println("Failed to read from Sensors!");
                      return;
                 }
                         if (client.connect(server,80))   //   "184.106.153.149" or api.thingspeak.com
                      {  
                             String postStr = apiKey;
                             postStr +="&field1=";
                             postStr += String(t);
                             postStr +="&field2=";
                             postStr += String(h);
                             postStr += "\r\n\r\n";
                             client.print("POST /update HTTP/1.1\n");
                             client.print("Host: api.thingspeak.com\n");
                             client.print("Connection: close\n");
                             client.print("X-THINGSPEAKAPIKEY: "+apiKey+"\n");
                             client.print("Content-Type: application/x-www-form-urlencoded\n");
                             client.print("Content-Length: ");
                             client.print(postStr.length());
                             client.print("\n\n");
                             client.print(postStr);
                             Serial.print("Temperature: ");
                             Serial.print(t);
                             Serial.print(" degrees Celcius, Humidity: ");
                             Serial.print(h);
                             Serial.println("%. Send to Thingspeak.");
                        }
          client.stop();
          Serial.println("Waiting...");
  delay(1000);
}

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.

Hi

I am a total newb.

I recently created a Channel and two data Fields with their associated charts.

I was then experimenting; playing around with the timescale setting re one of the charts. I selected a range of options and then wondered some, so looked into the function re the options. I now that worked out and wish to simply return to the plotting of all points as they are delivered up from my data source.

However; I can toggle between timescale numbers - however, I cannot revert to no timescale - in other words; to plot every point on the chart.

Please help me return my chart to how it was by default re timescale.

I just started my MPhil in power systems and we are doing load flow analysis. I am completely lost throughout the gauss seidel and newton Raphson methods using MatLab. can I get help, please?

Dear Sir, I have configure the thing-speak account for our monitoring system.But I have two issue regarding this as shown below; 1.whatever the field i have configure in the channel number 1,2...8,with respective tag, same tag is not reflected on graph.i just shown to you for your reference in the attachments. 2 whatever the excel file is generating based on input data it takes 7 minutes of delay.after live capturing. can you please resolve this issue for me

wael elsisi
wael elsisi
Last activity on 23 Mar 2021

I am working on a project using Sigfox How to write code to read and Analyze Data in Apps MATLAB Analysis ? I have created fields: Temperature (float) , Humidity(float) , and Moisture(string) . Would you mind helping me?

>>

Good evening everyone. I have doubts in the display of graphics. The vertical axis means meant and if collected from my sensor. How often are they being plotted. I modified the code to "tempF = thingSpeakRead (readChannelID, 'Fields', TemperatureFieldID, ... 'NumMinutes', 20 * 60, 'ReadKey', readAPIKey); In this case, it would be samples from the last 20 hours. So what does each value displayed on the vertical axis mean?

% Read temperature for the last 10 hours from a ThingSpeak channel and % visualize temperature variations using the MATLAB HISTOGRAM function.

% Channel 12397 contains data from the MathWorks Weather Station, located % in Natick, Massachusetts. The data is collected once every minute. Field % 4 contains temperature data. % Channel ID to read data from readChannelID = 1265072;

% Temperature Field ID TemperatureFieldID = 1;

% Channel Read API Key % If your channel is private, then enter the read API % Key between the '' below: readAPIKey = 'HGPTIKZABQ4DUC8J';

% Get temperature data from field 4 for the last 10 hours = 10 x 60 % minutes. Learn more about the THINGSPEAKREAD function by going to % the Documentation tab on the right side pane of this page.

tempF = thingSpeakRead(readChannelID,'Fields',TemperatureFieldID,... 'NumMinutes',20*60, 'ReadKey',readAPIKey);

histogram(tempF); xlabel('Temperature em ºC'); ylabel('Amostras coletadas'); title('Variação de temperatura');

Hello! I am working on a project to monitor agricultural variables. The sample rate is 20 minutes, but I need to transmit the data every 2 hours to the server to save power. To send the data I use the SIM800 module. How can I do it?

Hi guys,

I'm using Thingspeak to log data for my small weather station project. The data then gets sent to an Airtable using React and ThingHTTP. When I check the exported CSV from Thingspeak I can see the data being logged at regular intervals — every 5 minutes, 3 seconds in. However, something happens with React/ThingHTTP, because the Airtable log doesn't match. Every hour or so, the entry will have an added minute (13:01, 17:01, etc). Why does this happen? React is programmed to use ThingHTTP whenever Field1 is different from 0.

I'm currently taking a MATLAB app programming class, and for our final project we need to store some user modified variables to the cloud, so it can be read by other users when they open the app. I was thinking about using Thingspeak to store the variable (2x10000 table) but thingspeak requires a timestamp for all inputs of data as a 2D array/table. And if I tried to store it as two separate 1D arrays, it would store each value to each field, instead of as a separate fields. Any way to make this simpler? Maybe there's a better IoT solution out there for this process?

I wanted to use MQTT to publish data to my ThingSpeak client. However, on one of the forums it said, "The MQTT broker does not presently parse JSON".

Hello. I am working on a project to monitor agricultural variables. The module that I designed transmits the data by GSM, with the SIM800 module every 30 minutes takes a sample. My problem is the following, I need to transmit the stored data every 2 hours every 30 minutes, but I don't know how to do that. In the line of code "GET / update? Api_key = EXNLVJJTBY17SM8V & field1 = ........", you can add the time of each sample. This would save energy by sending 4 data every 2 hours

if true
 altSerial.println("AT+CIPSHUT");delay(4000);
altSerial.println("AT+CIPSTATUS");
delay(5000);
   altSerial.println("AT+CIPMUX=0");
   delay(5000);
     altSerial.println("AT+CSTT=igprs.claro.com.ar");delay(2000);
     altSerial.println("AT+CIICR");delay(5000);
     altSerial.println("AT+CIFSR");delay(5000);
     //altSerial.println("AT+CIPSPRT=0");delay(4000);
     altSerial.println("AT+CIPSTART=\"TCP\",\"184.106.153.149\",\"80\"");delay(3000);
    //String mensaje
     String S_Bateria =String(Bateria,2);
     String Humedad_1 = String(S_Humedad_1,2);
     String Humedad_2 = String(S_Humedad_2,2);
     String fila = String("&field2=");
     String fila1 = String("&field3=");
     String stringUno= String("GET /update?api_key=EXNLVJJTBY17SM8U&field1=");
     String URL =String(stringUno + Humedad_1 + fila + Humedad_2 + fila1 + S_Bateria);
     int Largo=URL.length();
     Largo= Largo+3;
     String Memoria= String (String("AT+CIPSEND=")+String(Largo));
     altSerial.println(Memoria);delay(2000);
     altSerial.println(URL);altSerial.println("");
     //altSerial.println((char)26);puerto();delay(4000);
      delay(15000);
      altSerial.println("AT+CIPSHUT");delay(4000);
  end

Hi i want to ask is there any way that we can add more field in our channel? because by default the field is only eight and i need to use more field

This is a great presentation from 2 professors introducing how they use MATLAB in their physics courses. MATLAB Grader and Live Scripts are discussed in detail.

YouTube Video

Here is the abstract:

-----

Guest Presenters: Michele McColgan, Siena College and Duncan Carlsmith, UW Madison

The meeting will start with short presentations, and then we'll have time for questions and discussion in a colloquial setting. The presenters use MATLAB in their courses, and this meeting will provide a good opportunity to see the functionality that MATLAB affords. However, the presenters' approach to integrating computation is relevant generally; thus, this meeting should be of great interest, even if you are not a MATLAB user.

-----

Webinar from PICUP .

Hi, I am sending data from my device to the thingspeak server using HTTP and I'm trying to attach a timestamp with my uploads. I am using the created_at field in the request to set the time zone. A sample request looks like this

http://api.thingspeak.com/update?api_key=xxxyyyzzz&field1=3407.866699&field2=0.000000&field3=0.000000&field4=0.000000&field5=0.000000&field6=0.000000&field7=0.000000&field8=0.000000&created_at=2021-02-17T15:34:00+05:30

I live in India and my timezone offset is 5 hours 30 min. When I specify it like as shown above, I can see in the private view of my channel that it is adding 5 hours 30 min to the given time zone. So this time stamp becomes 21:04. How do I fix this? Am I making some mistake in my time zone offset in created_at? Or is there some time zone setting that is not set properly in my channel?

Thanks, Ashwin N