LESSON 21: Data Logging from Arduino to SD card

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Give this man a medal, He is actually teaching, not just posting links for the codes and pictures with the pinouts. while playing a weird background music

jeans.
Автор

Hey Paul if you still look at these comments i just wanted to say that these lessons helped me so much. THANKS!!

antoniomontalvo
Автор

Paul is right on the money. Simple, straight forward, and best of all the code actually works. Good Job.

georgeross
Автор

I had never seen that kind of TUTOR on the youtube. Just Amazing.

shadowofstars
Автор

First of all just like to say a massive thanks, I've been struggling for years trying to learn basic electronics and programming and your lessons have opened up a whole new world of learning.

This particular lesson was a bit challenging but so rewarding, I had to jump through a few hoops such as buying a different SD logger and the kit I had a temperature and humidity sensor with only three pins !

Such a fantastic feeling getting it to work, thank you Paul.

daviddeegan
Автор

With the help of this extraordinary well explained tutorial of yours, I was able to get my triple axis accelerometer data onto a micro SD card and onto MS Excel. Thank you for helping and showing us to learn engineering skills!

ErlankBru
Автор

Mind Blowing. I Can't even imagine the possibilities and things I can do learning this lesson.

nadiazameni
Автор

Many thanks Paul, I had built a project using the Micro SD manufacturer recommendations and an ARDUINO UNO (Elegoo). The SD card vendor diagram tells you to use PIN10 as CS, but the SD card crashed after recording some data and had to be formatted. Windows could not even detect the card and had to be formatted with the SD format software, but after a few SD reformats it was damaged beyond repair... and of course data lost.
I followed your advice and used PIN 9 as CS and left PIN10 free, and this has worked and I am recording data every 2 seconds to test the SD card.
I will start reading the libraries to understand this type of requirements better

Again, a beautiful tutorial and extremely helpful for those of us learning this beautiful technology. God Bless You.

mariodominguezaguilar
Автор

I just wanted to tell you Paul, these helped me gain recognition at my job. You taught us so well.

rahm
Автор

Hey Mr.Paul
You are the best teacher I've ever seen. I am sure that your students love your classes and They are LUCKY to have you as their teacher.
please keep those lessons coming and let us (people who have no access to learning resources ) learn something new day by day and pass it to others so that the entire PLANET EARTH is happy :)

electronicsexplained
Автор

Thank you very much, Mr. McWhorter. I'm preparing for the CanSat competition. Videos like this help me a lot.

berkaykocaaliler
Автор

Dear Paul
you are a great tutor! I am intensively watching your videos during the last months! Thumbs up for Space Cowboys too!

emmtzi
Автор

OMG - Your amazing... I am new to micro controllers and was a little stuck as to what to do and how to do it. I have watched your videos and have learnt so much. Your amazing and most of the questions I have had whilst watching your videos have been answered by the end. Keep up the great work.

OcenaSoft
Автор

Wow ... what a guy! You are a rare gem. Thank you so much for the help and tutorials you provide.


You teach in such an informative and effective way. :)

justinheath
Автор

One more time !!! surprise me with this good tutorial "" God bless you paul "" "!!
Greetings from Colombia!

charlesdelv.
Автор

I'm writing this just in case it can help somebody else who may have had a similar experience.

All these lessons have been stellar. I followed this one to exact detail, and everything worked on the Ardiuno side (serial monitor was rolling through temp and press readings just as expected), but every time after ejecting the SD card and plugging it into the computer, it was full of corrupt and fragmented files. My card reader looks exactly the same (no mfgr name printed anywhere) as Paul's, and came dirt cheap from amazon. But it kept writing corrupt files.

What finally got it working was moving the connection wire on the SD card from 5V to 3.3V, and then plugging the other end directly into the 3.3V pin on the arduino, instead of into the 5V rail on the prototype board. In other words, the arduino has one wire from its 5V pin to the prototyping board, and another wire from its 3.3V pin straight to the 3.3v pin on the sd card reader.

I tried this because several other SD card readers on the market only have a 3.3v input. This lead me to believe 5V is too much for an SD card. I don't really know enough about electronics to know for sure. It was just a pattern I noticed. I think in my case I got a faulty SD reader. Maybe it's supposed to step down any 5V inputs to the 3.3V an sd card needs, but mine wasn't doing that correctly. So, a direct use of 3.3 made things work. Again, no idea why, as I don't have an electronics background, but it worked.

NearlyFromAfar
Автор

Thank you so much Mr. Mcwhorter, my code was very different because I used an LCD instead of serial and added some print statements incase no sd card was found and it runs exactly the same as yours. I really can code arduino (not all of course) by myself now and it's because of your lessons. This is invaluable to me, seriously from the bottom of my heart thank you so much! Sadly I don't have a gps module yet but when I get one I'll continue with the course but I'm going to browse your other Arduino related stuff. Thank you again I'd give you a hug if I wasn't hundreds of miles away. Best teacher I've ever had...

erygion
Автор

I was trying to mash code together to get my datalogger to work, unsuccessfully, until I found your videos. From one of your comments in a video I realized my error. This time I learned from the ground up with your sensor video and this one. I now completely understand the code I'm using and look forward to trying to add RTC data to this sketch. Thank you so much!

cupbowlspoonforkknif
Автор

Thanks Paul - I am continuing to learn from your lectures .

rajcodes
Автор

Great video!  I seemed to have found you on lesson 21 however I am certainly going to go back and start with lesson 1.  By far the best Arduino videos I have found so far.  Thank you very much for making these videos.   A thumbs-up for sure!  How could anyone possibly give these videos any other rating.  My initial batch of Arduino 'stuff' arrives in a day or two and I can't wait to use your videos as a major reference. 

patriotprepper