![DSpico-banner](dspico-artwork-design/others/banner2.png) # DSpico-hardware ## 🗺️ Map - [ℹ Introduction](#ℹ-introduction) - [❔ About this repository](#-about-this-repository). - [🎮 DSpico PCB](#-dspico-pcb) - [🧰 DSpico Shell](#-dspico-shell) - [🎨 Artwork: Stickers and box art](#-artwork-stickers-and-box-art) - [📦 Instructions](#-instructions) - [🛠 Development](#-development) - [👥 Contributions](#-contributions) - [👾 Discord](#-discord) - [📋 LNH Team Statement](#-lnh-team-statement) - [⚖ License](#-license) ## ℹ Introduction ### What is DSpico? DSpico is the world's first open-source DS(i) flashcart, created by the LNH team. Everything from the PCB, shell, stickers, and box art is open-source. You can either build it yourself as a DIY project or have it made by a manufacturer. ![](dspico-artwork-design/photos/dspico-stand-1.png) ![](dspico-artwork-design/photos/dspico-top-1.png) ![](dspico-artwork-design/photos/dspico-bottom-1.png) ### Features - RP2040 microcontroller - 16 Mb flash memory - Micro USB port - MicroSD slot - Development port - Two LEDs (red and blue) - Read speed (sequential): up to 6MB/s - Power comsuption: 57mW - Dual power support: can be powered by USB and DS simultaneously (by ORing circuit) - Compatible with pico launcher - Compatible with DSi mode ## ❔ About this repository This repository contains the necessary files for the development of hardware for DSpico, including a PCB, CAD design of the shell, stickers for cartridge and box art. ## 🎮 DSpico PCB The PCB design is located in the [`dspico-pcb`](dspico-pcb) folder. This folder contains all the necessary files for PCB fabrication, as well as the design files created using the electronic design software Altium Designer. ![DSpico-top](dspico-artwork-design/others/dspico-1-3-real-hw-top-res.jpg) ![DSpico-bottom](dspico-artwork-design/others/dspico-1-3-real-hw-bottom-res.jpg) ### 📂 Included Subfolders: - [`design-files`](dspico-pcb/design-files): PCB schematic and layout of DSpico. (Altium format) - [`fabrication-files`](dspico-pcb/fabrication-files): Gerber files, Pick&Place files and BOM for PCB fabrication of DSpico. - [`docs`](dspico-pcb/docs): Documentation for manufacturing and assembling DSpico. ### 🔌 Pinout | **Peripheral** | **Pin name - Peripheral** | **Pin name - RP2040** | **Pin number - RP2040** | |-------------|-----------------------|-------------------|-------------| | **DS Slot** | D0 | GPIO12 | 15 | | | D1 | GPIO13 | 16 | | | D2 | GPIO14 | 17 | | | D3 | GPIO15 | 18 | | | D4 | GPIO16 | 27 | | | D5 | GPIO17 | 28 | | | D6 | GPIO18 | 29 | | | D7 | GPIO19 | 30 | | | CLK_DS | GPIO11 | 14 | | | ROM_CS | GPIO10 | 13 | | | SPI_CS | GPIO21 | 32 | | | IRQ | GPIO20 | 31 | | | RST_DS | GPIO09 | 12 | | **SD slot**| CLK_SD | GPIO03 | 5 | | | DAT0 | GPIO05 | 7 | | | DAT1 | GPIO06 | 8 | | | DAT2 | GPIO07 | 9 | | | DAT3 | GPIO08 | 11 | | | CMD | GPIO04 | 6 | | **DEV port**| SWD | SWD | 25 | | | SWCLK | SWCLK | 24 | | | TX | GPIO0 | 2 | | | RX | GPIO1 | 3 | | **Blue LED** | LED_B | GPIO28 | 40 | | **Red LED** | LED_R | GPIO27 | 39 | ## 🧰 DSpico Shell The CAD design of the shell is located in the [`dspico-shell`](dspico-shell) folder. This folder contains 3D models of the shell (output 3d models and design files), which can be viewed and modified using CAD design software Autodesk Inventor ![DSpico-shell-in](dspico-artwork-design/photos/shell-in.png) ![DSpico-shell-out](dspico-artwork-design/photos/shell-out.png) ### 📂 Included Subfolders: - [`design-files`](dspico-shell/design-files): Contains source design files for the shell - [`3d-models`](dspico-shell/3d-models): Contains 3D models of the shell in STL and STEP format for fabrication. ## 🎨 Artwork: Stickers and box art The stickers and box art design are located in the [`dspico-artwork-design`](dspico-artwork-design). This folder contains stickers for cartridge and box art in SVG, PSD and PNG formats. ![DSpico-box](dspico-artwork-design/others/box-dspico-concept.png) ![DSpico-stickers](dspico-artwork-design/photos/dspico-stickers-photo.png) ### 📂 Included Subfolders: - [`stickers`](dspico-artwork-design/stickers): Stickers to print and put on your DSpico cartridge. - [`box-art`](dspico-artwork-design/box-art): Box art design to print and put on your DS box. - [`logo`](dspico-artwork-design/logo): DSpico logo in different formats. - [`others`](dspico-artwork-design/others): Other graphics related to DSpico ## 📦 Instructions ### 1️⃣ Build 1. Manufacture the PCB and Shell Start by producing both the PCB and the shell. Go to the respective sections, [`dspico-pcb`](dspico-pcb) and [`dspico-shell`](dspico-shell), and read the README file in each to understand how to create these parts. 2. Optional: Customize with a Sticker and Box Art If desired, you can print a sticker from the stickers section and add box art [`dspico-artwork-design`](dspico-artwork-design) for storing your DSpico (for example, by reusing an existing box). ### 2️⃣ Assembly Once you have both the PCB and the shell manufactured, the next step is to assemble them. Follow these steps: 1. First, insert the PCB into the bottom part of the shell. 2. Next, attach the top part of the shell by aligning the pegs with the holes in the bottom part. 3. Stick your favorite DSpico sticker on top part. Make sure everything fits, and your DSpico will be ready for the next steps! ![DSpico-assembly2](dspico-artwork-design/others/assa2.png) ![DSpico-assembly1](dspico-artwork-design/others/assa1.png) ### 3️⃣ Flash DSpico > You will need a micro USB cable 1. Go to the pico-firmware repository and build the firmware. 2. Connect the micro USB cable to the USB port on the DSpico. 3. Connect the other end of the micro USB cable to your PC. The PC should recognize the DSpico as a new storage device. 4. Copy the generated .uf2 firmware file from the dspico-firmware repository to the detected storage unit. 5. Once the transfer is complete, your DSpico will be successfully flashed! ### 4️⃣ Prepare a micro SD card > You will need an micro SD card (and a reader if your PC does not have it integrated). 1. Go to the pico-launcher repository and build the launcher. 2. Connect your micro SD card to your PC 3. Drag and drop launcher files 4. Once the transfer is complete, connect your micro SD card to your DSpico and enjoy! ## 🛠 Development The DSpico features a development port for creating new applications and developing new peripherals. The available communication ports are as follows: - UART - I2C - x2 GPIO - SWD (debug) ![development port](dspico-artwork-design/others/dev-port-pinout.png) As for the power it can provide to peripherals, it is: - 3V3 (up to 50mA) The pitch between pins of this port is 2.54 mm so some connectors can be soldered (as long as it does not interfere with the rest of the DSpico mechanics). Such as male/female header. ![DSpico-dev-port](dspico-artwork-design/photos/dev-port-photo.png) ## 👥 Contributions Contributions are welcome. If you wish to improve the PCB or shell designs, feel free to submit a pull request! ### Contributors: #### PCB: - [nitehack](https://www.github.com/nitehack) - [gericom](https://github.com/Gericom) (first dspico prototype) #### Shell: - rcuevas - [nitehack](https://www.github.com/nitehack) #### Artworks: - [nitehack](https://www.github.com/nitehack) ## 👾 Discord - [DS⁽ⁱ⁾ Mode Hacking!](https://discord.gg/fCzqcWteC4) ## 📋 LNH Team Statement We wish to make it clear that the LNH team has no affiliation with any commercial projects, and we do not endorse or engage in any for-profit endeavors concerning DSpico or related materials. This statement serves as a formal disavowal of any financial or business dealings that may arise in relation to DSpico, and we take no responsibility for any actions or transactions carried out by third parties in this regard. ## ⚖ License This project is licensed under the CC BY-SA 4.0 License. See the [`LICENSE`](LICENSE) file for more details.