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
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
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
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!
Keep Informed
About This Forum
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
Asked: 2/19/20, 9:53 PM |
Seen: 1809 times |
Last updated: 2/26/20, 6:36 PM |
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.