The Raspberry Pi Pico is an amazing piece of technology and a wonderful gadget to dive into in the realm of IoT. While it has several advantageous features, there is one small drawback- the lack of a reset button. It might seem like a small issue, however, the repercussions could be quite heavy. You might be wondering how important is this one reset button. Allow us to help you understand why it is crucial for Pico to have a reset button.
Our code goes awry on several occasions and we often need to flash a new firmware to our Pico as well. Hence in such situations, we reset the Pico by unplugging it and then plugging it back again. Developers using C programming language need to disconnect the micro USDB cable each time they want to flash the UF2 firmware. But this is extremely inconvenient and detrimental to the board. For instance if the micro USD lead is pulled out frequently, the mechanical connection (it works for a finite number of connections) would wear out. Therefore using a reset button helps solves this issue and make the whole process a lot more convenient.
You can also check out the video given below:
Bill of materials
- Raspberry Pi Pico
- 2 male to male jumper wires
- A mini breadboard (regular one would work as well, however we do advice you to choose the small version as the larger breadboard can be used for other projects that have a complex wiring diagram)
Raspberry Pi Pico pin out diagram
What is BOOTSEL in Raspberry Pi Pico?
According to the Pico datasheet, the BOOTSEL button is connected to the Chip Select (/CS) pin of the W25Q16JV flash memory. The /CS pin enables and disables the flash pin. The function of the button includes disabling the flash boot and enabling the USB boot.
|Step 1||Connect the Raspberry Pi Pico with the breadboard. Ensure that the micro USB part of the Pico lies on the edge of the breadboard. This placement is important as you do not want the wires getting entangled with the male to male jumper wires later on. |
|Step 2||Insert a push button across the central break of the breadboard.|
|Step 3||Connect a male to male jumper wire between the run pin and the push button. |
|Step 4||Connect another male to male jumper between the second pin of the push button and the GND. |
|Step 5||Connect the Raspberry Pi Pico with a monitor and run the Thonny application. When the button is pressed down, the RUN pin is activated and pulled down to 0V. This forces Pico to reset. If ever your code gets stuck or locks up, press the button to get back on track. |
|Step 6||Now, all you have to do is press down on the reset button while pressing the BOOTSEL button. Then release them both simultaneously.|
Once you connect the GND, RUN and push button to your breadboard, you can reset the board whenever you wish. This is a better alternative to constantly unplugging and plugging your USB cable whenever you wish to load a code into Pico.