Tap to unmute

‪@raspberrypi‬

  Рет қаралды 29,036

Print 'N Play

Print 'N Play

Күн бұрын

Пікірлер: 69
@SirRob24
@SirRob24 3 жыл бұрын
Been really enjoying your Pico videos. I look forward to seeing what's next
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Glad you are enjoying them! Have lots more on the way, both pico and non-pico related!
@akb1684
@akb1684 3 жыл бұрын
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.
@almosh3271
@almosh3271 3 жыл бұрын
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.
@LarryPfeffer
@LarryPfeffer 3 жыл бұрын
Thanks for making your example code available. Much appreciated!
@montaguemonro565
@montaguemonro565 3 жыл бұрын
Excellent, much appreciated mate! I'll be using this in my project. :)
@adambrassard9268
@adambrassard9268 3 жыл бұрын
Can you do this with a wifi card and send that data out to a centralized point or pi for recording of multiple things
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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
@jc_daddy Жыл бұрын
Thank you. This video helped me out today. I really appreciate this!
@Iggy8me
@Iggy8me 2 жыл бұрын
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
@PrintNPlay
@PrintNPlay 2 жыл бұрын
I believe the formula is (Temp x 9 / 5) + 32
@mmuru01
@mmuru01 3 жыл бұрын
Good knowledgeable content. May I know what is the specification of the SD card slot ?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Glad to help! Which specs would you like?
@kattoe3249
@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_pavan
@angelo_pavan 3 жыл бұрын
Hi! Awesome video!! How can I use this with Micropyhton instead?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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_pavan
@angelo_pavan 3 жыл бұрын
@@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!
@PrintNPlay
@PrintNPlay 3 жыл бұрын
That's awesome! Absolutely love it when the community comes together. Thanks!
@KausshikBalaGBEE
@KausshikBalaGBEE 9 ай бұрын
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 ?
@sakshipardeshi2007
@sakshipardeshi2007 3 жыл бұрын
Can I use it to play audio files(Wav format) stored in SD card?
@haroldtoups
@haroldtoups 3 жыл бұрын
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.
@davidkempton2894
@davidkempton2894 3 жыл бұрын
Nice little video. Very useful!
@DavidRobertLewis
@DavidRobertLewis Жыл бұрын
How to add additional sdcard to pi3b?
@_bt1831
@_bt1831 2 жыл бұрын
Can I do this with microphyton in the same way ?
@kattoe3249
@kattoe3249 Жыл бұрын
i get the error "OSError: no response from SD card". My card has 32gb of storage.
@ansaritalks4261
@ansaritalks4261 3 жыл бұрын
Thanks for this Great Tutorial Keep it up
@kenbrand1843
@kenbrand1843 3 жыл бұрын
Thanks for another great video! What SD card holder are you using and where can I get it?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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
@oxygenvps
@oxygenvps 3 жыл бұрын
Great video Btw is there a way to save data on the pico with just the board itself? Thanks
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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!
@oxygenvps
@oxygenvps 3 жыл бұрын
@@PrintNPlay Thanks for the answer
@RalphWLundvall
@RalphWLundvall 3 жыл бұрын
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.
@sanad9193
@sanad9193 3 жыл бұрын
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
@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
@dj1encore
@dj1encore 3 жыл бұрын
Great demo, have you managed to use the File system with ‘C’ ?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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 :)
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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
@AK-xv9st Жыл бұрын
Very nice video, thanks
@stevemorse5052
@stevemorse5052 3 жыл бұрын
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?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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!
@stevemorse5052
@stevemorse5052 3 жыл бұрын
​@@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?
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Oh, sorry! You must reinstall each time you want to switch.
@stevemorse5052
@stevemorse5052 3 жыл бұрын
@@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.
@RalphWLundvall
@RalphWLundvall 3 жыл бұрын
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!
@cybermen7766
@cybermen7766 3 жыл бұрын
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?
@patelmanoj3002
@patelmanoj3002 3 жыл бұрын
is it possible to open sd card using pico usb port on pc?
@mohitnama2158
@mohitnama2158 2 жыл бұрын
thanks for information, plz help i want to do same things with usb mass storage .is it possible with pico???
@shinjansaha240
@shinjansaha240 6 ай бұрын
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
@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?
@santiagosierra6610
@santiagosierra6610 8 ай бұрын
I'm trying to do the same. Could you solve it this way?
@John-cc6zb
@John-cc6zb 3 жыл бұрын
Hello, instead of connecting to SPI1 pins, I could use SPI0 pins as well right?
@flymypg
@flymypg 3 жыл бұрын
I'm surprised the subscriber count ends in K, not M. We need to get busy sharing this channel!
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Haha. Maybe one day... Thanks for watching!
@moleexr639
@moleexr639 3 жыл бұрын
thanks for your sharing~~
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Thank you for watching!
@TotalMK
@TotalMK 3 жыл бұрын
CS = Chip Select not Cable Select
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Sorry, my mistake! I had been working on old computers and had cable select on the brain for old ide devices.
@TotalMK
@TotalMK 3 жыл бұрын
@@PrintNPlay lol I was wondering if it was that as I am a computer tech myself. Just posted so people watching know :D
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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!
@alnoorratansi9364
@alnoorratansi9364 3 жыл бұрын
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.
@slithytoaves8637
@slithytoaves8637 3 жыл бұрын
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!
@PrintNPlay
@PrintNPlay 3 жыл бұрын
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
@davidmarks509 Жыл бұрын
ONLY 8 included llibs. I feel we can do better with such small resorces
@RalphWLundvall
@RalphWLundvall 3 жыл бұрын
Have you successfully done the same in micropython?
@gshelton
@gshelton 3 жыл бұрын
This guy is awesome... but not as awesome as that American he streams with on Sundays! LOL!
@PrintNPlay
@PrintNPlay 3 жыл бұрын
I am after the conversion rate
@uter5858
@uter5858 3 жыл бұрын
Hello, Is it possible to store data in memory every 50 us, independent of the sensor?
@adamsilesia5753
@adamsilesia5753 3 жыл бұрын
I hate this.
@PrintNPlay
@PrintNPlay 3 жыл бұрын
Oh? Why?
Using Servos with a @raspberrypi Pico
4:03
Print 'N Play
Рет қаралды 8 М.
Interface SD Card to PICO
27:38
Making Stuff with Chris DeHut
Рет қаралды 4,1 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
3 Easy @raspberrypi Pico Projects that ANYONE can tackle!
19:21
Print 'N Play
Рет қаралды 141 М.
Pi Pico + KMK = the perfect combo for Custom Keyboards
7:41
Jan Lunge
Рет қаралды 85 М.
Transform an old broken Keyboard to a Macro Keyboard
8:11
NerdCave
Рет қаралды 63 М.
Saving Data Inside the PICO
13:11
Making Stuff with Chris DeHut
Рет қаралды 9 М.
Raspberry Pi Pico - DIY Macro Keyboard
16:00
Novaspirit Tech
Рет қаралды 103 М.
The new Raspberry Pi Pico W is just $6
7:56
Jeff Geerling
Рет қаралды 451 М.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 625 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН