Skip to content

Latest commit

 

History

History
186 lines (111 loc) · 13.9 KB

File metadata and controls

186 lines (111 loc) · 13.9 KB

RP2040 Basic Breakout Board

rp2040_basic_breakout_board

Attribution

The following text must be included in any distribution of derivatives of this board. All links must also be included.

Based on RP2040 Advanced Breakout board from the GP2040-CE project located at https://github.com/OpenStickCommunity/Hardware/tree/main/RP2040%20Basic%20Breakout%20Board

Copyright 2023 TheTrain Licensed under CC BY 4.0

Changes from the original design:

  • list any changes you make here

Summary

The RP2040 Basic Breakout Board is designed to be an affordable option to get going with the GP2040-CE firmware. On orders of 50+ units the landed costs per unit through JLC can be less than $4.50 each!

You can find a pre-compiled .UF2 firmware file for the RP2040 Basic Breakout Board in the GP2040-CE release section under GP2040-CE_0.X.X_RP2040AdvancedBreakoutBoard.uf2. This configuration will be maintained as long as the project is active and the pinout will not change. Should there be another version of the board, it will be kept as a seperate hardware entry. Since this uses the same pinout as the Advanced Breakout Board you can use that .UF2.

The RP2040 Baisc Breakout Board is an embedded design based on the original Pico Fighting Board (https://github.com/FeralAI/PicoFightingBoard) by FeralAI.

The RP2040 Basic Breakout Board is an embedded SMD design with through hole components. It is not recommended to assemble these yourself unless you have a setup to do SMD assembly.

With the RP2040 Basic Breakout Board using an embedded RP2040 chip, we are able to access all of the additional GPIO pins that are not easily accessible on the standard Raspberry Pi Pico board. This allows us to have many more options on the board so that people can make truly unique and custom contollers. Costs are reduced as much as possible on the Basic Breakout Board by only including a 20pin header and 4pin connector.

We have a small but passionate Discord group which you can access here if interested: https://discord.com/invite/k2pxhke7q8

A massive thank you to FeralAI who made most of this possible!

Board design choices

The Brook form factor was chosen due to its compatibility with a number of existing enclosures and holders.

A 20pin (2x10pin) 2.54mm connector is located in the bottom left of the board, matching the location and pinout of standard Brook boards. If you are planning to use the 20pin connector you do not need to use the screw terminals on the board, and vice versa if you prefer to wire a stick yourself.

A 4pin (1x4pin) JST 2.00mm connector is located beside the 20pin connector which can be used with the standard Brook 4-pin harness allowing for access to A2, L3 and R3.

A USB-C port can be found on the right side of the board. USB-C was chosen as it is the current industry standard and can allow for very low profile builds should you choose to make a version of the board with depopulated headers.

There are three buttons on the board:

  • A BootSel button, which can be held on plug-in to enter BootSel mode which is used to flash the device with firmware.
  • A reset button, which can be pressed to reset the device.
  • A web-conifg button, which can be held while plugging in to go to web-config mode.*

Please note that web-config can be accessed by pressing and holding S2. This is an extra mapping of S2 to allow for easy access and setup of the web-config utility for those that are working on boards not already installed or connected to anything.

A 3pin (1x3pin) 2.54mm header area labeled debug can be found near the middle of the board. This allows those interested to debug the RP2040. It requires either a 1x3pin 2.54mm header to be soldered or on wires to be connected directly.

A 5pin (1x5pin) 2.54mm header area labeled USB direct can be found near the right of the board. This allows for direct connection of a USB connection. A double ground is common in commercial fightsticks so it has been included here. Please take note of the exact pinout on the USB cable you are trying to connect here as there is no universal standard for the order of the wires. We are not responsible for any damages that occur as a result of incorrectly wiring the USB direct area.

Assembly

These boards are designed to be made and assembled by JLCPCB. As such, you will find a folder called Hardware files that contains a copy of the three files needed to have these boards made by JLC PCB.

Those files are:

  • A gerber file for the design of the board
  • A BoM file for the list of parts to be assembled
  • A PnP file for the placement of the parts in the BoM file

This design includes both SMD and through hole parts from JLCPCB. There are additional costs associated with having through hole parts added to the board. You can reduce overall costs by removing headers that are not needed for your specific application of the board. This can be done in EasyEDA directly by choosing to exclude the part from the BoM before exporting the necessary files.

These boards have been designed to be fully assembled by JLCPCB. You will not need to do any soldering or assembly of any kind should you order a batch of them. The only thing you will need to do is flash the boards with the most recent version of GP2040-CE and then test the boards.

Please note that we are not responsible for issues that arise from the manufacturing of these boards done through JLCPCB or any other manufacturer. These board files have been ordered and tested for functionality.

How to order a board

All of the boards so far have been ordered though JLCPCB. Due to minimum order numbers you would get five of these basic breakout boards. Here are the steps to make your first order and what options I choose along the way.

1 - Go to JLCPCB.com

2 - Click on Instant Quote

3 - Click on Add Gerber file and choose the file named Gerber - RP2040 Basic Breakout Board v5.4E.zip from the Hardware files folder

4 - Choose the following options for the board:

  • Base Material = FR-4
  • Layers = 2
  • Dimensions = (should auto-populate) 96.3 mm x 45.31 mm
  • PCB Qty = (however large your run will be, minimum of 5)
  • Product Type = Industrial/Consumer electronics
  • Different Design = 1
  • Delivery Format = Single PCB (note 1)
  • PCB Thickness = 1.6
  • PCB Color = (up to you)
  • Silkscreen = (defaults to white for all except white boards which is black)
  • Surface Finish = HASL(with lead)
  • Outer Copper Weight = 1oz
  • Via Covering = Tented
  • Board Outline Tolerance = +/- 0.2mm (Regular)
  • Confirm Production file = Yes (note 2)
  • Remove Order Number = Yes (note 3)
  • Flying Probe Test = Fully Test
  • Gold Fingers = No
  • Castellated Holes = No
  • No advanced options

Note 1 - If ordering under 50 units you can use single PCB. For orders of more than 50 units JLCPCB will require you to make a larger plate for them. I have compared the costs of doing this for runs in the hundreds and there is only a very small decrease in price over ordering 50 single PCBs at a time. Ordering the 50 single PCBs has the added bonus of coming as individual pieces which do not require additional processing like the plated ones will.

Note 2 - This adds around $1 to the total cost of the order and is 100% worth doing as it will allow you one last chance to catch any issues that may have popped up.

Note 3 - This adds a small cost to the boards but removes the JLCPCB order number. If you are looking to make a run as cheap as possible you can leave this on and either let them place it on the board or add JLCJLCJLCJLC somewhere on the board in silk screen and they will place the order number there.

5 - Choose the following options for the PCB assembly

  • PCBA Type = Economic (note 4)
  • Assembly Side = Top Side
  • PCBA Qty = (however large your run will be, minimum of 2)
  • Tooling holes = Added by Customer
  • Confirm Parts Placement = Yes (note 5)

Note 4 - Economic assembly is much cheaper on smaller batch runs of 10-30 units. Standard assembly will yield less dead on arrival boards but is more expensive to have done. On average I expect a 5-10% failure rate on the boards from JLCPCB so please factor that in when making your order.

Note 5 - This adds around $1 to the total cost of the order and is 100% worth doing as they will check the placement of all SMD parts and make any necessary changes or reach out if there are concerns. I cannot stress enough that this is the best $1 you will spend for the peace of mind of not messing up an entire batch.

6 - Make sure you have read the terms and conditions of JLCPCB assembly service and then click on the Confirm button if you agree

7 - The Bill of Materials page will show you a render of the board without parts. You can click the NEXT button here unless you see any issues with the board

8 - You will now have the option to upload two files:

  • For the Add BOM File you will need to choose the BOM - RP2040 Baisc Breakout Board v5.3E.csv file that is located in the Hardware files folder
  • For the Add CPL File you will need to choose the CPL - RP2040 Basic Breakout Board v5.3E.csv file that is located in the Hardware files folder
    Once these two files have been uploaded you can press the Process BOM & CPL button.

9 - You will now see a list of components that will be used to assemble the boards. If there are not listed issues here you can click on on the NEXT button. (note 6), (note 7)

Note 6 - You can also use this page to omit parts from the assembly. This can primarily be used to not include specific headers or the screw terminals. Please only do this if you understand what you are doing as omitting main parts of the design will lead to non-functioning boards. We are not responsible for any boards that are non-functioning.

Note 7 - We have spent extensive time to ensure that the parts chosen will work for this board. If there are any parts that are out of stock, or you get warnings about anything we would recommend you not proceed unless you understand how to find replacmeent parts. If you are unsure, please feel free to join up in the Discord and ask us. It is not uncommon for JLCPCB to have part shortages. Most of the parts listed here come back in stock in a few days. If that is the case, you may need to wait to place your order until all needed parts are in stock.

10 - There will now be a render of the board with parts on the Component Placements page. Check this page to make sure that all parts are in the correct spots and orientation. We have ordered based on these files before and they are known good. If all looks well press the NEXT button. (note 8)

Note 8 - Please note that we are not responsible for boards made by JLCPCB or any other manufacturer that do note work.

11 - The quote & order page will give you a breakdown of the costs associated with the boards and assembly parts based on the quantity you have chosen. This does not include shipping. Shipping will be calculated at a further step.

  • For Product Description I typically choose Other Other and type in Controller board.

If all looks well here you can click on the SAVE TO CART button.

12 - The Secure Checkout process will be different based on your location in the world. We recommend researching your shipping options to choose the one that is right for your application.

How to upload firmware

If uploading the firmware before assembly you can hold the BootSel button on the Pico and plug the device into your computer. It will show up as an external device. Copy the GP2040-CE_0.X.X_RP2040AdvancedBreakoutBoard.uf2 file to it and wait for the device to disconnect after copying completes.

If uploading the firmware after assembly plug the Pico into your computer and quickly press the BootSel button twice on the Pico Basic Breakout Board. You should see an external device show up on your computer. Copy the GP2040-CE_0.X.X_RP2040AdvancedBreakoutBoard.uf2 file to it and wait for the device to disconnect after copying completes.

If something goes wrong and you want to upload the firmware again (or if you have tested out the configuration tool and made a mistake) you can enter BootSel mode via either of the methods above and drag over the included flash_nuke.uf2 file. This file will take a moment to write to the Pico, once completed you will see the device disconnect and then re-connect as an external device. After it has shown up again you can copy the same GP2040-CE_0.X.X_RP2040AdvancedBreakoutBoard.uf2 firmware over to it again.

Sales recommendations

Through the licensing you are free to make and sell these boards in group buys or even commercial applications.

The intended purpose of this board, as well as the overall GP2040-CE project is to get low cost boards into the hands of as many people as possible so everyone can enjoy the project.

As such, we have a recommend MSRP of $10 USD for the RP2040 Advanced Breakout Board or $15 USD with free shipping within the USA or Canada.

You are free to set your own price as you see fit.

Donations

Every part of this project is open source, from the GP2040-CE firmware to the original Pico Fighting Board design and also this RP2040 Advanced Breakout Board design.

Donations are not necessary but always welcome! TheTrain will typically use donations to pay for Discord boosts and try out new designs or sending boards to people for testing, iterations and helping people get board setups that might not be in an economic position to get one themselves.

https://www.paypal.com/donate/?hosted_button_id=2JMTZVCGLDYC2

Revision History

v5.4E

  • Initial design

Acknowledgements

  • TheTrain for doing the board design
  • FeralAI for starting the GP2040 project and the original design of the Pico Fighting Board
  • Everyone that works on the GP2040-CE project to make it the best controller firmware around