Solar cell

what wrong this my sketh?
dont display history graph
no data

check my sketch
#include <SoftwareSerial.h>
SoftwareSerial SwSerial(2, 3); // RX, TX
#define BLYNK_PRINT SwSerial
#include <BlynkSimpleSerial.h>
#include <SimpleTimer.h>
SimpleTimer timer;
int solartrackerr = A0;
char auth[] = “50552cd17b9f45298aa8dacd71c2af6d”;

void readSolarCell()
{
int solartracker = analogRead(solartrackerr);
Blynk.virtualWrite(21, solartracker);
}
void setup()
{
Serial.begin(9600);
timer.setInterval(1000, readSolarCell);
timer.setInterval(1000L, sendUptime);
Blynk.begin(auth);
pinMode(solartrackerr, INPUT);
}
void sendUptime()
{
Blynk.virtualWrite(V22, millis() /1000);
}
void loop() {
int solartracker = analogRead(solartrackerr);

Blynk.run();
timer.run();
}

thank’s min

You could change 21 to V21, I’m not sure it matters, but just to be sure :smile:

result same
have your solution?
skecth solar cell right?

1d updated once per hour.
1h, 6h - updated once per minute.

how to make sketch 1d,6h?

You don’t need to do anything. Just click on “1h” label on graph :wink:

thank’s min this work :slight_smile:
i need to data logger?
how?

I’m not sure what you mean by this, can you explain what you want?

1 Like

graph history of solar cell
i want to save in storage
how make data logger of graph history?

They are the same. The data is already logged on the server. The Graph History widget displays that. You only have to add the history widget to your dashboard to make it work.

i want data history in saved to excel

example this
source : Another History Graph Question - #4 by Dmitriy
i don’t know make such as :sweat_smile:

please teach me

please how to make blynk server?
have video make to blynk server?
very confused :relieved:
i use win 7

You can import the .csv files to Excel and it will be fine. You can do with the data as you please.

To setup Blynk local server, please refer to http://blynkkk.github.io

I will be glad to provide any assistance if you run into problems setting up the server or other things. It should run fine on Windows 7 with Java.

thank’s your answer :grinning:

but i know undertands setting Blynk local server?

can you make demo video make Blynk local server?

sorry i am very much quention :joy:

i want to learning to blynk

i am still amatir

I cannot make video’s (and currently I’m really busy with my new 3D printer…), but the setup of a local blynk server is pretty much self explanatory in the documentation. You should be able to get it running without too much trouble.

@rendydwiiputra
Check the documentation. It’s really easy
http://docs.blynk.cc/#blynk-server

thank’s @Lichtsignaal

but i dont undertand @Pavel can you make demo video? :joy: