dbisu / pico-ducky

Create a USB Rubber Ducky like device using a Raspberry PI Pico
GNU General Public License v2.0
2.43k stars 440 forks source link

Increasing Storage #206

Closed Writepro closed 1 year ago

Writepro commented 1 year ago

am interested in how you can add storage if its possible to the pico so u can copy files into it maybe an sd or micro sd card

dbisu commented 1 year ago

Take a look at this project. https://www.instructables.com/Raspberry-Pi-Pico-Micro-SD-Card-Interface/

Ethank1354 commented 1 year ago

I gave this a try. I found that because the project mentioned above is micropython not circuitpython, it doesn't work one for one as circuitpython doesn't have the machine library. I have not looked into setting it up using the circuitpython equivalents yet. I ended up using sdcardio for this. The largest problem I found is that all fo the documentation mentions using board.SPI, board.SCK and the same for mosi and miso, but those don't exist on circuitpython for the pi pico, so you need to specify the pins by board.GP13 for example. GP10 and 11 are also in use for specifying other payloads, so if you wire it exactly the same as the project above, you will need to change the pins in duckyinpython.py

dbisu commented 1 year ago

Closing as completed.