Se sei già registrato           oppure    

Orario: 05/05/2024 15:29:44  

 

Energia Alternativa ed Energia Fai Da Te > Solare Fotovoltaico

VISUALIZZA L'ALBUM

Pagine: (39)   1   [2]   3   4   5   6   7   8   9   10   11   12   13   14   15   16   17   18   19   20  ...>    (Ultimo Msg)


Partitore di tensione per controllo batterie, APP per Android
FinePagina

Vincent
GigaWatt


Gruppo:Utente
Messaggi:1902

Stato:



Inviato il: 19/03/2017 20:25:03

Allora possiamo fare cosi questo modulo montato vicino alle batterie si collega alla rete wi fi di casa e :
Caso 1 invia i dati in ciclico a un server

Caso 2 crea una mini risorsa di rete a cui accediamo e leggiamo noi i dati

In entrambi i casi al tuo codice devi aggiungere il programma di connessione alla rete wifi e trasmissione (lo possiamo fare insieme ma il codice sta a te testarlo in locale) sulla base di quello aggiungo il tutto al programma e tu hai la tensione delle batterie sempre in display con allarmi vari ecc...



---------------
SuperSolar
http://forum.saturnoprezzi.com/

 

Riccardo

Avatar
GigaWatt


Gruppo:Utente
Messaggi:2915

Stato:



Inviato il: 19/03/2017 20:26:58

foto D1 Mini WEMOS e mux CD74HC4067A



Immagine Allegata: FOTO.JPG
 
ForumEA/Q/FOTO.JPG



---------------
Q.CELLS Q.PEAK 4575W sud-est
Solar Frontier CIS 850W sud-ovest
Inverter PIP5048MST
Batterie:LifePo4 Seplos MASON-48280-DIY EVE280AK 28,6 kWh
Scaldabagno Ferroli 30l 1500w
Scaldabagno Ariston 80l 1200w

 

Vincent
GigaWatt


Gruppo:Utente
Messaggi:1902

Stato:



Inviato il: 19/03/2017 20:42:14

Allora scarica le librerie sul ide di arduino per il wi fi carica questo codice adegua i parametri di configurazione

Collegandoti sull indirizzo di arduino dovresti visualizzare una pagina con scritto hello word


#include

#define WIRELESS_MODE_INFRA 1
#define WIRELESS_MODE_ADHOC 2

// Wireless configuration parameters ---------------------------

unsigned char local_ip[] = {192,168,1,2}; // IP address of WiShield
unsigned char gateway_ip[] = {192,168,1,1}; // router or gateway IP address
unsigned char subnet_mask[] = {255,255,255,0}; // subnet mask for the local network
const prog_char ssid[] PROGMEM = {"ASYNCLABS"}; // max 32 bytes

unsigned char security_type = 0; // 0 - open; 1 - WEP; 2 - WPA; 3 - WPA2

// WPA/WPA2 passphrase
const prog_char security_passphrase[] PROGMEM = {"12345678"}; // max 64 characters

// WEP 128-bit keys
// sample HEX keys
prog_uchar wep_keys[] PROGMEM = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, // Key 0
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Key 1
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Key 2
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // Key 3
};

// setup the wireless mode
// infrastructure - connect to AP
// adhoc - connect to another WiFi device
unsigned char wireless_mode = WIRELESS_MODE_INFRA;

unsigned char ssid_len;
unsigned char security_passphrase_len;
// End of wireless configuration parameters -------------------

// This is our page serving function that generates web pages
boolean sendMyPage(char* URL) {

// Check if the requested URL matches "/"
if (strcmp(URL, "/") == 0) {
// Use WiServer's print and println functions to write out the page content
WiServer.print("");
WiServer.print("Hello World!");
WiServer.print("");

// URL was recognized
return true;
}
// URL not found
return false;
}

void setup() {
// Initialize WiServer and have it use the sendMyPage function to serve pages
WiServer.init(sendMyPage);

// Enable Serial output and ask WiServer to generate log messages (optional)
Serial.begin(57600);
WiServer.enableVerboseMode(true);
}

void loop(){

// Run WiServer
WiServer.server_task();

delay(10);
}



---------------
SuperSolar
http://forum.saturnoprezzi.com/

 

Riccardo

Avatar
GigaWatt


Gruppo:Utente
Messaggi:2915

Stato:



Inviato il: 19/03/2017 20:50:38

il D1 mini dispone di una sua libreria per il wifi
#include ESP8266WiFi.h
e dovrebbero esistere anche librerie per creare access point



---------------
Q.CELLS Q.PEAK 4575W sud-est
Solar Frontier CIS 850W sud-ovest
Inverter PIP5048MST
Batterie:LifePo4 Seplos MASON-48280-DIY EVE280AK 28,6 kWh
Scaldabagno Ferroli 30l 1500w
Scaldabagno Ariston 80l 1200w

 

Vincent
GigaWatt


Gruppo:Utente
Messaggi:1902

Stato:



Inviato il: 19/03/2017 21:06:26

Ok quindi riesci ad adattare il codice?



---------------
SuperSolar
http://forum.saturnoprezzi.com/

 

Vincent
GigaWatt


Gruppo:Utente
Messaggi:1902

Stato:



Inviato il: 19/03/2017 21:07:33

Devo comprare 1 di queste schede per il sensore di temperatura



---------------
SuperSolar
http://forum.saturnoprezzi.com/

 

Riccardo

Avatar
GigaWatt


Gruppo:Utente
Messaggi:2915

Stato:



Inviato il: 19/03/2017 21:12:11

c'è un errore sull'utima riga



Immagine Allegata: 1.JPG
 
ForumEA/Q/1.JPG



---------------
Q.CELLS Q.PEAK 4575W sud-est
Solar Frontier CIS 850W sud-ovest
Inverter PIP5048MST
Batterie:LifePo4 Seplos MASON-48280-DIY EVE280AK 28,6 kWh
Scaldabagno Ferroli 30l 1500w
Scaldabagno Ariston 80l 1200w

 

Riccardo

Avatar
GigaWatt


Gruppo:Utente
Messaggi:2915

Stato:



Inviato il: 19/03/2017 21:13:09

2



Immagine Allegata: 2.JPG
 
ForumEA/Q/2.JPG



---------------
Q.CELLS Q.PEAK 4575W sud-est
Solar Frontier CIS 850W sud-ovest
Inverter PIP5048MST
Batterie:LifePo4 Seplos MASON-48280-DIY EVE280AK 28,6 kWh
Scaldabagno Ferroli 30l 1500w
Scaldabagno Ariston 80l 1200w

 

Riccardo

Avatar
GigaWatt


Gruppo:Utente
Messaggi:2915

Stato:



Inviato il: 19/03/2017 21:15:18

costano pochissimo



---------------
Q.CELLS Q.PEAK 4575W sud-est
Solar Frontier CIS 850W sud-ovest
Inverter PIP5048MST
Batterie:LifePo4 Seplos MASON-48280-DIY EVE280AK 28,6 kWh
Scaldabagno Ferroli 30l 1500w
Scaldabagno Ariston 80l 1200w

 

Vincent
GigaWatt


Gruppo:Utente
Messaggi:1902

Stato:



Inviato il: 19/03/2017 21:18:11

Metti il nome della rete wifi e la pass un ip compatibile con la rete incrocia le dita e dai energia vedi se con il pc lo trovi



---------------
SuperSolar
http://forum.saturnoprezzi.com/

 

Vincent
GigaWatt


Gruppo:Utente
Messaggi:1902

Stato:



Inviato il: 19/03/2017 21:19:13

Azz non avevo visto l errore



---------------
SuperSolar
http://forum.saturnoprezzi.com/

 

Vincent
GigaWatt


Gruppo:Utente
Messaggi:1902

Stato:



Inviato il: 19/03/2017 21:22:09

Azz e normale devi includere la lib wiserver.h



---------------
SuperSolar
http://forum.saturnoprezzi.com/

 

Riccardo

Avatar
GigaWatt


Gruppo:Utente
Messaggi:2915

Stato:



Inviato il: 19/03/2017 21:25:01

Scusa,lo devo connettere ad un mio access point
Se entro sulla mia rete ho tutti i mac e ip riservati mi ci vuole un quarto d'ora comodo comodo



---------------
Q.CELLS Q.PEAK 4575W sud-est
Solar Frontier CIS 850W sud-ovest
Inverter PIP5048MST
Batterie:LifePo4 Seplos MASON-48280-DIY EVE280AK 28,6 kWh
Scaldabagno Ferroli 30l 1500w
Scaldabagno Ariston 80l 1200w

 

Vincent
GigaWatt


Gruppo:Utente
Messaggi:1902

Stato:



Inviato il: 19/03/2017 21:27:25

#include

Non mel ha fatto scrivere era la prima riga del codice questa lib la devi scaricare



---------------
SuperSolar
http://forum.saturnoprezzi.com/

 

Vincent
GigaWatt


Gruppo:Utente
Messaggi:1902

Stato:



Inviato il: 19/03/2017 21:27:46

#include WiServer.h con <>



---------------
SuperSolar
http://forum.saturnoprezzi.com/

 
 InizioPagina
 

Pagine: (39)   1   [2]   3   4   5   6   7   8   9   10   11   12   13   14   15   16   17   18   19   20  ...>    (Ultimo Msg)

Versione Mobile!

Home page       TOP100-SOLAR      Home page forum