Been really enjoying your Pico videos. I look forward to seeing what's next
@PrintNPlay3 жыл бұрын
Glad you are enjoying them! Have lots more on the way, both pico and non-pico related!
@akb16843 жыл бұрын
Nice video. FYI, CS is "Chip Select" in SPI or sometimes called "Slave Select" (SS). SPI can support multiple devices on the same bus as long as each chip has its own Chip Select line.
@almosh32713 жыл бұрын
I am glad that this is making sense to some of the folks. I still haven't figured out how to upload a library from web page to audrino. I CAN build things but programing is NOT my strong suit at all. I jump up and down with joy when I made a hobby servo rotate back and forth using audrion. Please take care and keep up the good work.
@LarryPfeffer3 жыл бұрын
Thanks for making your example code available. Much appreciated!
@montaguemonro5653 жыл бұрын
Excellent, much appreciated mate! I'll be using this in my project. :)
@adambrassard92683 жыл бұрын
Can you do this with a wifi card and send that data out to a centralized point or pi for recording of multiple things
@PrintNPlay3 жыл бұрын
Absolutely! The Pico can host USB devices. So it's just a matter of needing a proper driver for a usb wifi adapter, and the libraries to use it.
@jc_daddy Жыл бұрын
Thank you. This video helped me out today. I really appreciate this!
@Iggy8me2 жыл бұрын
How to make it so it writes it in Fahrenheit instead of Celsius. I was think about using this like a gps logger if I can
@PrintNPlay2 жыл бұрын
I believe the formula is (Temp x 9 / 5) + 32
@mmuru013 жыл бұрын
Good knowledgeable content. May I know what is the specification of the SD card slot ?
@PrintNPlay3 жыл бұрын
Glad to help! Which specs would you like?
@kattoe3249 Жыл бұрын
i'd like to know how big the sd card should be. I have 32gb rn because the webshop i bought it from said that's the max, but now i see multiple people saying 16gb is better. Do you know what the max is?@@PrintNPlay
@angelo_pavan3 жыл бұрын
Hi! Awesome video!! How can I use this with Micropyhton instead?
@PrintNPlay3 жыл бұрын
Hello! Unfortunately this exact method won't work in micropython, because it relies on libraries developed specifically for circuit python. I'll do some digging and see if I can find ones for micropython as well
@angelo_pavan3 жыл бұрын
@@PrintNPlay Hey! Thanks for the reply! Actually I decided to use the Pico's flash memory for my project, but I am still looking for the SDcard solution. I think that they haven't implemented machine.SDCard for rp2040 yet... But if I find something, I will post a link here for anyone who is looking for it too... Thanks man!
@PrintNPlay3 жыл бұрын
That's awesome! Absolutely love it when the community comes together. Thanks!
@KausshikBalaGBEE9 ай бұрын
Hey my Pico is telling that it's write protected, so am not able to copy the files from adafruit to it. What do I do ?
@sakshipardeshi20073 жыл бұрын
Can I use it to play audio files(Wav format) stored in SD card?
@haroldtoups3 жыл бұрын
This is my question also, as the onboard memory in the Pico is sizable enough for code but not for storing any number of .wav files that extend past a few seconds.
@davidkempton28943 жыл бұрын
Nice little video. Very useful!
@DavidRobertLewis Жыл бұрын
How to add additional sdcard to pi3b?
@_bt18312 жыл бұрын
Can I do this with microphyton in the same way ?
@kattoe3249 Жыл бұрын
i get the error "OSError: no response from SD card". My card has 32gb of storage.
@ansaritalks42613 жыл бұрын
Thanks for this Great Tutorial Keep it up
@kenbrand18433 жыл бұрын
Thanks for another great video! What SD card holder are you using and where can I get it?
@PrintNPlay3 жыл бұрын
Glad you liked it! I've used a few, but this is my most recent order. C$ 0.83 3%OFF | 1pcs/lot Micro SD card mini TF card reader module SPI interfaces with level converter chip for arduino a.aliexpress.com/_msOMnrR
@oxygenvps3 жыл бұрын
Great video Btw is there a way to save data on the pico with just the board itself? Thanks
@PrintNPlay3 жыл бұрын
I haven't played with it at all myself yet, but the notes I have read from others trying to write to the board using code say that the file system on the Pico is read only at runtime. So, I haven't tested it, but what I've read says no. Hope this helps!
@oxygenvps3 жыл бұрын
@@PrintNPlay Thanks for the answer
@RalphWLundvall3 жыл бұрын
I'm using micropython and writing to Pico is trivial. You do have to stop main.py to see or upload your file. with open('atrack.csv', 'a') as f: f.write(str(data) + "," + str(timestamp) +" ") ## Using this form eliminates need to close file, it is done automatically. Also 'a' append creates the file if it didn't exist. Lastly beginning filename with a puts it at the top of listing by Thonny.
@sanad91933 жыл бұрын
Thanks for the vid but did I need The code if I want the PC to read and write from the SD card, I mean like the SD card readers available in the market?
@raull.dasilvalobo4750 Жыл бұрын
Hi your video has a lot of info I'm trying to extend a pico memory to put octoprint on the sdcard but i won to know is that with your scetch can read it. Thank you for your help and your time
@dj1encore3 жыл бұрын
Great demo, have you managed to use the File system with ‘C’ ?
@PrintNPlay3 жыл бұрын
I haven't attempted to access data on the internal storage, but I believe I've read it's available for read access. Will try and give it a once over in the future :)
@PrintNPlay3 жыл бұрын
Sorry, my mind was elsewhere. It occurs to me that you were asking if I ever got it to work under the C programming language. I have no idea why I immediately thought you were referring to the internal storage as a 'C' drive. I have not, unfortunately. The time I've had to put towards C projects on the Pico hasn't been as plentiful as I had hoped.
@AK-xv9st Жыл бұрын
Very nice video, thanks
@stevemorse50523 жыл бұрын
Thanks for the tutorial. I have only received my Pico today (4/26/2021) after waiting months! I am quite happy writing text files as you describe, but I do have a couple of questions. If I install CircuitPython does it overwrite (ie replace) MicroPython, if it does can I still use Thonny to access it the same way? Can I use SQLITE in Micro/Circuit Python and use the filesystem on the card in the same way?
@PrintNPlay3 жыл бұрын
Hey there! First of all, to hear you were able to get one! Great to hear. You do have to choose between micropython and circuitpython. You can switch back and forth whenever you want, but you can only run one at a time on it. You can access access either from Thonny, you just need to change the interpreter from the settings in Thonny. I don't have any experience with SQLite as of yet, so I don't have an answer for you. I will try to dig into it and get back to you!
@stevemorse50523 жыл бұрын
@@PrintNPlay Thanks. If possible can you clarify "You can switch back and forth" The question is can both be installed on the Pico at the same time, OR do I simply install the one I want to use just before use?
@PrintNPlay3 жыл бұрын
Oh, sorry! You must reinstall each time you want to switch.
@stevemorse50523 жыл бұрын
@@PrintNPlay Great, thanks again. One point of confusion though, I installed Micro Python and it was working great. Then I followed your video and installed Circuit Python, ran your program and it was working great also. But when I went back to Micro Python, my data and the original programs where still there! I would have expected Circuit Python to overwrite Micro Python and vice versa, I was pleased as I had not backed up my original programs. The main reasons for these experiments is to be able to get data in and out of the Pico (with out doing I/O via the USB), I don't have to use SQLite, in fact, now I know I can do plain file I/O I be happy.
@RalphWLundvall3 жыл бұрын
I've had an occasion where switching to CP from MP and back ended in losing my MP code and libraries. Keep your files backed up!
@cybermen77663 жыл бұрын
I executed the script in the thonny now i am getting this error, Traceback (most recent call last): File "", line 20, in OSError: [Errno 13] Permission denied: '/testfile.txt' why?
@patelmanoj30023 жыл бұрын
is it possible to open sd card using pico usb port on pc?
@mohitnama21582 жыл бұрын
thanks for information, plz help i want to do same things with usb mass storage .is it possible with pico???
@shinjansaha2406 ай бұрын
Traceback (most recent call last): File "", line 15, in AttributeError: 'module' object has no attribute 'SDCard' how to solve this error please lemme know i am using pico w with circiuit python 9x
@bretearwood7027 Жыл бұрын
Nice video. I am looking for a solution to be able to display images on a oled display for the raspberry pi pico. Trying to work around the 2mb storage limit of the pico. Would this be the way to go? Would I simply be pulling the data straight from the SD card and sending it directly over to the oled display through the pico?
@santiagosierra66108 ай бұрын
I'm trying to do the same. Could you solve it this way?
@John-cc6zb3 жыл бұрын
Hello, instead of connecting to SPI1 pins, I could use SPI0 pins as well right?
@flymypg3 жыл бұрын
I'm surprised the subscriber count ends in K, not M. We need to get busy sharing this channel!
@PrintNPlay3 жыл бұрын
Haha. Maybe one day... Thanks for watching!
@moleexr6393 жыл бұрын
thanks for your sharing~~
@PrintNPlay3 жыл бұрын
Thank you for watching!
@TotalMK3 жыл бұрын
CS = Chip Select not Cable Select
@PrintNPlay3 жыл бұрын
Sorry, my mistake! I had been working on old computers and had cable select on the brain for old ide devices.
@TotalMK3 жыл бұрын
@@PrintNPlay lol I was wondering if it was that as I am a computer tech myself. Just posted so people watching know :D
@PrintNPlay3 жыл бұрын
Much appreciated! Also, seems like a good time for a shameless plug... My retro tech channel is here :) kzbin.info if that's your thing!
@alnoorratansi93643 жыл бұрын
Hi Great Tutorial. For a future project can you do a project that can read the contents of eeprom (2816) and save to a sd card in hex/Bin file format.
@slithytoaves86373 жыл бұрын
Thanks for the good video on how to connect an SD card to a Pico. I'm wondering, though if you can tell us more about the WHY you did it that way aand how it works so we can use it as a better starting point for our own future projects.. BTW, the CS pin on the card breakout and Pico stand for CHIP select not cable select. Again, I am not trying to criticize your work, this kind of video has its place for those who find it helpful to get started and for me as well as i never considered trying to connect an SDcard to a Pico. Now that I've seen this it has sparked some thoughts for the future for me. So, Thanks!
@PrintNPlay3 жыл бұрын
Hadn't even realized I said cable select instead of chip select! Good catch! I had just been discussing old ide hard drive tech and must have slipped that in by accident. This tutorial was actually directly a result of some other viewers asking for it, specifically for logging information from sensors over time.
@davidmarks509 Жыл бұрын
ONLY 8 included llibs. I feel we can do better with such small resorces
@RalphWLundvall3 жыл бұрын
Have you successfully done the same in micropython?
@gshelton3 жыл бұрын
This guy is awesome... but not as awesome as that American he streams with on Sundays! LOL!
@PrintNPlay3 жыл бұрын
I am after the conversion rate
@uter58583 жыл бұрын
Hello, Is it possible to store data in memory every 50 us, independent of the sensor?