Sketch Download

Sketch version 9.51

  • Network configurations
    • CLIENT mode (zero configuration): no more needed to open the router port and configure the IP, Arduino is immediately online over 3G 
    • DIRECT mode (as before): server mode is always present if no internet connection is preset
  • The sketch 9 can be configured with these ethernet adapters or boards:
    1. Arduino Mega 2560 + Ethernet shield (W5100, standard card)
    2. Arduino Mega 2560 + Ethernet2 shield (W5500)
    3. Arduino Mega 2560 + ESP8266 wifi shield
    4. NodeMCU board (ARM32 standalone Arduino compatible board with Wifi embedded)
    5. ESP8266 (ARM32 standalone Arduino compatible board with Wifi embedded)
    6. SonOff boards
  • The sketch has to be compiled with IDE from arduino.cc: Link IDE
  • Delete all the previous libraries and install the new one
  • News on 9.50: (Dec 2018)
    • Ethernet: more stability
    • SonOff customization options
    • Pin states and vars state maintained if the board restart
    • Code simplified
  • News on 9.51: (Jan 2018)
    • Timer fix: timer #0 did’t work and reset PIN 10 at 00:00.

Base sketch:

Downloads: 9.51 : ANDRUINO_BASE_MAIN_SKETCH_9.51-1.zip (14 downloads)

 

TIP: Before compile, use the #define to select the right shield or board:

 

Sketch configuration:
Core Shield #define option
Arduino Mega
Ethernet shield
ETHERNET_SHIELD 1
Arduino Mega
Ethernet shield V2
ETHERNET_SHIELD_V2 1
Arduino Mega
ESP8266 shield
WIFI_ESP8266_SHIELD 1
NODE MCU 8266

Wifi embedded on Mcu

(shield is not necessary)

MCU_ESP8266 1

NODE_MCU 1

SONOFF S20

Wifi embedded on Mcu

(shield is not necessary)

MCU_ESP8266 1

SONOFF_S20 1

SONOFF TH10

Wifi embedded on Mcu

(shield is not necessary)

MCU_ESP8266 1

SONOFF_TH10 1

 


 

 

NRF24L node sketch

 

What’s New in the “Node” Version 1.22:

  • New file structure
  • Added “Non-invasive AC current sensor”
  • PIN inversion
  • PIN state memory
  • 1.21 FIX: Pulse duration fix if > 255 seconds + Base 9.21 (2 May2017)
  • 1.22 FIX: PIN configuration file (SET_PIN file) didn’t have effect on pins.

Downloads

 

16 Comments

  1. Hello, this is a new post aera in which you can leave your comments in English or in italian. All the message will be approved and then published.

  2. Hi!The program is very cool but I have a problem with arduino when it compiler. The complier write many warning.Have you any idea.If you want to see the problems I\’ll send you.Thanks a lot.

    • hi,

      have you downloaded the compiler from the right arduino site?
      arduino.cc is the right one

      have you installed all the libraries?

      please check the video guides on the andruino site and let me know,

      thanks
      Andrea

  3. E pisssibile una guida in italiano per noi che abbiamo acquistato l’app

  4. Ho scaricato la versione Base 9.21, ho copiato le librerie nella cartella libraries di Arduino, ma quando compilo lo sketch mi restituisce una serie di errori (qui ne ho copiati solo una parte perché non volevo occupare tutta la casella, nella prima riga in arancione compare la scritta \’_client\’ was not declared in this scope)Arduino:1.8.5 (Windows 7), Scheda:\”NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)\”C:\andruinoAPP\ANDRUINO_BASE_MAIN_SKETCH_9.21\I_ETH_BUFFER.ino: In function \’void ethbuff_ClientPrint(char*)\’:I_ETH_BUFFER:31: error: \’_client\’ was not declared in this scope _client.print(eth_buffer); //tx the previous ^C:\andruinoAPP\ANDRUINO_BASE_MAIN_SKETCH_9.21\I_ETH_BUFFER.ino: In function \’void ethbuff_ClientFlush()\’:I_ETH_BUFFER:138: error: \’_client\’ was not declared in this scope _client.print(eth_buffer); //tx the previous ^C:\andruinoAPP\ANDRUINO_BASE_MAIN_SKETCH_9.21\I_ETH_BUFFER.ino: In function \’void ethbuff_delay_and_stop()\’:I_ETH_BUFFER:157: error: \’_client\’ was not declared in this scope _client.flush(); ^C:\andruinoAPP\ANDRUINO_BASE_MAIN_SKETCH_9.21\K_ETH_CLIENT.ino: In function \’char* ethclient_FinishGetStream(char*, byte, char*, char*, unsigned int, keep_alive_type_e)\’:K_ETH_CLIENT:47: error: \’_client\’ was not declared in this scope while (!_client.available()) { ^K_ETH_CLIENT:72: error: \’_client\’ was not declared in this scope if (_client.available()) { ^K_ETH_CLIENT:159: error: \’_client\’ was not declared in this scope _client.flush(); ^C:\andruinoAPP\ANDRUINO_BASE_MAIN_SKETCH_9.21\K_ETH_CLIENT.ino: In function \’bool ethclient_SendHttp(char*, char*, char*, char*, byte)\’:K_ETH_CLIENT:217: error: \’_client\’ was not declared in this scope if (_client.connect(andruino_it_ip_address, 80)) { //andruino.it as number

    • ciao,

      grazie per l’info, non so come mai ma nel file: G_VAR.ino c’e’ una parte di codice commentata:
      #if MCU_ESP8266 == 1
      #include
      #include
      #include
      WiFiServer _server(ETHERNET_PORT);
      WiFiClient _client;
      Ticker Ticker_1sec;
      #endif

      cancella il commento e cosi’ compila,

      new sketch: http://andruino.it/download/1663/

      grazie per la segnalazione,

      bye,
      Andrea

  5. Wemerson Vitor Silva

    Hello, how can I get my five mobile phones to receive the same notification?

    • hi,

      if you login from different iphones, the notifications will be displayed on them,

      let me know if you succeed,

      bye
      Andrea

  6. Wemerson Vitor Silva

    Hi, I logged in on different iPhones each with a different PIN, in sktech there only has the option to only put an email and PIN. Only one iPhone is receiving notifications.

    • hello,

      you have to use the same user-email and same PIN (not different pin),

      email and pin are specified on the sketch and they have to be used also on the AndruinoApp,

      let me know if is clear,

      bye
      Andrea

  7. Wemerson Vitor Silva

    It works normally, when you push a pin at the high logic level, it loses the connection. In the app the message “Arduino: is powered-off (about 2 minutes ago) or the connection has been lost” is displayed. In the arduino serial appears:

    DHT – Temperature: 31.00
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    PING@705.61s – andruino.it: OK
    PING@720.61s – andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    PING@735.61s – andruino.it: OK
    DHT – Temperature: 31.00
    PING@750.61s – andruino.it: OK
    PING@765.61s – andruino.it: OK
    PING@780.61s – andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    PING@795.61s – andruino.it: OK
    DHT – Temperature: 31.00
    PING@810.60s – andruino.it: OK
    PING@825.60s – andruino.it: OK
    PING@840.60s – andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    PING@855.60s – andruino.it: OK
    DHT – Temperature: 31.00
    PING@870.60s – andruino.it: OK
    PING@885.60s – andruino.it: OK
    PING@900.60s – andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    PING@915.60s – andruino.it: OK
    DHT – Temperature: 31.00
    PING@930.60s – andruino.it: OK
    PING@945.60s – andruino.it: OK
    PING@960.60s – andruino.it: OK
    andruino.it: OK
    andruino.it: OK
    PING@975.60s – andruino.it: OK
    DHT – Temperature: 31.00
    DHT – Temperature: 30.90
    PING@3819.45s – result: FAIL
    DHT – Temperature: 30.90
    PING@3879.45s – result: FAIL

    • hello,

      from your message I’m understanding that the communication will fail when a pin is modified by the App,

      To understand well these are my questions:

      which is the pin number?
      Which is your hardware configuration?

      have you modified the pin assignment on the sketch?

      thanks,
      Andrea

Leave a Reply

Your email address will not be published. Required fields are marked *

Please type the characters of this captcha image in the input box

Please type the characters of this captcha image in the input box