Category: Development Kit
-
For Loops in MicroPython on Raspberry Pi Pico
For loops are one of the most commonly used loops in programming, including MicroPython on Raspberry Pi Pico. They allow you to repeat a set of instructions a specific number of times, making your code more efficient and concise. In MicroPython, a for loop is used to iterate over a sequence of values, such as…
-
While Loops in MicroPython on Raspberry Pi Pico
While loops in MicroPython on Raspberry Pi Pico are used to execute a block of code repeatedly as long as a certain condition is true. The general syntax for a while loop is: The condition is checked at the beginning of each iteration. If the condition is true, the code inside the loop is executed.…
-
Introduction to Loops in MicroPython on Raspberry Pi Pico
Loops are an essential part of any programming language, including MicroPython on Raspberry Pi Pico. They allow you to execute a block of code repeatedly, saving you time and effort. In this article, we’ve introduced you to the two types of loops in MicroPython: for loops and while loops. What are Loops?A loop is a…
-
Conditional Statements in MicroPython on Raspberry Pi Pico
Conditional statements in MicroPython on Raspberry Pi Pico are used to make decisions based on certain conditions. They allow us to execute a block of code only if a certain condition is true, or to execute a different block of code if the condition is false. In MicroPython, we use the if, elif, and else…
-
Variables and Data Types in MicroPython on Raspberry Pi Pico
Variables and data types are fundamental concepts in programming. In MicroPython, just like in any programming language, variables are used to store data values and data types define the kind of data that can be stored. In this tutorial, we will explore variables and data types in MicroPython on Raspberry Pi Pico. Variables in MicroPython…
-
How to Read internal temperature sensor of Raspberry Pi Pico using Thonny IDE
The internal temperature sensor of RP2040 is read using micropython. The Thonny IDE is used in Windows environment. The temperature sensor is connected to Channel number 4 of the ADC. But since this is a rather small implementation using Thonny IDE, it does most of the interfacing related code in the background. Code
-
How to setup Raspberry Pi Pico using Thonny IDE on windows and Blink onboard LED
First you have to install micropython on your raspberry pi pico board. Follow the steps shown in the video. To blink the onboard LED you can follow these steps: That’s it! You have successfully blinked the onboard LED of Raspberry Pi Pico using Thonny IDE on Windows.
-
How to blink onboard LED on Raspberry Pi Pico W using Thonny IDE in Windows
The raspberry pi pico w has a LED on it. This LED is not connected to the GPIO pins of RP2040 microcontroller directly. As you can see in the image of the pinout taken from the official datasheet. The onboard LED is connected to a pin ‘WL_GPIO0’. WL_GPIO0 is an internal pin. There are different…
-
Board Specification of Raspberry Pi Model 3b+
Overview of the Raspberry Pi 3B+ board
