Tag: Thonny IDE

  • Raspberry Pi Pico Internal Temperature Sensor Based Fan Speed Control using PID Algorithm with Anti-Windup Logic

    This system uses the Raspberry pi pico development board which has an RP2040 microcontroller. The RP2040 microcontroller has an internal temperature sensor. Using its internal temperature sensor I have devised a very simple setup that demonstrates the PID algorithm. Using PID Algorithm control technique I am controlling the fan speed by changing the PWM duty…

  • Wireless Plant Watering System using Raspberry Pi Pico W

    Every morning my mom waters the plant. She has to water them every day and sometimes in summer, she must provide water twice a day. In winter plant needs water when necessary. Solution: For the above problem, I developed this project using raspberry pi pico w. Here is what it does: Schematic Diagram Micropython Code

  • How to use button with Raspberry Pi Pico using micropython

    The Pico has internal pull up /down circuits inside it. I have made this simple circuit for demonstration. Button could be connected in two ways. In the schematic i connected a button to GP22 using a external pull up of resistor 10k. I also used a capacitor in parallel with the button to debounce the…

  • How to use GPIO of Raspberry Pi Pico as Output Pins

    One of the most important features of the Raspberry Pi Pico is its General-Purpose Input/Output (GPIO) pins. These pins can be used to control external devices, such as LEDs, motors, and relays. The Raspberry Pi Pico has 26 GPIO pins, numbered from GP0 to GP25. Each pin can be individually programmed to perform a specific…

  • Finding and replacing substrings in MicroPython on Raspberry Pi Pico

    In programming, finding and replacing substrings is a common task when working with text data. MicroPython on Raspberry Pi Pico provides a variety of built-in functions that can be used to search for and replace substrings within a string. In this blog post, we will explore how to use these functions to find and replace…

  • Reversing strings in MicroPython on Raspberry Pi Pico

    Reversing a string is a common task in programming and can be useful in various applications. In this blog post, we will explore how to reverse strings in MicroPython on Raspberry Pi Pico and provide some examples. In MicroPython, reversing a string is done using string slicing. The slice notation allows you to specify the…

  • Splitting strings in MicroPython on Raspberry Pi Pico

    Strings are an essential part of any programming language, and MicroPython on Raspberry Pi Pico is no exception. They can contain a sequence of characters and can be used for a variety of purposes, from storing user input to displaying information on the screen. One of the useful operations that can be performed on strings…

  • Concatenating Strings in MicroPython on Raspberry Pi Pico

    In programming, concatenation is the process of combining two or more strings into a single string. This operation is commonly used in MicroPython on Raspberry Pi Pico to create dynamic messages and strings that can be used in various applications. In this blog post, we will explore the concept of string concatenation in MicroPython and…

  • String manipulation in MicroPython on Raspberry Pi Pico

    String manipulation is a common task in programming, including in MicroPython on Raspberry Pi Pico. It involves modifying, searching, and extracting data from strings. In this blog post, we will explore string manipulation techniques in MicroPython and how to use them effectively. Modifying Strings In MicroPython, strings are immutable, which means that once a string…

  • Understanding string data types in MicroPython on Raspberry Pi Pico

    Strings are one of the most commonly used data types in programming, including in MicroPython on Raspberry Pi Pico. In this blog post, we will explore the concept of string data types in MicroPython and how to work with them. A string is a sequence of characters enclosed within single or double quotes. It can…