Blinking LED: Raspberry Pi Pico WH With Arduino IDE

by sss2022 in Circuits > Electronics

295 Views, 3 Favorites, 0 Comments

Blinking LED: Raspberry Pi Pico WH With Arduino IDE

1000034763.jpg

In this project, a basic blinking LED circuit has been tested using the Raspberry Pi Pico WH development board and a few electronic components. The LED turns ON and OFF at a regular interval, allowing beginners to understand how digital output pins work on the Pico WH and how to control external components through simple code.

-------------------------------------------------------------------------------------------

Dans ce projet, un circuit simple de clignotement de LED a été testé en utilisant la carte de développement Raspberry Pi Pico WH et quelques composants électroniques. La LED s’allume et s’éteint à un intervalle régulier, permettant aux débutants de comprendre le fonctionnement des broches de sortie numérique de la Pico WH et la manière de contrôler des composants externes à l’aide d’un code simple.

Supplies

  1. Raspberry Pi Pico WH development board
  2. USB-A to Micro-USB cable
  3. Red LED
  4. One 330 Ohm resistors
  5. Cables
  6. Breadboard

--------------------------------------------------------------

  1. Carte de développement Raspberry Pi Pico WH
  2. Câble USB-A vers micro-USB
  3. LED rouge
  4. Une résistance de 330 Ohm
  5. Câbles
  6. Platine d'essai

Circuit Diagram / Schéma

Schéma_led_picolo.png

The circuit diagram is made using : thttps://www.wokwi.com/

------------------------------------------------------------------------------------------

Le schéma est réalisé via : thttps://www.wokwi.com/

Installing Raspberry Pi Pico WH in Arduino IDE

preferences_pico.png

1- Open Arduino IDE, then go to File> Preferences

2- Enter the following into the “Additional Board Manager URLs” field:

https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json

Note: if you already have the ESP32 board URL, you can separate the URLs with a comma.

Then, click the “OK” button.

-------------------------------------------------------------------------------------------

1- Ouvrir l’Arduino IDE, puis va dans File> Preferences.

2- Dans le champ “Additional Board Manager URLs”, saisir l’adresse suivante :

https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json

Remarque: Si vous avez déjà l’URL de la carte ESP32, vous pouvez séparer les URLs par une virgule.

Ensuite, cliquer sur le bouton "OK".

Libraries / Bibliothèques

biblio_pico.png
2_tools_pico.png
COM8_picolo.png

1- Open Arduino IDE, then go to Tools > Board > Boards Manager , search for "Raspberry Pi Pico" in the Boards Manager window, and install the "Raspberry Pi Pico/RP2040/RP2350" package by Earle Philhower .

2- Once the installation is complete, add and select the Raspberry Pi Pico board you are using from the Tools > Boards menu.

3- Go to Tools > Port, and select the port corresponding to your board.

-------------------------------------------------------------------------------------------

1- Ouvrez l’Arduino IDE, puis allez dans ools > Board > Boards Manager . Dans la fenêtre du gestionnaire de cartes, recherchez "Raspberry Pi Pico" et installez le paquet "Raspberry Pi Pico/RP2040/RP2350" de Earle Philhower.

2- Une fois l’installation terminée, ajoutez et sélectionnez la carte Raspberry Pi Pico que vous utilisez dans le menu Tools > Boards.

3- Allez dans Tools > Port, puis choisissez le port correspondant à ta carte.

Source Code / Code Source

You can find the full source code below, and you also have the option to simulate your program directly here. This allows you to test and understand how it works before running it on your actual Raspberry Pi Pico WH.

https://wokwi.com/projects/448890071218390017

-------------------------------------------------------------------------------------------

Vous trouverez le code source complet ci-dessous, et vous avez également la possibilité de simuler votre programme directement ici. Cela vous permet de tester et de comprendre son fonctionnement avant de l’exécuter sur votre Raspberry Pi Pico WH réel.

https://wokwi.com/projects/448890071218390017