Category: Development Kit
-
Introduction to strings in MicroPython on Raspberry Pi Pico
Strings are a fundamental data type in programming, and they are no exception in MicroPython on Raspberry Pi Pico. A string is a sequence of characters enclosed in single or double quotes. Strings are used to represent text in programs, and they can be manipulated in various ways to achieve different results. In this blog…
-
How to Blink LED on Mini STM32 v3.0 Discovery Board Using STM32CubeIDE
Step 2: Configure GPIO Pins In the Project Explorer pane, expand the “Src” folder and open the “main.c” file. Scroll down to the main() function and add the following code to configure the GPIO pins: This code configures pin 2 on GPIOA as a push-pull output pin with no pull-up or pull-down resistors and low…
-
How to setup NodeMCU on Arduino IDE
NodeMCU is an open-source firmware and development board that is based on the ESP8266 Wi-Fi module. It is a popular platform for Internet of Things (IoT) projects due to its low cost, ease of use, and versatility. In this article, we will discuss how to set up NodeMCU on Arduino IDE. Step 1: Install Arduino…
-
How to setup C/C++ SDK of Raspberry Pi Pico W On Raspberry Pi Model 3b+
The C/C++ SDK has development tools for both development boards. There are various methods of the SDK. You can use this in Windows, MAC etc. But the easiest and simplest method is the use of Raspberry Pi itself. Step 1: Follow Chapter 1 of the Getting Started with Raspberry Pi Pico https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf Step 2: Follow…
-
How to view PDF in Raspberry Pi model 3b+
Both Okular and QPDF are great PDF viewers that can be used on a Raspberry Pi Model 3b+. Okular is a graphical application that is easy to use and has a wide range of features, while QPDF is a command-line tool that is lightweight and can be used to quickly view PDF files. Regardless of…
-
Functions in MicroPython on Raspberry Pi Pico
Functions are a way to make your code more organized and easier to understand. They are like little machines that you can use over and over again in your code. To create a function, you need to give it a name and then write what it does. You can also give it some inputs, like…
-
How to interface 0.96″ OLED display with Raspberry Pi Pico without library using I2C in Micropython
The 0.96-inch OLED screen is monochromatic blue. Which means it has only blue light. You can either switch on the led to make the text blue or you can invert the in which background is blue and the text black. The OLED uses a ssd1306 IC. Which is a 128 x 64 Dot Matrix OLED/PLED…
-
Using Loops to Iterate Over Data Structures in MicroPython on Raspberry Pi Pico
MicroPython on Raspberry Pi Pico provides several data structures for storing and manipulating data. These include lists, tuples, sets, and dictionaries. Loops are a powerful tool for iterating over these data structures and performing operations on their elements. Let’s take a look at some examples of how loops can be used to iterate over data…
-
Loop Control Statements in MicroPython on Raspberry Pi Pico
Loop control statements are used to alter the normal flow of execution within loops. They can be used to skip iterations or terminate loops prematurely based on certain conditions. In MicroPython on Raspberry Pi Pico, there are three loop control statements: break, continue, and pass. Here’s an example: In this example, the loop will iterate…
-
Nested Loops in MicroPython on Raspberry Pi Pico
Nested loops in MicroPython on Raspberry Pi Pico refer to the use of one loop inside another loop. The inner loop is executed multiple times for each iteration of the outer loop. This technique is useful when we want to perform repetitive tasks or calculations on a set of data. To create nested loops in…
