Problem with wemos d1 max6755 cannot show on blynk

hello, im new in IOT,
and was try new little project, but got a little problem. i have to searh this forum, but not find with can undersatin me to learn.

i was setting my wemos d1 mini to read data from max6675, but i got problem to show on blynk. Serial monitor was succed to show temp.
anyone can help me please.
im using Wemos D1 mini, Max6675, Blynk app

this my code

> #define BLYNK_PRINT Serial
> 
> 
> #include <ESP8266WiFi.h>
> #include <BlynkSimpleEsp8266.h>
> #include "max6675.h"
> 
> // You should get Auth Token in the Blynk App.
> // Go to the Project Settings (nut icon).
> char auth[] = "xxx";
> 
> // Your WiFi credentials.
> // Set password to "" for open networks.
> char ssid[] = "xxx";
> char pass[] = "xxx";
> 
> int ktcSO = 12;
> int ktcCS = 13;
> int ktcCLK = 14;
> int units = 1;
> float t =0.00;
> 
> #define PIN_UPTIME V5
> 
> MAX6675 ktc(ktcCLK, ktcCS, ktcSO);
> 
> BLYNK_READ(V5) //Blynk app has something on V5
> {
>   float DC = ktc.readCelsius();
>   Blynk.virtualWrite(V5, DC ); //sending to Blynk
> }
> 
> void setup()
> {
>   // Debug console
>   Serial.begin(9600);
> 
>   Blynk.begin(auth, ssid, pass);
> }
> 
> void loop()
> {
>   // basic readout test, just print the current temp
>   
>    Serial.print("C = "); 
>    Serial.print(ktc.readCelsius());
>    Serial.print("\t F = ");
>    Serial.println(ktc.readFahrenheit());
>  
>    delay(1000);
>    
>   Blynk.run();
> }

Can you let us know the problem you are facing? From your post, am unable to decipher that.

I’d say that’s your problem right there.

Read the Getting Started guides and take note of the bits about keeping your Void Loop() clean, the use of timers, and avoiding the use of delay().

Pete.

1 Like

my problem is, i want to put my monitor to blynk

Sorry, that makes no sense to me at all!

Pete.

what i mean is, i want to use virtual pin, soo the temp can chow on bllynk

@Cheryll_Cheryll_Dane Use the value display widget on Blynktied to a virtual pin. Use Blynk.virtualWrite(Vn, value) in your program. The value will show up on your phone Blynk UI. See examples for Value Display widget in the docs.

Okay, I’m going to drop out of this thread now, it’s too painful.
As I suggested earlier, you should read the Getting Started tutorials.

Pete.

1 Like