Тёмный

‪@raspberrypi‬ 

Print 'N Play
Подписаться 8 тыс.
Просмотров 28 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 69   
@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.
@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!
@LarryPfeffer
@LarryPfeffer 3 года назад
Thanks for making your example code available. Much appreciated!
@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
@montaguemonro565
@montaguemonro565 3 года назад
Excellent, much appreciated mate! I'll be using this in my project. :)
@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?
@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!
@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.
@John-cc6zb
@John-cc6zb 3 года назад
Hello, instead of connecting to SPI1 pins, I could use SPI0 pins as well right?
@KausshikBalaGBEE
@KausshikBalaGBEE 6 месяцев назад
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 ?
@jc_daddy
@jc_daddy Год назад
Thank you. This video helped me out today. I really appreciate this!
@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 5 месяцев назад
I'm trying to do the same. Could you solve it this way?
@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
@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!
@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 9 месяцев назад
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
@davidkempton2894
@davidkempton2894 3 года назад
Nice little video. Very useful!
@sakshipardeshi2007
@sakshipardeshi2007 3 года назад
Can I use it to play audio files(Wav format) stored in SD card?
@haroldtoups
@haroldtoups 2 года назад
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.
@shinjansaha240
@shinjansaha240 3 месяца назад
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
@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.
@AK-xv9st
@AK-xv9st 10 месяцев назад
Very nice video, thanks
@Iggy8me
@Iggy8me Год назад
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 Год назад
I believe the formula is (Temp x 9 / 5) + 32
@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.
@cybermen7766
@cybermen7766 2 года назад
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?
@ansaritalks4261
@ansaritalks4261 3 года назад
Thanks for this Great Tutorial Keep it up
@mohitnama2158
@mohitnama2158 2 года назад
thanks for information, plz help i want to do same things with usb mass storage .is it possible with pico???
@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.
@kattoe3249
@kattoe3249 9 месяцев назад
i get the error "OSError: no response from SD card". My card has 32gb of storage.
@_bt1831
@_bt1831 2 года назад
Can I do this with microphyton in the same way ?
@DavidRobertLewis
@DavidRobertLewis 10 месяцев назад
How to add additional sdcard to pi3b?
@alnoorratansi9364
@alnoorratansi9364 2 года назад
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.
@moleexr639
@moleexr639 3 года назад
thanks for your sharing~~
@PrintNPlay
@PrintNPlay 3 года назад
Thank you for watching!
@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!
@patelmanoj3002
@patelmanoj3002 3 года назад
is it possible to open sd card using pico usb port on pc?
@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?
@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 :) ru-vid.com if that's your thing!
@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
Просмотров 8 тыс.
Interface SD Card to PICO
27:38
Просмотров 3,8 тыс.
PicoMite: Running BASIC on a Raspberry Pi Pico
19:29
Просмотров 147 тыс.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
LCD Basics for the Pi Pico
7:31
Просмотров 116 тыс.
12 Brilliant Cyberdecks to try using Raspberry Pi!
8:53
I Can Save You Money! - Raspberry Pi Alternatives
15:04