Data ed ora su INDIO D21G

Ciao,

sto entrando nel nuovo mondo di industrino.

Scrivo in quanto sto incontrando alcune difficoltaà. 
Nello spcifico:
- all'interno di industrino esiste il modulo RTC che consente di mantenere sincronizzata ed in memoria l'ora e la data. Come è possibile utilizzarlo?
- vorrei collagare una sonda per la lettura della temperatura. E' meglio utilizzare l'ingresso analogico 4-20mA oppure ingresso digitale PWM?
- vorrei loggare ciclicamente le informazioni ricevute dalla sonda nella scheda sd, ma ho un dubbio: è possibile utilizzare la scheda SD ed il modulo ethernet contemporaneamente (per una eventuale consultazione da remoto + logging su scheda sd sempre)?

In attesa di un vostro prezioso aiuto

Buona serata

Edoardo

Edoardo C
Edoardo C
30
| 0 0 0
Asked on 2/19/20, 9:53 PM
0
vote
338 Views

Hi All, I'm out of office until the 2/03. I have a limited access to my email. It could be take some time to receive an answer.

 

For urgent matter for Belgium contact +32 4 270 4700, For Luxemburg & International + 352 26 90 89 38 or support@cybernet.be

 

Regards

 

Armand FUMAL CEO Cybernet International SARL.

 

Armand Fumal
on 2/26/20, 6:31 PM

Hi, for use of of the RTC, please see https://github.com/Industruino/documentation/blob/master/indio.md#rtc

For temperature sensing, we suggest to use the analog input channels.

The SD card is part of the Ethernet module, and uses the same SPI bus for communication. You can use both in your sketch, writing data to the SD card and then reading it later to send in one batch over Ethernet. If it is small amounts of data, you could also use the FRAM non-volatile memory (8KB), then you don't need an SD card: https://github.com/Industruino/documentation/blob/master/ethernet.md#fram

Tom
Tom
5570
| 0 0 1
Answered on 2/20/20, 12:28 AM
1
vote

Hi,

thank yyou for the reply.

I'm trying to use RTC, in particular i am uploading the demo sketch that i found at this link.
https://github.com/Industruino/democode/blob/master/rtc_D21G/rtc_D21G.ino

But i have some problem, despite i have imported and included all library needed there are an error:


C:\Users\user\AppData\Local\Temp\arduino_modified_sketch_22306\sketch_feb26a.ino: In function 'void loop()':

sketch_feb26a:52:3: error: 'RTCind' was not declared in this scope

   RTCind.get(rtc, true);

   ^

exit status 1
'RTCind' was not declared in this scope

Waiting for an help

Best regards

Edoardo C
Edoardo C
30
| 0 0 0
Answered on 2/26/20, 6:31 PM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This community is for professionals and enthusiasts of our products and services.

Read Guidelines

Question tools

60 follower(s)

Stats

Asked: 2/19/20, 9:53 PM
Seen: 338 times
Last updated: 2/26/20, 6:36 PM