Using SD Cards with Arduino - Record Servo Motor Movements

  Рет қаралды 205,189

DroneBot Workshop

DroneBot Workshop

Күн бұрын

Пікірлер: 259
@lesrstoxsal1764
@lesrstoxsal1764 4 жыл бұрын
Dear DroneBot, You are definitely one of the great explainators on youtube ! Cause: 1. You just don't constantly whirling around with the cursor on de screen. 2. You just don't play any strange music in the background. 3. You articularly perfect and extremely effective. 4. You take the time to explain everything accurately. > You are the absolute best, so keep on going strong !!!
@spencoid1
@spencoid1 3 жыл бұрын
yes!!! thanks for no crappy music!!!
@venkatyalamati3285
@venkatyalamati3285 Жыл бұрын
Yes....
@impossiblesquad140
@impossiblesquad140 7 ай бұрын
he aint lettin u hit bru
@mihaiadam4024
@mihaiadam4024 5 жыл бұрын
The world needs more people like you, very, very good job explaining, thank you, and hope to see more from you. Best regards.
@spencoid1
@spencoid1 3 жыл бұрын
most technical youtubers just don't get that we (or at least I) want information not entertainment, thanks for such a clear no BS presentation
@KikiTay
@KikiTay 5 жыл бұрын
You are incredibly generous to share your skill and knowledge to the world. The amount of work and effort you put into making it so simple to understand is incredible! I learnt a lot! Thanks for doing this, I'm extremely grateful!
@daiseman
@daiseman 4 жыл бұрын
The clearest, most consistent and useful Arduino content on KZbin. I'm hooked. Keep up the great work.
@fenylmecc6347
@fenylmecc6347 5 жыл бұрын
Your videos are the best and easiest to understand
@davidbelchamber6102
@davidbelchamber6102 5 жыл бұрын
As with everyone else, thank you for the outstanding videos. I’ve finished building the mechanical aspects of a 4 servo CNC 3D wire, rod and tube bending machine. I’m about to add a number of optical interrupter limit switches, a touchscreen lcd control panel and an SD card reader. My knowledge of C++ is growing daily and the software design is underway. None of this would or could have happened without your videos. Profound thanks.
@paulbertrand8935
@paulbertrand8935 4 жыл бұрын
This channel is a 10.5 out of 10 - always incredibly helpful and well produced. I'd kill for you to do a similar video about playing back audio with SD cards
@paarthsstudio
@paarthsstudio 3 жыл бұрын
Nope its 20 out of 10
@kingshahzad78
@kingshahzad78 5 жыл бұрын
One of the best video. Your tools arrangement at the back shows that you are very organized man. Great
@paulhurd954
@paulhurd954 5 жыл бұрын
You look so happy! I’m glad you made the decision to make this your full time job. Well done and thank you for all the great videos
@kacperbardecki3671
@kacperbardecki3671 2 жыл бұрын
I love the subtle camera move here and there. And the neck turn.
@MrMarkatgrc
@MrMarkatgrc 3 жыл бұрын
It's such wonderful the way you are analysing and "transmitting" to us your knowledgement. We Thank you from our heart for your precious work.
@Mystic0Dreamer
@Mystic0Dreamer 5 жыл бұрын
Hey Bill. I don't know if you read the comments from past videos but I just wanted to report that I ordered a bunch of SD modules and cards and they just came in and I followed your instructions and they work perfectly as expected. Thank you, thank you, thank you! This is so GREAT!
@AlfieLab.
@AlfieLab. 4 жыл бұрын
Mystic Dreamer kzbin.info/www/bejne/i5OUgpauZr-Kqbs
@Mystic0Dreamer
@Mystic0Dreamer 5 жыл бұрын
Thank you, thank you, thank you Bill. This was an absolutely wonderful video lesson. I wasn't aware that using an SD card on an Arduino was so easy. I will definitely be incorporating this feature into my robotic projects. I am so happy I found your KZbin Channel.
@wernerberry7800
@wernerberry7800 5 жыл бұрын
Thank you so much for a fantastic video! One of your best yet! Absolutely love it when you do projects with Arduino and teach how to code!! You are my favorite Channel on KZbin!!
@drjwilber
@drjwilber 4 жыл бұрын
(yep) ** 10
@nareshprabhu8397
@nareshprabhu8397 5 жыл бұрын
Just what I was looking for. Nothing short nor nothing extra!
@michaelschneider5407
@michaelschneider5407 4 жыл бұрын
Thank you very much (currently from Germany). Your videos are very professional and very easy to understand. My sincere appreciation!
@tameral-rodainieh849
@tameral-rodainieh849 5 жыл бұрын
Excellent Thank you very much,please keep sharing your awesome Videos. I’m Beginner but I’m learning very quickly from your Channel .
@timothynicholson8231
@timothynicholson8231 5 жыл бұрын
Just what I needed! Thank you for putting all this information in one spot!!!
@kijijikhalid601
@kijijikhalid601 2 жыл бұрын
You are among a GREAT MENTOR I ever met. I can't find The words to Thank you. This project just solve one of my big project to do, how the Robot can memorize the task to be executed. Thank you again
@ErnestoOportoBooks
@ErnestoOportoBooks 4 жыл бұрын
Another very informative presentation, with an easy to follow pages. Your work is amazing. Very few presenters bother to provide the information that you do. The devil is in the details, and you provide every detail needed to learn more. Got bless you and our family.
@vk4865
@vk4865 5 жыл бұрын
Excellent video as always, dear Bill. Thanks for putting so much effort which is helping me in learning all these topics.
@AlfieLab.
@AlfieLab. 4 жыл бұрын
Vijay Khole kzbin.info/www/bejne/i5OUgpauZr-Kqbs
@joeybennett887
@joeybennett887 2 жыл бұрын
You have no idea how much this helped…I can’t thank you enough!!
@MrCutlerylover
@MrCutlerylover 4 жыл бұрын
Paul Mcworther was right, you have one of the best techsites , keep on the good work!
@Taran72
@Taran72 5 жыл бұрын
I wish I had found you when I started thinkering with the SD cards....it would have made my learning a lot easier. Great Video!!! thank you for sharing.
@asrajo5728
@asrajo5728 2 жыл бұрын
Thank you very much sir, your explanation is very easy to understand, I like that you process using the library that is already in the Arduino IDE. Unlike others using their library which makes the tutorial confusing. I hope you are always healthy and your business smoothly, thanks. Looking forward for your another tutorial
@phanxquang
@phanxquang 2 жыл бұрын
This video explained very well. You are very good tutor and generous helper
@abhijitrashinkar
@abhijitrashinkar 3 жыл бұрын
Sir, no other word to address, I am very much impressed with your tutorial, I have subscribed, thank you by heart.
@ruelsarno5123
@ruelsarno5123 5 жыл бұрын
I love all the videos I watched with this channel (droneBot). They are very easy to understand and the step-by-step processes are well explained. Two thumbs up not only on this but all his videos!
@josephbonello163
@josephbonello163 5 жыл бұрын
Thank You ..You are a very good teacher
@REDACT3D
@REDACT3D 5 жыл бұрын
oh sweet bud, just grabbed one of these for the Arduino Due / Eurorack drum machine project - to act as sample storage. Keep up the great work bud!
@conversationwithgod272
@conversationwithgod272 Жыл бұрын
It's incredibly clear how well you explain things; you're quite intelligent. I wonder if you've registered any inventions yet?
@DSVidyasagar
@DSVidyasagar 3 жыл бұрын
You explanation is soooo perfect. Really appreciate.
@ShahabSheikhzadeh
@ShahabSheikhzadeh Жыл бұрын
This video is absolutely a work of art and I have a lot to learn when teaching students and creating content. Thank you for the work you do. What's the best way to support You? 😭
@danylipsker
@danylipsker 5 жыл бұрын
As usual Your tutorials and method of teaching are of the highest quality Thank for being there for us
@dwalden74
@dwalden74 4 жыл бұрын
The Bob Ross of electronics. Love it.
@MrBanzoid
@MrBanzoid 4 жыл бұрын
Thanks for this very informative article. It's time to blow the dust off my case of Arduino bits'n'bobs and start playing with them again.
@EarlGray_kd7sjt
@EarlGray_kd7sjt 5 жыл бұрын
Awesome video good sir. I subbed the channel and the newsletter. I look forward to future videos.
@UReasonIt
@UReasonIt 5 жыл бұрын
Great video as always! One note: The SD library now supports multiple open files.
@Dronebotworkshop
@Dronebotworkshop 5 жыл бұрын
Yes your correct Scott, I actually realized that after I finished the recording!
@UReasonIt
@UReasonIt 5 жыл бұрын
@@Dronebotworkshop You do a super job so no worries!
@MARS-GREENH0USE
@MARS-GREENH0USE 4 жыл бұрын
All 5 of these sketches return error 0x000 etc. Been 3 days. None of this works. You never show how u upload the code and bootloaded
@BooktownBoy
@BooktownBoy Жыл бұрын
Really good video, thank you. Methodically explained and demonstrated, subbed.
@roberthodgson3574
@roberthodgson3574 11 ай бұрын
Perfect and clear explanation - thank you.
@vegansynths7757
@vegansynths7757 4 жыл бұрын
FINALLY!!!!! A video showing how to record and playback input!!!!!! THANK YOU THANK YOU THANK YOU!!!!!!!!! P.S. Can you do a follow up showing how to record it to a timeline? one where the playback speed can be adjusted? I might be asking too much but thank you so much for this!!!!!
@diego.alienigena
@diego.alienigena 3 жыл бұрын
excellent, very clear explanation. I'll be using SD cards soon!
@MutazLafi
@MutazLafi 2 жыл бұрын
hello i have one question does the micro SD module accept micro SD hc
@hassan_ksu
@hassan_ksu Жыл бұрын
Always great explanations.
@arthus1971
@arthus1971 Жыл бұрын
Bravisimo!!! Use The SD Card to save status of the micro and send it to sleep, when inactivity, wake up, read and save battery power. Greetings
@hywelthomas7797
@hywelthomas7797 5 жыл бұрын
I Thank you so much for what you do and do so well. It was a pleasure finding your video's.
@hmdmddh
@hmdmddh 5 жыл бұрын
Thank you for your easiest and clear explaination
@alibehrouz9833
@alibehrouz9833 5 жыл бұрын
thanks Bil for your easy and important videos.
@ec11368
@ec11368 2 жыл бұрын
Thank you very much for your time and for all your efforts.
@gasko2762
@gasko2762 5 жыл бұрын
Thank you, and hope to see more from you. Best regards.
@danielherrera7339
@danielherrera7339 6 ай бұрын
Your are worth billions, thank you, your the best
@MrGreenblatt
@MrGreenblatt 4 жыл бұрын
For anyone having trouble with the CS pin... The CS (Chip Select) is also commonly referred to as SS (Slave Select). So, if your have a board and can't find the CS pin in the pinout, try looking for SS instead.
@venkatyalamati3285
@venkatyalamati3285 Жыл бұрын
Thank you so much for the clean explanation ☺️
@croissantossus
@croissantossus 2 жыл бұрын
Thank you for the very detailed explanation
@erikw8644
@erikw8644 5 жыл бұрын
Thank you!! I love your channel and subcribed. I'm a computer programmer, interrested in building my own hardware. You very well explain how to do this. I am sometimes struggling with why to add like other parts beside just the board and the addons, like resistance between led (not the case in this video). I guess thats beyond the scope of the videos and perfectly okay. I had an arduino starter kit already laying around, but didnt know how to get started. I have now ordered some extra parts and soon going to try to make my own plant watering system by measuring the soil moist. Love your vids. Thanks and I'll keep watching! 😎👍
4 жыл бұрын
Your videos are such pieces of education! Can't believe how much I've learned in an evening and how easy and entertaining that was. As a follow up to this video, how can I make a file browser to select the file I want to read on the SD card? Thanks for all 🙏
@TheUnofficialMaker
@TheUnofficialMaker 3 жыл бұрын
really cool, great details and explanation.
@akshayjose6555
@akshayjose6555 5 жыл бұрын
This video is gold for me
@douglasheld
@douglasheld 3 жыл бұрын
DroneBot Workshop, 21:30 why do you use such a slow serial speed of 9600 baud? Are there RF problems turning up the serial speed to more usable levels?
@PatnaikUC
@PatnaikUC 4 жыл бұрын
Excellent. Can you extend it to 16 servos using Arduino servo shield 2+16 or the SD card with one joystick to record the position of each servo and play automatically thereafter
@vivekagarwal117
@vivekagarwal117 2 жыл бұрын
Thanks , your information is very good. Why analog port integer data is converted to string to store in SD card ?
@camcompco
@camcompco 3 жыл бұрын
To add to what others have already said . . .thank you for sharing your obvious wealth of knowledge in such a clear and cohesive way. Question, how would you introduce a feature to playback the servo motion in the same speed you recorded it, including pauses, etc . . . . Thank you for any assistance with this. All the best, John
@simonbancroft8579
@simonbancroft8579 4 жыл бұрын
Superb tutorial, as usual. Thank you.
@Alex-eu6kn
@Alex-eu6kn 11 ай бұрын
Nice explanaition. I did similar things. Worte a python app on Linux connected a PS4 Controller via BT and records the data on the PC and visualize the JoystickPositions. By developing that I noticed that it is important to write a timer for each dataset (mean per array row). Keep in mind that the microcontroller may cannot read and proceed the data in realtime. If you plan for example sound synchronised animatronics you need to have a timer based data structure. Otherwise it will go thru faster or lower than you planned.
@botak333
@botak333 4 жыл бұрын
Hi sir, how to record and play more than 1 servo sir??.
@mehmetgul8686
@mehmetgul8686 4 жыл бұрын
thanks so much for your excellent tutorial, I used this tutorial for stepper motor and it is working, thanks again...
@BriT6245
@BriT6245 4 жыл бұрын
Fantastic video - thanks for your hard work making it!
@stuartron29
@stuartron29 3 жыл бұрын
Thank you for all that you do, truly excellent
@jflow_07
@jflow_07 5 жыл бұрын
at 12:56 it was mentioned that 10k potentiometers were used and any value from 5k upwards would suffice. Why is this? Can I use 1k or 2k pots? Thank you.
@tuannguyen-vy2kz
@tuannguyen-vy2kz 2 ай бұрын
Very easy to understand ❤❤
@azyfloof
@azyfloof 5 жыл бұрын
Ok I had NO idea these parsed actual file structures on the SD card! I just thought you could write/read raw data, and that was it. This makes these MUCH more attractive for future projects! :O Now I'm imagining my projects with Neopixels, but reading colour swatch/pattern data off of an SD card instead of from the firmware. This'll make it easier to upgrade/change colours and patterns :D
@weetzinng2217
@weetzinng2217 5 жыл бұрын
Thank you so much for the detail explanation. keep up the good work
@DigvijaySinghRathore
@DigvijaySinghRathore 5 жыл бұрын
Can I replace the potentiometers with joystick with the same code ?
@rajkunwar1454
@rajkunwar1454 Жыл бұрын
How to access these data in the SD file from the PC? What kind of interface it requires?
@naveenvaid4318
@naveenvaid4318 3 жыл бұрын
Dear sir your video is too good and great explain in video really i like it. this all are very useful thanks for this videos. i subscribed your channel sir hats off........................sir
@magmagth4346
@magmagth4346 2 жыл бұрын
thank you very much dear Bill I'm beginner in Arduino so i need help to use push button instead of potentiometer, and instead of servo motor i want to use relay 5v. so this is mean i want to use digital data instead of analog , many thanks
@bobbihansel
@bobbihansel 3 жыл бұрын
Fantastic tutorial, thank you!
@startobytes
@startobytes 4 жыл бұрын
Hi could you make it with you about the nrf24l01 Module and how to Connect it with the Arduino Uno?!
@mog99lie
@mog99lie 4 жыл бұрын
Greetings from Germany and thank you for the video. I have just finished my 6 axis arm and looking for a Ardunio program to control it and only came across your channel this evening. You have asked for suggestions for more videos?? I have two. First, what about a push button switch for start and finish points for the servo to record the location, that would save a lot of memory and perhaps the S card would not be needed? If using multi servos it would also enable every servo to go to the final position directly. My second request (If not already requited) is a guide around your workshop, looking around your shop you are well organise, I wish I was!! I can do simple programming with the Aruino and learning all the time, it is great but I will be 70 very soon so I want to run before I can walk!!! Ha Ha!!
@luberies
@luberies 5 жыл бұрын
Marvelous explained! Thank you!
@gaets04
@gaets04 5 жыл бұрын
I want to make music come out using what you just demonstrated with two servos when I apply a momentary switch to move the servo one way and then the other way after pressing it again.
@siamtourist
@siamtourist 3 жыл бұрын
Great work! Thank you for sharing
@jihunmin5130
@jihunmin5130 3 жыл бұрын
It's a great lecture, it really helps me. I'm suddenly curious about something. What is the method to control 3 servo motors with these 3 different data(Dumpfil example 21:24)?
@josephciaravino4115
@josephciaravino4115 4 жыл бұрын
Hi quality content! Love your channel!
@conversationwithgod272
@conversationwithgod272 Жыл бұрын
Great video from GREAT MAN.
@vatsalmodi8352
@vatsalmodi8352 4 жыл бұрын
Thank you sir it was very good knowledge you are sharing.Thank you for the video you make
@inferno6012
@inferno6012 4 жыл бұрын
note you can use icsp pins those are at the bottom as spi pins
@drdbbajpai
@drdbbajpai 4 жыл бұрын
SIR, THANKS FOR YOUR CONTRIBUTION FOR ARDUINO LEARNERS AS WE AE NOVICES IN THIS FIELD AND WANT TOUNDERSTAND THE POWER OF FUNCTIONING ARDUINO AND RELATED PROJECTS
@YamamotoGenryusaiShigekuni
@YamamotoGenryusaiShigekuni 4 жыл бұрын
There is no reference on Arduino website to "buffer" function or "toInt". Is there any library that I can find some information about such functions?
@tonyt8587
@tonyt8587 5 жыл бұрын
Hi Another great video. Q. How Doug you control end of file when writing data in the never ending loop? Does SD close the file properly when you shutdown the Arduino? How do you know that the last record is written? Thanks.
@RalphWLundvall
@RalphWLundvall 3 жыл бұрын
I have that question- how to end gracefully. I think a test of a button press would be one way to create False to end a while True loop.
@douglas2lee929
@douglas2lee929 Жыл бұрын
Can anybody answer this question for me. I assume the answer is very simple. I am just hardly even a beginner, so please forgive the "ignorance" of my question. Here it is: What controls the "frequency" or the "timing" of how fast (how often) the three measurements are written to the memory card? Is this a function of the 9600 baud rate? Or is it controlled or determined by something else? I'm referring to the three measurements from the the potentiometers, during appx time of 17:05 through 17:38 of the video. Is there some kind of "throttling" someplace along the chain that determines this "write rate"? Is there some command in the code that determines it? It appeared that the data was being written to memory quite fast. Using the exact same set-up that he is using here, how would I change the "write" speed to say, half as fast, or twice as fast? Meaning taking a measurement only half as frequently as it is happening here. Is the real world rate of data writing to the memory card a function of how fast the hardware can "grab" the values at the analog inputs, or in some other manner? Thank You to anybody who has the time and the knowledge to answer. If this was covered in the video, I missed it.
@pantac4493
@pantac4493 5 жыл бұрын
Can this be used for setting different variables that it reads from the txt file? (I could change blinking rate of led, pin numbers, etc.) all from variables on sd card? Thanks
@Wajiduddaim
@Wajiduddaim 5 жыл бұрын
3:24 if its 32 Gega Byte, 2 Tera Byte and 128 Tera Byte than you should Use Capital "B" because the small "b" stands for "bit"
@117MCHALO
@117MCHALO 5 жыл бұрын
I am doing a mechatornics project and was wondering if you could write to the Micro SD card reader that are found in LCD displays and use it as a Data logger aswell as a standalone display
@MrHics
@MrHics 5 жыл бұрын
24:00 why did you link the ground circuits together?
@azyfloof
@azyfloof 5 жыл бұрын
The signal from the Arduino to the servo needs a ground reference
@lewishamilton9941
@lewishamilton9941 2 жыл бұрын
I have a project which requires reading data ONLY from a SD card into a static array in the setup(). I only require this to run start-up. This uses a total of four digital pins on the Arduino which I would like to re-use later in the sketch for different functions. Is this possible?
@srikanth5832
@srikanth5832 5 жыл бұрын
Sir, can you explain how to interface SD Card and nRF24L01 together. Thank you.
@watchingin3d549
@watchingin3d549 5 жыл бұрын
Yes bro. I got all these awhile ago and nmwould like to know. I want to send gcode to machines via sd card or the nrf. Either use sd card when no internet or use nrf when around wifi.
@AngryRamboShow
@AngryRamboShow 5 жыл бұрын
@@watchingin3d549 Look on the channel "Teaching Tech," he's got a instructional about connecting online to a 3d printer via raspberry pi's, which have built in wifi and blutooth and also ethernet ports.
@AngryRamboShow
@AngryRamboShow 5 жыл бұрын
28:20 You see in this setup function that we're reading from a .txt file named "servopos.txt" stored on the SD card; then in a while loop we read it string by string into "buffer." buffer = datafile.readStringUntil(' '); _and_ myservo.write(buffer.toInt()); So buffer is a String that you dump a file into at runtime and then can convert to Integers. Those Integers can then be passed the same way data is passed via the nRF24L01 video. That's the magic part, the reading and writing from the SD card; those subfunctions that you see in those final examples give you the option of passing data in and out of a stored state to use whenever. How you use them is entirely up to you.
@HelloThere-ph3zb
@HelloThere-ph3zb 4 жыл бұрын
You're doing a great job in your tutorials. I will forward your site to others that want to learn, especially women that want to learn code. I also love your "BLUE" shop color scheme. Was that your concept or a interior decorator? What city/country are you in? Thanks, Best Wishes
@Mau365PP
@Mau365PP 3 жыл бұрын
You are amazing ! One question, how can I create multiple files with different recordings in each file? For example, each file cound be a recording for a robot to do, and by playing different files at a time I could have a robot do one activity at a time. Thanks
@glennhair7954
@glennhair7954 4 жыл бұрын
Does the map command effectively replace the need for slope and point math calculations for translation of the servo position? If this is the case, is it accurate?
Using EEPROM with Arduino - Internal & External
31:54
DroneBot Workshop
Рет қаралды 202 М.
Using Servo Motors with Arduino
43:06
DroneBot Workshop
Рет қаралды 1,4 МЛН
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
Introduction to ESP32 - Getting Started
47:57
DroneBot Workshop
Рет қаралды 1,7 МЛН
The Arduino Family - Uno - Mega - Nano - Pro Mini -ATtiny85
30:01
DroneBot Workshop
Рет қаралды 215 М.
LESSON 21: Data Logging from Arduino to SD card
28:01
Paul McWhorter
Рет қаралды 141 М.
ESP32 SD Card Interfacing Fast!
7:07
ArtsyEngineering
Рет қаралды 59 М.
Big Stepper Motors with Arduino
29:43
DroneBot Workshop
Рет қаралды 1,2 МЛН
Arduino Real Time Clock - Using the Tiny RTC
31:29
DroneBot Workshop
Рет қаралды 205 М.
Stepper Motors with Arduino - Controlling Bipolar & Unipolar stepper motors
50:22
The BEST Mechanical Display You've EVER Seen!!!
13:51
Tin Foil Hat
Рет қаралды 583 М.