No video

Arduino SD Card Reader Tutorial: Initialization, Technical Insights, and Data Logging

  Рет қаралды 4,945

Mario's Ideas

Mario's Ideas

Күн бұрын

Join this channel to get access to perks:
/ @marios_ideas
Welcome back after a longer break. In this video I will look at the SD card reader. This tutorial would cover, initialising this module, displaying technical information about the inserted SD card as well as cover data logging to text files located on the SD card.
Hope you will find this content useful
I will shortly create Hackter tutorial where you will find all the links to sketches mentioned in this video.

Пікірлер: 11
@monahanz
@monahanz 15 күн бұрын
First decent video for SD cards. Wish the was a way to R/W individual sectors. (Want to make CPM3 SD cards)
@ruchisingh4855
@ruchisingh4855 6 ай бұрын
really helpful videos. Your one of the video where you have made us understand the use of Arduino with 12 v source. really helped me a lot. thanks. Keep making this type of content. Very nice and detailed content.
@4KOWO
@4KOWO 6 ай бұрын
love your vids. can you maybe. amek a "ghost hnuting" machine with arduion uno
@AariPlayz
@AariPlayz Ай бұрын
thank yuo
@naeemhaq3504
@naeemhaq3504 7 ай бұрын
Good.
@jumbo999614
@jumbo999614 Ай бұрын
I use those sd2card, sdVolume,etc. to initialize and check sd card type and list the content. I get no error with this part. But how to open image file? I want to load image and display it on TFT screen. Below is my code: but I get "failed" all the time. File root = SD.open("/"); File entry = root.openNextFile(); uint8_t nameSize = String(entry.name()).length(); // get file name size String str1 = String(entry.name()).substring( nameSize - 4 ); // save file extension if( str1.equalsIgnoreCase(".bmp") ) // if the file has '.bmp' extension { Serial.println("OK"); bmpDraw(entry.name(), 0, 0); } else { Serial.println("failed"); } entry.close(); // close the file void bmpDraw(char *filename, uint8_t x, uint16_t y)
@marios_ideas
@marios_ideas 29 күн бұрын
To begin with, the image must be in the correct format. The display requires the RGB565 format, where each pixel is represented by 16 bits: 5 bits for red, 6 bits for green, and 5 bits for blue. You can either prepare your image in this format, which can be challenging, or convert from a 24-bit color format inside your Arduino code, which is even more complex. The display bitmap method is designed for monochrome images. Check out my recent video: kzbin.info/www/bejne/aJSXi6yAjsaKiZo. In a few days, I'll release a new video on displaying color bitmaps on the display, but sending them from a PC over a serial interface instead of using an SD card module. The final draft of this video will be available today on Patreon and for my channel members. It will show you how to prepare the image and send the bytes to the display. One issue for me is that my display doesn't have a Chip Select (CS) pin, so I can't use it with an SD card reader. Additionally, the SD card reader works with 5V logic, while my microcontroller and display use 3.3V logic. When I get the new components (a display with CS and a 3.3V SD card module), I'll create another video on this topic. If this response helped you, please consider supporting my channel.
@jumbo999614
@jumbo999614 28 күн бұрын
@@marios_ideas Thank you for your advice. I'll check the link.
@g.u.y332
@g.u.y332 Ай бұрын
which is this SD library ? In my sd library it just shows SD test and SD time
@marios_ideas
@marios_ideas Ай бұрын
I have not installed this library. It comes with Arduino IDE installation so if you have less examples it is either because you have different Arduino IDE version with differebt version of the library or you installed some other library on top of it. Go to Arduino Manage Libraries and find the version and see if there are upgrades available
@christianplay4041
@christianplay4041 Ай бұрын
If you are using the newer version of the Arduino IDE (2.3.2): Go to library manager > search "SD" > click on the three dots on the corner of the SD library > Examples This are the examples shown in the video and it contains all of them, I had the same issue.
Practical Guide to PCF8574: Adding Extra Pins for Arduino
16:46
Mario's Ideas
Рет қаралды 6 М.
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Рет қаралды 782 М.
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 44 МЛН
Fortunately, Ultraman protects me  #shorts #ultraman #ultramantiga #liveaction
00:10
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 203 МЛН
PlatformIO: All you need to know in 10 Minutes!
10:56
J's e-shack
Рет қаралды 305 М.
Tutorial: Writing and reading to SD cards
15:55
Kris Kasprzak
Рет қаралды 9 М.
Damascus Steel From Stick Welding Electrodes
14:15
Alec Steele
Рет қаралды 659 М.
This NEW AI Chip From Huawei DESTROYS NVIDIA
9:37
Tech Pulse Pro
Рет қаралды 10 М.
Amazing Stream Deck - Homemade With Touchscreen, Arduino + RGB
12:22
Send Data From SD Card To MQTT (Arduino)
18:43
Paul's Projects
Рет қаралды 1,8 М.
Revolutionize Your ESP32 Projects with Live GPIO Pin Monitoring!
8:08
The Last Outpost Workshop
Рет қаралды 165 М.
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 44 МЛН