#22 Using an SD card to log data - and how to improve the reliability!
How to interface an inexpensive SD Card Reader / Writer to your Arduino using an SPI bus - easier than you might think.
I also describe some simple modifications you can make to improve the reliability of the hardware, and (courtesy of Adafruit) enhance the functionality of the library software.
If you're logging a temperature, counting the number of bees going into your hive, monitoring the rain level or whatever you need a reliable way of logging that data to an SD card - without coming back a week later to find there is no data written to the card!
Using an inexpensive, widely available SD module , this video tells you everything you need to know to make your SD logging module as robust as you can without breaking the bank.
Link to the final code - remember if you get an error with the SD.end you need the new, improved library, as described here:
Demo Code link: https://www.dropbox.com/sh/blpdw5mwq5p7sv1/AACaqXSsjNwjfPzGbYjFh1DSa?dl=0
New, improved SD library (courtesy of Adafruit) : https://github.com/adafruit/SD Just click the download button and extract the SD library into your library folder and delete the original one in the library your Arduino folder (under Program Files (x86)) as this one supersedes it.
Feel free to add comments or questions below and, as always, Thanks For Watching!
And my channel is here:
https://www.youtube.com/c/RalphBacon
How can I remember this? Memory tip: "See" Ralph Bacon, geddit?
Видео #22 Using an SD card to log data - and how to improve the reliability! канала Ralph S Bacon
I also describe some simple modifications you can make to improve the reliability of the hardware, and (courtesy of Adafruit) enhance the functionality of the library software.
If you're logging a temperature, counting the number of bees going into your hive, monitoring the rain level or whatever you need a reliable way of logging that data to an SD card - without coming back a week later to find there is no data written to the card!
Using an inexpensive, widely available SD module , this video tells you everything you need to know to make your SD logging module as robust as you can without breaking the bank.
Link to the final code - remember if you get an error with the SD.end you need the new, improved library, as described here:
Demo Code link: https://www.dropbox.com/sh/blpdw5mwq5p7sv1/AACaqXSsjNwjfPzGbYjFh1DSa?dl=0
New, improved SD library (courtesy of Adafruit) : https://github.com/adafruit/SD Just click the download button and extract the SD library into your library folder and delete the original one in the library your Arduino folder (under Program Files (x86)) as this one supersedes it.
Feel free to add comments or questions below and, as always, Thanks For Watching!
And my channel is here:
https://www.youtube.com/c/RalphBacon
How can I remember this? Memory tip: "See" Ralph Bacon, geddit?
Видео #22 Using an SD card to log data - and how to improve the reliability! канала Ralph S Bacon
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Using SD Cards with Arduino - Record Servo Motor MovementsTutorial: Using an SD Card with the Arduino for Data Logging#152 STM32 Blue Pill - Is this a modern NANO replacement (✅)#85 Arduino vs Orange & Raspberry Pi Zero 🥧#186 Measure Current with an Arduino - Digital or Analog? Easy!How good are the ADCs inside Arduinos, ESP8266, and ESP32? And extenal ADCs (ADS1115)#21 Voltage Conversion: Linear Voltage Regulator vs Buck Converter#167 Light an LED 💡 with low 1.8v Diode Pump µController output (easy)#5 Arduino compatible Real Time Clock modules (RTC) - DS1307 & DS3231LESSON 21: Data Logging from Arduino to SD cardArduino Uno to ATmega328 - Shrinking your Arduino ProjectsHow to read and write SD cards with the Arduino Uno | UATS A&S #6#168 Upgrade to an Arduino Uno 'Plus' with MiniCore and an ATMega328PBMake your own Power Meter/Logger#40 Let the music play! Arduino based MP3 Player for music (or announcements)Cheap logic analyzer SPI i2c UART#9 Arduino Data Logger with Direct Input to Excel#83 Colour Touch Screen TFT LCD for your Arduino - Cheap & EasyArduino vs. PLC for industrial controlArduino SD Card and Data Logging to Excel Tutorial