-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data logger RTC DS1307 + SD #6
Comments
Pinout SPI?https://forum.m5stack.com/topic/4197/stamp-c3-c3u-spi/2
So depending version, it should match like that with my selection of pins : |
https://github.com/PaulStoffregen/DS1307RTC > doesn't work. I needed to add: |
#include "Arduino.h" #define SCK 10 void setup() Serial.print("Initializing SD card..."); // see if the card is present and can be initialized: void loop() // read three sensors and append to the string: // open the file. note that only one file can be open at a time, // if the file is available, write to it: delay(1000); |
Ok, I get that I need to define SPI pins.
And launch it in Setup: I quit. |
Data logger module - RTC DS1307 + SDcard
Features:
With this Data Log Shield for WiFi D1 Mini board, can saving data to files on any FAT16 or FAT32 formatted MicroSD card.
The included RTC (Real Time Clock) can be used to timestamp all your data with the current time, so that you know precisely what happened when!
SD card interface works with FAT16 or FAT32 formatted cards.
Real time clock (RTC) keeps the time going even when the power disconnected. The coin cell battery backup last date and time.
RTC protected from wrong connecting of battery.
Pinout:
RTC:
D1 - SCL
D2 - SDA
SD card:
D5 - CLK
D6 - DO
D7 - DI
D8 - CS
https://github.com/wemos/D1_mini_Examples/blob/master/examples/04.Shields/Micro_SD_Shield/Datalogger/Datalogger.ino
The text was updated successfully, but these errors were encountered: