Generated by All in One SEO v5.0.0.1, this is an llms.txt file, used by LLMs to index the site. # rp2040 learning a variety of content related to the rp2040 microcontroller including the Rasoberry Pi Pico ## Sitemaps - [XML Sitemap](http://www.rp2040learning.com/sitemap.xml): Contains all public & indexable URLs for this website. ## Posts - [Raspberry Pi Pico PWM Frequency Calculator – Duty Cycle & Resolution Tool](http://www.rp2040learning.com/tools/raspberry-pi-pico-pwm-frequency-calculator-duty-cycle-resolution-tool.php) - Calculate PWM frequency, duty cycle, pulse width, and resolution for Raspberry Pi Pico RP2040 projects. Includes MicroPython code generation and PWM guidance. - [RP2040 Pinout Explorer – GPIO, ADC, PWM, I2C, SPI, UART & PIO](http://www.rp2040learning.com/tools/rp2040-pinout-explorer-gpio-adc-pwm-i2c-spi-uart-pio.php) - RP2040 Pinout Explorer Explore RP2040 and Raspberry Pi Pico GPIO pins, ADC channels, PWM slices, I2C, SPI, UART, PIO-capable pins and common board-specific warnings. Board Model Search GPIO / Function Filter All pins General GPIO ADC capable PWM capable I2C capable SPI capable UART capable PIO capable Board reserved / caution Code Pin Board Summary - [A Raspberry Pi Pico and KY-037 High Sensitivity Sound Detection Module](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-037-high-sensitivity-sound-detection-module.php) - In this article, we connect a KY-037 High Sensitivity Sound Detection Module to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have - [A Pico based learning kit - the DeskPi PicoMate](http://www.rp2040learning.com/hardware/a-pico-based-learning-kit-the-deskpi-picomate.php) - The DeskPi PicoMate is a comprehensive kit tailored for the Raspberry Pi Pico and Pico W microcontrollers. It integrates an expansion dock with 12 detachable modules, which makes it easy to seamlessly develop many projects without the need for any soldering or complex wiring. This makes this board ideal for beginners. Lets take a look - [A Raspberry Pi Pico and KY-023 Dual Axis Joystick Module](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-023-dual-axis-joystick-module.php) - In this article, we connect a KY-023 Dual Axis Joystick Module to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry - [A Raspberry Pi Pico and KY-024 Linear Magnetic Hall module](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-024-linear-magnetic-hall-module.php) - In this article, we connect a KY-024 Linear Magnetic Hall module to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry - [A Raspberry Pi Pico and KY-002 shock and vibration sensor](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-002-shock-and-vibration-sensor.php) - In this article, we connect a KY-002 shock and vibration sensor to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry - [ADXL313 accelerometer and Raspberry Pi Pico Arduino example](http://www.rp2040learning.com/code/arduino/adxl313-accelerometer-and-raspberry-pi-pico-arduino-example.php) - In this article we connect the ever popular ADXL313 accelerometer to a raspberry Pi Pico and we will then display readings via the serial monitor window. We are using the Arduino IDE. Lets look at the sensor first Features The ADXL313 is a small, thin, low power, 3-axis accelerometer with high resolution (13-bit) measurement up - [STTS22H temperature sensor and Raspberry Pi Pico Arduino example](http://www.rp2040learning.com/code/arduino/stts22h-temperature-sensor-and-raspberry-pi-pico-arduino-example.php) - In this article we connect the ever popular STTS22H temperature sensor to a raspberry Pi Pico and we will then display readings via the serial monitor window. We are using the Arduino IDE. Lets look at the sensor first Features The STTS22H is an ultralow-power, high-accuracy, digital temperature sensor offering high performance over the entire - [KX132 accelerometer and Raspberry Pi Pico Arduino example](http://www.rp2040learning.com/code/arduino/kx132-accelerometer-and-raspberry-pi-pico-arduino-example.php) - In this article we connect the ever popular KX132 accelerometer to a raspberry Pi Pico and we will then display readings via the serial monitor window. We are using the Arduino IDE. Lets look at the sensor first Features The KX132-1211 is silicon micromachined accelerometer in the 2 x 2 x 0.9 mm LGA package - [KX134 accelerometer and Raspberry Pi Pico Arduino example](http://www.rp2040learning.com/code/arduino/kx134-accelerometer-and-raspberry-pi-pico-arduino-example.php) - In this article we connect the ever popular KX134 accelerometer to a raspberry Pi Pico and we will then display readings via the serial monitor window. We are using the Arduino IDE. Lets look at the sensor first Features Measurement Range: ±8g, ±16g, ±32g, ±64g (User Selectable) High Resolution (8 or 16-bit) User-Configurable Output Data - [BMP384 and Raspberry Pi Pico Arduino example](http://www.rp2040learning.com/code/arduino/bmp384-and-raspberry-pi-pico-arduino-example.php) - In this article we connect the ever popular BMP384 Sensor to a raspberry Pi Pico and we will then display readings via the serial monitor window. We are using t he Arduino IDE. Lets look at the sensor first Features The BMP384 provides excellent accuracy across a wide measurement range (300hPa to 1250hPa and -40 - [A Raspberry Pi Pico and KY-021 Mini Magnetic Reed Switch](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-021-mini-magnetic-reed-switch.php) - In this article, we connect a KY-021 Mini Magnetic Reed Switch to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry - [A Raspberry Pi Pico and KY-003 Hall Magnetic Sensor](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-003-hall-magnetic-sensor.php) - In this article, we connect a KY-003 Hall Magnetic Sensor to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry Pi - [A Raspberry Pi Pico and KY-015 Temperature Sensor](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-015-temperature-sensor.php) - In this article, we connect a KY-015 Temperature Sensor to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry Pi Pico - [A Raspberry Pi Pico and KY-001 Temperature Sensor](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-001-temperature-sensor.php) - In this article, we connect a KY-001 Temperature Sensor to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry Pi Pico - [A Raspberry Pi Pico and KY-006 Passive Buzzer](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-006-passive-buzzer.php) - In this article, we connect a KY-006 Passive Buzzer to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry Pi Pico - [A Raspberry Pi Pico and KY-012 Active Buzzer](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-012-active-buzzer.php) - In this article, we connect a KY-012 Active Buzzer to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry Pi Pico - [A Raspberry Pi Pico and KY-032 Obstacle Detector](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-032-obstacle-detector.php) - In this article, we connect a KY-032 Obstacle Detector to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry Pi Pico - [A Raspberry Pi Pico and KY-033 Line Detector module](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-033-line-detector-module.php) - In this article, we connect a KY-033 Line Detector to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry Pi Pico - [A Raspberry Pi Pico and KY-020 Tilt switch](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-020-tilt-switch.php) - In this article, we connect a KY-020 Tilt switch to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry Pi Pico - [A Raspberry Pi Pico and KY-018 Photoresistor](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-018-photoresistor.php) - In this article, we connect an KY-018 Photoresistor or LDR to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry Pi - [A Raspberry Pi Pico and KY-031 Knock Sensor](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-031-knock-sensor.php) - In this article, we connect an KY-031 Knock Sensor to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can use the Arduino IDE as well if you have Raspberry Pi Pico - [A Raspberry Pi Pico and KY-009 RGB LED](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-009-rgb-led.php) - In this article, we connect an KY-009 RGB LED to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico The KY-009 RGB LED module can emit red and green light. You can adjust the intensity of each color using a Pico PWM pin - [A Raspberry Pi Pico and KY-034 7 color flashing LED](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-034-7-color-flashing-led.php) - In this article, we connect an KY-034 7 color flashing LED to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico The KY-034 7 color flashing LED module can emit red and green light. You can adjust the intensity of each color using - [A Raspberry Pi Pico and KY-029 Dual Color LED](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-029-dual-color-led.php) - In this article, we connect an KY-029 Dual Color LED to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico The KY-029 Dual Color LED module can emit red and green light. You can adjust the intensity of each color using a Pico - [A Raspberry Pi Pico and KY-011 Dual Color LED](http://www.rp2040learning.com/code/micropython/a-raspberry-pi-pico-and-ky-011-dual-color-led.php) - In this article, we connect an KY-011 Dual Color LED to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico The KY-011 Dual Color LED module can emit red and green light. You can adjust the intensity of each color using a Pico - [An RP2040 board in a Microbit form factor](http://www.rp2040learning.com/hardware/an-rp2040-board-in-a-microbit-form-factor.php) - This is an RP2040:bit Board Based On Raspberry Pi Microcontroller RP2040 but is the same size and pinout as the BBC Micro:bit Features On-board W25Q16 16M flash Memory chip On-board 5×5 LED matrix, each LED can be programmed separately. On-board two programmable buttons. You get 2 headers which you can solder on, if you want - [Knightrider LED effect using Micropython](http://www.rp2040learning.com/code/knightrider-led-effect-using-micropython.php) - In this example we use LEDs connected to the following pins - 16,17,18,19,20,21,22,26,27,28 to create the knight rider effect I tested this with cytron maker pi pico as it has LEDs connected to all the outputs Schematic If you want to build its fairly simple, you just need the pico, 10 LEDs and 10 resistors. - [A board that turns a RP2040 into a Raspberry Pi Zero](http://www.rp2040learning.com/hardware/a-board-that-turns-a-rp2040-into-a-raspberry-pi-zero.php) - The RP2040 PiZero development board is a board in the ever popular Raspberry PI Zero form factor, but at its heart is the RP2040 SoC from Raspberry PI. We get the same dual-core Arm Cortex M0+ CPU running at 133 MHz and 264KB of SRAM. The flash storage is much greater coming in at 16MB - [Raspberry Pi Pico st7735s 1.8 inch lcd micropython example](http://www.rp2040learning.com/code/micropython/raspberry-pi-pico-st7735s-1-8-inch-lcd-micropython-example.php) - In this article we look at another CD option for your Raspberry Pi Pico,its a 1.8 inch LCd with dimensions of 128 x 160 and is based on the ST7735 IC. There are many variants of the LCD that use this driver ic. This is the one that I purchased Specs SIZ : E0.96inch Display - [A Raspberry Pi Pico RTC Module](http://www.rp2040learning.com/hardware/a-raspberry-pi-pico-rtc-module.php) - In this article we look at a Raspberry Pi Pico RTC Module based on the DS1302 chip The Raspberry Pi Pico out of the box does not have RTC capabilities so with the addition of this Here is a picture of the purchased module Lets look at the DS1302 chip The DS1302 chip contains a - [A Raspberry Pi Pico Speaker Expansion Board](http://www.rp2040learning.com/hardware/a-raspberry-pi-pico-speaker-expansion-board.php) - In this article we look at a speaker expansion board for your Raspberry Pi Pico. This board has an on board speaker and also a headphone jack. This is a picture of the board The main audio chip on this board after closer examination was found to be a NS8002 power amplifier - not one - [2 inch LCD option for your Raspberry Pi Pico](http://www.rp2040learning.com/hardware/2-inch-lcd-option-for-your-raspberry-pi-pico.php) - In this article we look at a 2 inch LCD option for your Raspberry Pi Pico, its a 320 x 240 display with 4 buttons The LCD is designed to have the Raspberry Pi Pico fitted to it, if you were to do this then you would get access to any of the other unused - [4 digit 8 segment Display Module for the Pico](http://www.rp2040learning.com/hardware/4-digit-8-segment-display-module-for-the-pico.php) - In this article we look at a 4 digit 8 segment Display Module for your Raspberry Pi Pico. The display module is designed to have the Raspberry Pi Pico fitted to it, if you were to do this then you would get access to any of the other unused pins. You can used an expansion - [Raspberry Pi Pico and LTR390 UV Light Sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-ltr390-uv-light-sensor-circuitpython-example.php) - In this article we connect a LTR390 UV Light Sensor to the Raspberry Pi Pico Sensor Information This sensor converts light intensity to a digital output signal capable of direct I2C interface. It provides a linear ALS response over a wide dynamic range, and is well suited to applications under high ambient brightness. The sensor - [Raspberry Pi Pico and MSA301 accelerometer circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-msa301-accelerometer-circuitpython-example.php) - In this article we look at an accelerometer - this time its the MSA301 and we will connect this to a raspberry Pi Pico running Circuitpython Lets look at some information regarding the sensor, this is from the datasheet MSA301 is a triaxial, low-g accelerometer with I2C digital output for consumer applications. It has dynamical - [Pico Explorer Base display example in circuitpython](http://www.rp2040learning.com/code/circuitpython/pico-explorer-base-display-example-in-circuitpython.php) - In a previous article we looked at the Pico Explorer Base and in this article we look at using circuitpython on the attached display. The 240 x 240 display fitted which is controlled by a ST7789 chip using SPI. the pins used are tft_cs = board.GP17 tft_dc = board.GP16 spi_mosi = board.GP19 spi_clk = board.GP18 - [Reading a web page using a Raspberry Pi Pico W](http://www.rp2040learning.com/code/micropython/reading-a-web-page-using-a-raspberry-pi-pico-w.php) - In this article we will fetch a web page using a Raspberry Pi W running micropython, we will display the source code of the web page in the REPL window You need to download the latest micropython firmware, you can get this from the following link https://micropython.org/download/rp2-pico-w/ You first flash the MicroPython Firmware onto the - [Create a Basic Web Server using the Raspberry Pi Pico W](http://www.rp2040learning.com/code/micropython/create-a-basic-web-server-using-the-raspberry-pi-pico-w.php) - In this example we will create the most basic Web Server using our Raspberry Pi Pico W. This Web Server will display a simple Web Page when we navigate to the IP address assigned to our Pico W. The HTML is embedded in the code Code Enter your wifi name and password in here ssid - [Control the Pico OnBoard LED using a Web Server](http://www.rp2040learning.com/code/micropython/control-the-picoonboard-led-using-a-web-server.php) - In this article we will show you how to control the onboard LED of the Pico W using a Web Server. PICO-W Code At the most basic we simply create a html web page which will be served up when an IP address is assigned We then supply 2 links, one to switch the on - [Raspberry Pi Pico and BME280 Humidity sensor micropython example](http://www.rp2040learning.com/code/micropython/raspberry-pi-pico-and-bme280-humidity-sensor-micropython-example.php) - In this article we connect a bme280 to our Raspberry Pi Pico and The BME280 Humidity sensor measuring relative humidity, barometric pressure and ambient temperature Technical data Parameter Technical data Operation range Pressure: 300...1100 hPa Temperature: -40…85°C Supply voltage VDDIO Supply voltage VDD 1.2 ... 3.6 V 1.71 ... 3.6 V Interface I²C and - [Raspberry Pi Pico and SGP40 air quality sensor micropython example](http://www.rp2040learning.com/code/micropython/raspberry-pi-pico-and-sgp40-air-quality-sensor-micropython-example.php) - In this article we connect an SGP40 air quality sensor to our Raspberry Pi Pico The SGP40 is Sensirion’s new digital VOC (volatile organic compounds) sensor designed for easy integration into air purifiers or demand-controlled ventilation. SGP40 is Sensirion’s new digital VOC (volatile organic compounds) sensor designed for easy integration into air treatment devices and - [Display Temperature Sensor Value from Raspberry Pi Pico on an LCD](http://www.rp2040learning.com/code/micropython/display-temperature-sensor-value-from-raspberry-pi-pico-on-an-lcd.php) - In this article we connect an Pico Sense hat to our Raspberry Pi Pico We will then use the on board LCD to display the temperature Parts Required I used a Pico sense hat which has 4 sensors Name Link Pico Raspberry Pi Pico Development Board Pico Sense hat Raspberry Pi Pico with Pico Sense - [MPU6050 Accelerometer and Gyroscope Sensor example with Pico and micropython](http://www.rp2040learning.com/code/micropython/mpu6050-accelerometer-and-gyroscope-sensor-example-with-pico-and-micropython.php) - In this article we connect the ever popular MPU6050 Accelerometer and Gyroscope Sensor to a raspberry Pi Pico and we will then display the temperature and humidity to the repl window in Thonny using micropython Lets look at the sensor first Features The MPU-60X0 is the world’s first integrated 6-axis MotionTracking device that combines a 3-axis - [Raspberry Pi Pico I2C LCD clock example](http://www.rp2040learning.com/code/micropython/raspberry-pi-pico-i2c-lcd-clock-example.php) - In this article we look at interfacing an I2C 16x2 LCD to a raspberry Pi Pico Most of these LCD displays are either 16x2 or 20x4 and they are based on a The I2C module usually consists of a PCF8574 chip, which is an IC which converts I2C serial communication to a parallel connections which - [Get the price of Bitcoin using Micropython using a RP2040w](http://www.rp2040learning.com/code/micropython/get-the-price-of-bitcoin-using-micropython-using-a-rp2040w.php) - In this article we will display cryptocurrency prices using a RP2040W, we will use Micropython and the Thonny editor. The prices are retrieved from coinbase using their api You can visit coinbase api and take a look at the various requests and responses We are using this request Get Spot Price Get the current market - [Displaying custom characters on an I2C LCD with a Raspberry PI Pico and MicroPython](http://www.rp2040learning.com/code/micropython/displaying-custom-characters-on-an-i2c-lcd-with-a-raspberry-pi-pico-and-micropython.php) - In this article we look at creating and displaying custom characters on an I2C 16x2 LCD to a raspberry Pi Pico Parts Required Name Link Pico Raspberry Pi Pico Development Board I2C lCD Aliexpress link Connecting cables Aliexpress product link Lysee 3D Printer Parts & Accessories - AHT20 Temperature and Humidity Sensor Module - [Raspberry Pi Pico and LTR303 UV Light Sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-ltr303-uv-light-sensor-circuitpython-example.php) - In this article we connect a LTR303 UV Light Sensor to the Raspberry Pi Pico Sensor Information The LTR-303ALS-01 is a low voltage I2C digital light sensor [ALS] in a low cost miniature chipled lead-free surface mount package. This sensor converts light intensity to a digital output signal capable of direct I2C interface. It providesa - [Various Raspberry Pi Pico I2C LCD clock examples](http://www.rp2040learning.com/code/micropython/various-raspberry-pi-pico-i2c-lcd-clock-examples.php) - In this article we look at another few examples to display on an I2C 16x2 LCD to a raspberry Pi Pico Parts Required Name Link Pico Raspberry Pi Pico Development Board I2C lCD Aliexpress link Connecting cables Aliexpress product link Lysee 3D Printer Parts & Accessories - AHT20 Temperature and Humidity Sensor Module - [Raspberry Pi Pico and LTR329 UV Light Sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-ltr329-uv-light-sensor-circuitpython-example.php) - In this article we connect a LTR329 UV Light Sensor to the Raspberry Pi Pico Sensor Information The LTR-329ALS-01 is a low voltage I2C digital light sensor [ALS] in a low cost miniature chipled lead-free surface mount package. This sensor converts light intensity to a digital output signal capable of direct I2C interface. It provides - [Display the internal temperature of an RP2040 to an I2C LCD](http://www.rp2040learning.com/code/micropython/display-the-internal-temperature-of-an-rp2020-to-an-i2c-lcd.php) - In this article we look at display t he internal temperature of an RP2020 to an I2C 16x2 LCD to a raspberry Pi Pico The internal temperature sensor that comes with the Raspberry Pi Pico is connected to one of the Analog-to-Digital Converters. The ADC pin supports a range of values, which is determined by - [Raspberry Pi Pico and LTR-559 3-axis Light and Proximity Sensor micropython example](http://www.rp2040learning.com/code/micropython/raspberry-pi-pico-and-ltr-559-3-axis-light-and-proximity-sensor-micropython-example.php) - In this article we connect a LTR-559 3-axis Light and Proximity Sensor to the Raspberry Pi Pico Sensor Information This light and proximity sensor detects light over a wide dynamic range (0.01 lux to 64,000 lux) and proximity within a short range of ~5cm. The LTR-559 is the same sort of sensor that you'd find - [Raspberry Pi Pico and MMC5603 3-axis AMR magnetic sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-mmc5603-3-axis-amr-magnetic-sensor-circuitpython-example.php) - In this article we connect a MMC5603 3-axis AMR magnetic sensor to the Raspberry Pi Pico Sensor Information The MMC5603NJ is a monolithic complete 3-axis AMR magnetic sensor with on-chip signal processing and integrated digital bus (I2C fast mode and I3C interface), the device can be connected directly to a microprocessor, eliminating the need for - [Raspberry Pi Pico and 5x5 RGB Led matrix micropython example](http://www.rp2040learning.com/code/micropython/raspberry-pi-pico-and-5x5-rgb-led-matrix-micropython-example.php) - In this article we connect a 5x5 RGB Led matrix from Pimoroni to the Raspberry Pi Pico Breakout Information Features 5x5 (25 total) RGB LEDs 15x15mm active area 3.5mm LED pitch I2C interface (address 0x74/0x77 (cut trace)) 3.3V or 5V compatible Reverse polarity protection Parts Required The sensor you can pick up in the $6 - [StackyPi – Raspberry Pi RP2040 based Board in a Pi Zero format](http://www.rp2040learning.com/hardware/stackypi-raspberry-pi-rp2040-based-board-in-a-pi-zero-format.php) - In this article, we look at a board from SBcomponents that combines an RP2040 in a Raspberry Pi Zero format. The StackyPi is a compact RP2040-based development board with the same physical kind factor and pin layout as the Raspberry Pi Zero, this allows you to connect your existing Raspberry Pi HATs or simply use - [DHT11  Temperature & Humidity Sensor and Raspberry Pi Pico example using micropython](http://www.rp2040learning.com/code/micropython/dht11-temperature-humidity-sensor-and-raspberry-pi-pico-example-using-micropython.php) - In this article we connect the ever popular DHt11 Temperature & Humidity Sensor to a raspberry Pi Pico and we will then display the temperature and humidity to the repl window in Thonny using micropython Now the DHT11 is not the fastest or most impressive temperature sensor but it is low cost and very common - [Raspberry Pi Pico Ultrasonic ranging module HC-SR04 micropython example](http://www.rp2040learning.com/code/micropython/raspberry-pi-pico-ultrasonic-ranging-module-hc-sr04-micropython-example.php) - In this article we connect an Ultrasonic ranging module to a raspberry Pi Pico Features Ultrasonic ranging module HC - SR04 provides 2 cm - 400 cm non-contact measurement function, the ranging accuracy can reach to 3 mm. The modules includes ultrasonic transmitters, receiver and control circuit. The basic principle of work: (1) Using IO trigger - [A rp2040 kit from makerfabs](http://www.rp2040learning.com/hardware/a-rp2040-kit-from-makerfabs.php) - In this article we look at an Rp2040 kit from makerfabs. This is the kit that you get You get an expansion board for the Rp2040, this is pictured below. It has a few interesting features The board has 3 buttons and 3 colored LEDs, a buzzer and a 1.44 inch TFT LCD which uses - [An Rp2040 board from Seeed Studio](http://www.rp2040learning.com/hardware/an-rp2040-board-from-seeed-studio.php) - The Seeed Studio XIAO RP2040 is a mini development board based on the Dual-core RP2040 processor. The Seeed Studio XIAO RP2040 also has 264KB of SRAM, and 2MB of on-board Flash memory which can provide more program to save and run. On the other hand, this little board has good performance in processing but needs - [An impressive Raspberry Pi Pico kit with 37 sensors](http://www.rp2040learning.com/hardware/an-impressive-raspberry-pi-pico-kit-with-37-sensors.php) - In this article we look at a kit for the Raspberry Pi Pico from Keyestudio caled the Raspberry Pi Pico 42 in 1 Sensor Kit This kit has 37 sensors and modules, Pico and all you need to get started with the Pico. Lets dive in and see what you get. Contents You get a - [An environmental expansion board the Pico Sense Hat](http://www.rp2040learning.com/articles/an-environmental-expansion-board-the-pico-sense-hat.php) - In this article we look at an expansion board which I purchased, the board is called the Pico Sense Hat and is made by SBcomponents It has a 1.14" LCD Display which is controlled by a ST7789, the addition of this LCD allows you to display readings from the sensors on it. If you connect - [Raspberry Pi Pico W : the new RP2040 wireless kid on the block](http://www.rp2040learning.com/hardware/raspberry-pi-pico-w-the-new-rp2040-wireless-kid-on-the-block.php) - As the owner of a RP2040 site and one that covers many products it obviously gives me great pleasure to see new products being launched and especially products from the Raspberry Pi foundation. The latest board is the Raspberry Pi Pico W which adds wireless capabilities to the Raspberry Pi Pico range and the price - [Picomite a BASIC Interpreter for the Raspberry Pi Pico](http://www.rp2040learning.com/articles/picomite-a-basic-interpreter-for-the-raspberry-pi-pico.php) - In this article we look at something slightly different for the Raspberry Pi Pico, a BASIC Interpreter called Picomite This was developed by the same person who invented the MaxiMite which Lets see what the website says about PicoMite PicoMite is a Raspberry Pi Pico which runs the MMBasic interpreter. MMBasic is a Microsoft BASIC - [A look at the Pico Explorer Base](http://www.rp2040learning.com/hardware/a-look-at-the-pico-explorer-base.php) - In this article we look at a development board from Pimoroni for creating your projects. This is called the pico explorer and its an ideal board for beginners with a few nice features for starting out with the Raspberry Pi Pico There are a few examples in Micropython and C++ available for testing out, you - [A Raspberry Pi Pico GPIO expansion Board](http://www.rp2040learning.com/hardware/a-raspberry-pi-pico-gpio-expansion-board.php) - In this article we look at an expansion board for the Raspberry Pi Pico which is designed to test all of the GPIO pins. You can see this pictured below, the board contains 5 push buttons, 1 potentiometer and 20 leds connected to various GPIO pins Here is an image of the pins that - [Adafruit QT Py RP2040 : a tiny development board](http://www.rp2040learning.com/hardware/adafruit-qt-py-rp2040-a-tiny-development-board.php) - In this article we look at one of the RP2040 board offerings from Adafruit. In this case its a much smaller sized board called the Adafruit QT Py RP2040 The QT Py RP2040 adds an extra analog pin compared to the Pico which brings the total to four, and it features a built in NeoPixel - [An RP2040 board the SparkFun Pro Micro](http://www.rp2040learning.com/hardware/an-rp2040-board-the-sparkfun-pro-micro.php) - In this article we look at another RP2040 board called the SparkFun Pro Micro, this is a low cost basic RP2040 board with minimal features There are two LEDs on the Pro Micro RP2040. The red LED indicates power and the other is an addressable WS2812 RGB LED. This LED is connected to GPIO25 The - [RGB LED examples on the Arduino Nano RP2040 Connect](http://www.rp2040learning.com/code/arduino/rgb-led-examples-on-the-arduino-nano-rp2040-connect.php) - In this article we look at the RGB led which is fitted on the Arduino Nano RP2040 Connect The RGB LED (DL3) is a common anode LED that is connected to the Nina W102 module. The LED is off when the digital state is HIGH and on when the digital state is LOW. While using - [Arduino Nano RP2040 Connect LSM6DSOX example](http://www.rp2040learning.com/code/arduino/arduino-nano-rp2040-connect-lsm6dsox-example.php) - In this article we look at the LSM6DSOX sensor which is fitted on the Arduino Nano RP2040 Connect Sensor Information Description The LSM6DSOX is a system-in-package featuring a 3D digital accelerometer and a 3D digital gyroscope boosting performance at 0.55 mA in high-performance mode and enabling always-on low-power features for an optimal motion experience for - [A look at the Arduino Nano RP2040 Connect](http://www.rp2040learning.com/hardware/a-look-at-the-arduino-nano-rp2040-connect.php) - The next board that we will look at that has an RP2040 microcontroller is one that I have been looking forward to get, the Nano RP2040 Connect from Arduino. The Nano as well as the impressive RP2040 microcontroller also has native Bluetooth and WiFi connectivity via a Nina W102 uBlox module. There is also a - [A 4-Digit 8-Segment Display Module for Raspberry Pi Pico](http://www.rp2040learning.com/hardware/a-4-digit-8-segment-display-module-for-raspberry-pi-pico.php) - If you are looking for a display for a project like a counter, timer or a simple digital clock then the 4-Digit 8-Segment Display Module for Raspberry Pi Pico is a low cost option 4-Digit 8-Segment Display Module for Raspberry Pi Pico The SNx4HC595 devices contain an 8-bit, serial-in, parallel-out shift register that feeds an - [A Raspberry Pi Pico Relay Board](http://www.rp2040learning.com/hardware/a-raspberry-pi-pico-relay-board.php) - The Raspberry Pi Pico Relay Board from sbcomponents allows your Raspberry Pi Pico to control up to 4 devices with loads up to 240V AC / 7A or 30V DC / 10A. The 4 channels have an opto-isolator, here is what an opto-isolator does An opto-isolator (also called an optocoupler, photocoupler, or optical isolator) is - [Raspberry Pi Pico and ADXL345 3-axis accelerometer circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-adxl345-3-axis-accelerometer-circuitpython-example.php) - In this article we connect a ADXL345 3-axis accelerometer to a Raspberry Pi Pico running Circuitpython Sensor Information The ADXL345 is a small, thin, ultralow power, 3-axis accelerometer with high resolution (13-bit) measurement at up to ±16 g. Digital output data is formatted as 16-bit twos complement and is accessible through either a SPI (3- - [Raspberry Pi Pico and ICM-20948 MotionTracking device circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-icm-20948-motiontracking-device-circuitpython-example.php) - In this article we connect a ICM-20948 9-axis MotionTracking device to a Raspberry Pi Pico running Circuitpython Sensor Information The ICM-20948 is the world’s lowest power 9-axis Motion Tracking device that is ideally suited for Smartphones, Tablets, Wearable Sensors, and IoT applications. 1/3 the power of existing 9-axis devices 3-axis gyroscope, 3-axis accelerometer, 3-axis compass, - [Pico Wireless Pack](http://www.rp2040learning.com/hardware/pico-wireless-pack.php) - One of the features that is missing from the Raspberry Pi Pico is network functionality. The Pico Wireless Pack from Pimoroni is one solution to the problem. The Pico Wireless Pack attaches to the back of your Pico and uses an ESP32 chip to let your Pico connect to 2.4GHz wireless networks and transfer data. There's - [An RTC expansion module for the Raspberry Pi Pico](http://www.rp2040learning.com/hardware/an-rtc-expansion-module-for-the-raspberry-pi-pico.php) - The Pico-RTC-DS3231 is an RTC expansion module specialized for Raspberry Pi Pico. It incorporates high precision RTC chip DS3231 and uses an I2C bus for communication. More external sensors are allowed to be connected thanks to the stackable design. DS3231 Information The DS3231 is a low-cost, extremely accurate I2C real-time clock (RTC) with an - [Raspberry Pi Pico and MLX90393 magnetometer circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-mlx90393-magnetometer-circuitpython-example.php) - In this article we connect a MLX90393 magnetometer to a Raspberry Pi Pico running Circuitpython Sensor Information The MLX90393 magnetic field sensor IC can be reprogrammed to different modes and with different settings at run-time. The sensor IC offers a 16-bit output proportional to the magnetic flux density sensed along the XYZ axes using the - [Raspberry Pi Pico and BMP280 barometric pressure sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-bmp280-barometric-pressure-sensor-circuitpython-example.php) - In this article we connect a BMP280 barometric pressure sensor to a Raspberry Pi Pico running Circuitpython Sensor Information The BMP280 is an absolute barometric pressure sensor, which is especially feasible for mobile applications. Its small dimensions and its low power consumption allow for the implementation in battery-powered devices such as mobile phones, GPS modules - [Raspberry Pi Pico and LIS3MDL three-axis magnetic sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-lis3mdl-three-axis-magnetic-sensor-circuitpython-example.php) - In this article we connect a LIS3MDL three-axis magnetic sensor.to a Raspberry Pi Pico running Circuitpython Sensor Information The LIS3MDL is an ultra-low-power high-performance three-axis magnetic sensor. The LIS3MDL has user-selectable full scales of ±4/±8/±12/±16 gauss. The self-test capability allows the user to check the functioning of the sensor in the final application. The device - [Raspberry Pi Pico and MMA8451Q accelerometer circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-mma8451q-accelerometer-circuitpython-example.php) - In this article we connect a MMA8451Q accelerometer to a Raspberry Pi Pico running Circuitpython Sensor Information The MMA8451Q is a smart, low-power, three-axis, capacitive, micromachined accelerometer with 14 bits of resolution. This accelerometer is packed with embedded functions with flexible user programmable options, configurable to two interrupt pins. Embedded interrupt functions allow for overall - [Raspberry Pi Pico and SHT31 humidity sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-sht31-humidity-sensor-circuitpython-example.php) - In this article we connect a SHT31 humidity sensor to a Raspberry Pi Pico running Circuitpython Sensor Information The digital SHT3x humidity sensor series takes sensor technology to a new level. As the successor of the SHT2x series it sets the industry standard in humidity sensing. The SHT3x humidity sensor series consists of a low-cost - [Raspberry Pi Pico and BMP388 barometric pressure sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-bmp388-barometric-pressure-sensor-circuitpython-example.php) - In this article we connect a BMP388 barometric pressure sensor to a Raspberry Pi Pico running Circuitpython Sensor Information The BMP388 is a very small, precise, low power, low noise absolute barometric pressure sensor. It enables accurate altitude tracking and is perfectly suited for drone applications. By making accurate steering significantly easier, the BMP388 enhances - [Raspberry Pi Pico and BME680 gas sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-bme680-gas-sensor-circuitpython-example.php) - In this article we connect a BME680 gas sensor to a Raspberry Pi Pico running Circuitpython Sensor Information The BME680 is a gas sensor that integrates high-linearity and high-accuracy gas, pressure, humidity and temperature sensors. It is especially developed for mobile applications and wearables where size and low power consumption are critical requirements. The BME680 - [Raspberry Pi Pico and MCP9808 digital temperature sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-mcp9808-digital-temperature-sensor-circuitpython-example.php) - In this article we connect a MCP9808 digital temperature sensor to a Raspberry Pi Pico running Circuitpython Sensor Information The MCP9808 digital temperature sensor converts temperatures between -40°C and +125°C to a digital word with ±0.5°C (max.) accuracy. The MCP9808 comes with user-programmable registers that provide flexibility for temperature sensing applications. The registers allow user-selectable - [Micropython PIR example for the Raspberry Pi Pico](http://www.rp2040learning.com/code/micropython/micropython-pir-example-for-the-raspberry-pi-pico.php) - In this example we connect a PIR module up to our Raspberry PI Pico, this is quite a simple module to connect as it requires only 3v3, Gnd and the output is ok to connect to a Pico and does not require any level shifting. A passive infrared sensor (PIR sensor) is an electronic sensor - [Raspberry Pi Pico and TM1637 display module micropython examples](http://www.rp2040learning.com/code/micropython/raspberry-pi-pico-and-tm1637-display-module-micropython-examples.php) - In this article we connect a TM1637 display module to a Raspberry Pi Pico and we will have some examples in Micropython Module Information A common display module that you can buy on the internet contain the Tm1638 driver chip, I was interested in this one which is the TM1637 which appears to be a more - [An I2C Scanner for the Raspberry Pi Pico](http://www.rp2040learning.com/articles/an-i2c-scanner-for-the-raspberry-pi-pico.php) - In this tutorial we will create an I2C scanner for the Raspberry Pi PIco. Sometimes you get a sensor and are not sure the I2C address or you may have a sensor library that does not work for some reason and this may be because the sensor supports multiple I2C addresses and the default one - [Get The Temperature from Raspberry Pi Pico](http://www.rp2040learning.com/articles/get-the-temperature-from-raspberry-pi-pico.php) - In this tutorial we will read the Temperature from the Raspberry Pi Pico. The Raspberry Pi Pico has an internal Temperature Sensor which is connected to an ADC pin, using Micropython or the Arduino IDE we can read this temperature The internal temperature sensor that comes with the Raspberry Pi Pico is connected to one - [The Feather RP2040 from Adafruit](http://www.rp2040learning.com/hardware/the-feather-rp2040-from-adafruit.php) - The Feather RP2040 is a board from Adafruit which features the RP2040 microcontroller from the Raspberry Pi foundation. Like other Rp2040 boards tyou can program it in circuitpython, micropython , C/C++ and there is also Arduino support adafruit feather rp2040 Features 21 x GPIO pins with following capabilities: Four 12 bit ADCs Two I2C, Two - [Pico e-Paper 2.13 module for the Raspberry Pi Pico](http://www.rp2040learning.com/hardware/pico-e-paper-2-13-module-for-the-raspberry-pi-pico.php) - This display module has been designed for the Raspberry Pi Pico - you just push your Pico into the female headers and you're ready to go. E-paper display utilizes microcapsule electrophoretic technology for displaying, the principle is: charged particles suspended in clear fluid will move to sides of microcapsule when electric field is applied, making - [Raspberry Pi Pico and VL53L0X Time-of-Flight Sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-vl53l0x-time-of-flight-sensor-circuitpython-example.php) - In this article we connect a VL53L0X Time-of-Flight to a Raspberry Pi Pico running Circuitpython Sensor Information The VL53L0X is a new generation Time-of-Flight (ToF) laser-ranging module housed in the smallest package on the market today, providing accurate distance measurement whatever the target reflectances unlike conventional technologies. It can measure absolute distances up to 2m, - [Raspberry Pi Pico and TCS3472 Color Sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-tcs3472-color-sensor-circuitpython-example.php) - In this article we connect a TCS3472 Color Sensor to a Raspberry Pi Pico running Circuitpython Sensor Information The TCS3472 device provides a digital return of red, green, blue (RGB), and clear light sensing values. An IR blocking filter, integrated on-chip and localized to the color sensing photodiodes, minimizes the IR spectral component of the - [Raspberry Pi Pico and VEML6075 UV Light Sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-veml6075-uv-light-sensor-circuitpython-example.php) - In this article we connect a VEML6075 UV Light Sensor to a Raspberry Pi Pico running Circuitpython Sensor Information The VEML6075 senses UVA and UVB light and incorporates photodiode, amplifiers, and analog / digital circuits into a single chip using a CMOS process. When the UV sensor is applied, it is able to detect UVA - [Raspberry Pi Pico and ADS1015 module circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-ads1015-module-circuitpython-example.php) - In this article we connect a ADS1015 analog-to digital converter to a Raspberry Pi Pico running Circuitpython Sensor Information The ADS1013, ADS1014, and ADS1015 devices (ADS101x) are precision, low-power, 12-bit, I2C compatible, analog-to digital converters (ADCs) offered in an ultra-small, leadless, X2QFN-10 package, and a VSSOP-10 package. The ADS101x devices incorporate a low-drift voltage reference - [Raspberry Pi Pico and MLX90614 infrared thermometer circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-mlx90614-infrared-thermometer-circuitpython-example.php) - In this article we connect a MLX90614 infrared thermometer to a Raspberry Pi Pico running Circuitpython Sensor Information First lets look at some information about the sensor from the manufacturer The MLX90614 is an infrared thermometer for non-contact temperature measurements. Both the IR sensitive thermopile detector chip and the signal conditioning ASIC are integrated in - [Raspberry Pi Pico and TSL2591 light-to-digital converter circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-tsl2591-light-to-digital-converter-circuitpython-example.php) - In this article we connect a TSL2591 light-to-digital converter to a Raspberry Pi Pico running Circuitpython Sensor Information The TSL2591 is a very high sensitivity light-to-digital converter that transforms light intensity into a digital signal output capable of direct I2C interface. The device combines one broadband photodiode (visible plus infrared) and one infrared-responding photodiode on - [Raspberry Pi Pico and VCNL4010 proximity and ambient light sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-vcnl4010-proximity-and-ambient-light-sensor-circuitpython-example.php) - In this article we connect a VCNL4010 to a Raspberry Pi Pico running Circuitpython Sensor Information First lets look at some information about the sensor The VCNL4010 is a fully integrated proximity and ambient light sensor. Fully integrated means that the infrared emitter is included in the package. It has 16 bit resolution. It includes - [Raspberry Pi Pico and VEML7700 lux sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-veml7700-lux-sensor-circuitpython-example.php) - In this article we connect a VEML7700 lux sensor to a Raspberry Pi Pico running Circuitpython Sensor Information This is the sensor that I bought for this Lets look at some information regarding the sensor from the manufacturer The VEML7700 is a high accuracy ambient light digital 16-bit resolution sensor. It includes a high sensitive - [Raspberry Pi Pico and VL6180X module circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-vl6180x-module-circuitpython-example.php) - In this article we connect a VL6180X to a Raspberry Pi Pico running Circuitpython Sensor Information First lets look at some information about the sensor from the manufacturer The VL6180X is a ground-breaking technology allowing absolute distance to be measured independent of target reflectance. Instead of estimating the distance by measuring the amount of light reflected - [Raspberry Pi Pico and HTU31D Sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-htu31d-sensor-circuitpython-example.php) - In this article we connect a HTU31D to a Raspberry Pi Pico running Circuitpython Sensor Information The HTU31 is one of the smallest and most accurate humidity sensors on the market. Our precision engineering and 20+ years of experience in humidity and temperature combination sensors, enables us to provide fast response time, precision measurement, low - [Raspberry Pi Pico and AHT20 Sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-aht20-sensor-circuitpython-example.php) - In this article we connect a AHT20 Temperature & Humidity Sensor to a Raspberry Pi Pico running Circuitpython Sensor Information AHT20, as a new generation of temperature and humidity sensors, has established a new standard in size and intelligence. It is embedded in a double row flat no-lead package suitable for reflow soldering, with a - [Raspberry Pi Pico and DPS310 barometric pressure sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-dps310-barometric-pressure-sensor-circuitpython-example.php) - In this article we connect a DPS310 barometric pressure sensor to a Raspberry Pi Pico running Circuitpython Sensor Information The pressure sensor element is based on a capacitive sensing principle which guarantees high precision during temperature changes. The small package makes the DPS310 ideal for mobile applications and wearable devices.The internal signal processor converts the - [Raspberry Pi Pico and TLV493D magnetic sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-tlv493d-magnetic-sensor-circuitpython-example.php) - In this article we connect a TLV493D magnetic sensor to a Raspberry Pi Pico running Circuitpython Sensor Information The 3D magnetic sensor TLV493D offers accurate three-dimensional sensing with extremely low power consumption in a small 6-pin package. With its magnetic field detection in x, y, and z-direction the sensor reliably measures three dimensional, linear and - [The Rp2040 microcontroller](http://www.rp2040learning.com/articles/the-rp2040-microcontroller.php) - The RP2040 is the debut microcontroller from Raspberry Pi. With a large on-chip memory, symmetric dual-core processor complex, deterministic bus fabric, and rich peripheral set augmented with our unique Programmable I/O (PIO) subsystem, it provides professional users with unrivalled power and flexibility. With detailed documentation, a polished MicroPython port, and a UF2 bootloader in ROM, - [A miniature sized RP2040 development board](http://www.rp2040learning.com/hardware/a-miniature-sized-rp2040-development-board.php) - If you are looking for a small but still extremely useful Rp2040 based board then you may want to take a look at the Tiny 2040 a board which is under half the size of the Raspberry Pi Pico The board can be directly soldered onto a PCB or alternatively, you can use pin headers - [Raspberry Pi Pico and Pico-10DOF-IMU circuitpython example](http://www.rp2040learning.com/hardware/raspberry-pi-pico-and-pico-10dof-imu-circuitpython-example.php) - The Pico-10DOF-IMU is an IMU sensor expansion module which i sdesigned for the Raspberry Pi Pico. It has 2 sensors which provide gyroscope, accelerometer, magnetometer, baroceptor functionality and uses I2C bus for communication. When you combine this module with the Raspberry Pi Pico, it can be used to collect environment sensing data like temperature and - [Raspberry Pi Pico and VCNL4040 Proximity Sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-vcnl4040-proximity-sensor-circuitpython-example.php) - In this article we connect a VCNL4040 to a Raspberry Pi Pico running Circuitpython Sensor Information The VCNL4040 integrates a proximity sensor (PS), ambientlight sensor (ALS), and a high power IRED into one small package. It incorporates photodiodes, amplifiers, and analog to digital converting circuits into a single chip byCMOS process. The 16-bit high resolution - [Raspberry Pi Pico and PCT2075 temperature-to-digital converter circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-pct2075-temperature-to-digital-converter-circuitpython-example.php) - In this article we connect a PCT2075 temperature-to-digital converter to a Raspberry Pi Pico running Circuitpython Sensor Information The PCT2075 is a temperature-to-digital converter featuring ±1 °C accuracy over ‑25 °C to +100 °C range. It uses an on-chip band gap temperature sensor and Sigma-Delta A‑to‑D conversion technique with an overtemperature detection output that is a drop-in replacement - [Raspberry Pi Pico and SHT40 Sensor circuitpython example](http://www.rp2040learning.com/code/circuitpython/raspberry-pi-pico-and-sht40-sensor-circuitpython-example.php) - In this article we connect a SHT40 Temperature & Humidity Sensor to a Raspberry Pi Pico running Circuitpython Sensor Information This is the next generation of SHT sensor, in the past we have had examples for sensors such as the SHt31 and now we move on to the 4th generation of these First lets look - [A 1.3inch OLED Display Module for Raspberry Pi Pico](http://www.rp2040learning.com/hardware/a-1-3inch-oled-display-module-for-raspberry-pi-pico.php) - In this article we look at a 1.3inch OLED Display Module For the Raspberry Pi Pico from waveshare, it measures 64×128 Pixels, it uses SPI/I2C Interface. It is a 1.3" OLED Display Module which uses a SH1107 Driver and has a SPI or I2C bus option. The board also has 2 buttons that the user - [Pico Unicorn Pack for the Raspberry Pi Pico](http://www.rp2040learning.com/hardware/pico-unicorn-pack-for-the-raspberry-pi-pico.php) - In this article we look at the Pico Unicorn, this board provides 112 RGB leds which are arranged in a 16x7 matrix, there are also 4 buttons available on the board for your usage. The four switches are wired up as SW_A, SW_B, SW_X, and SW_Y. Programming the Pico Unicorn is possible via C/C++ and MicroPython with libraries and examples - [The Maker Pi RP2040 board](http://www.rp2040learning.com/hardware/the-maker-pi-rp2040-board.php) - The Maker Pi RP2040 board is aimed at robotics with features such as a 2-channel DC motor driver, 4 servo motor ports, 7 Grove I/O connectors, and lots of LEDs connected to the I/O pins which can be used for troubleshooting. The DC motor driver on the board is able to control two brushed DC - [Display a digital clock using a Pico Scroll Pack in Micropython](http://www.rp2040learning.com/code/micropython/display-a-digital-clock-using-a-pico-scroll-pack-in-micropython.php) - In this article we will display a digital clock using a Pico Scroll Pack Getting started The labels on the underside of Pico Scroll Pack will show you which way round to plug it into your Pico - just match up the USB port with the markings on the board. The easiest way to get - [The Pico Scroll Pack for the Raspberry Pi Pico](http://www.rp2040learning.com/hardware/the-pico-scroll-pack-for-the-raspberry-pi-pico.php) - In this article we look at the Pico Scroll Pack which 119 white LEDs in a tidy 17x7 matrix, as well with four tactile buttons for interacting with your Pico. The brightness of each LED is individually controllable an d its ideal for a text scroller Features 17x7 matrix of white LEDs Individual PWM brightness - [The Pico Display Pack for the Raspberry Pi Pico](http://www.rp2040learning.com/hardware/the-pico-display-pack-for-the-raspberry-pi-pico.php) - In this article we look at the Pico Display Pack which is an 18-bit capable 240x135 pixel IPS display. The pack also has four tactile buttons and an RGB LED that you can use as an indicator. Features 1.14” 240x135 pixel IPS LCD screen 4 x tactile buttons RGB LED Pre-soldered female headers for - [A PCF8574 expander example in micropython using a Raspberry Pi Pico](http://www.rp2040learning.com/articles/a-pcf8574-expander-example-in-micropython-using-a-raspberry-pi-pico.php) - In this example we connect a PCF8574 expander to a Raspberry Pi Pico Description This 8-bit input/output (I/O) expander for the two-line bidirectional bus (I2C) is designed for 2.5-V to 6-V VCC operation. The PCF8574 device provides general-purpose remote I/O expansion for most microcontroller families by way of the I2C interface [serial clock (SCL), serial - [A DS18b20 thermometer example in Micropython with a Raspberry Pi Pico](http://www.rp2040learning.com/articles/a-ds18b20-thermometer-example-in-micropython-with-a-raspberry-pi-pico.php) - In this article we connect a DS18b20 module to a Raspberry Pi Pico and we will use micropython to display the temperature returned from the module. I used the following DS18b20 module Specifications The following is from the datasheet The DS18B20 digital thermometer provides 9-bit to 12-bit Celsius temperature measurements and has an alarm function - [Raspberry Pi Pico and RGB LED example in Micropython](http://www.rp2040learning.com/articles/raspberry-pi-pico-and-rgb-led-example-in-micropython.php) - In this article we present our first micropython example on a Raspberry Pi Pico, rather than just use the default example to flash an LED, we will connect an RGB led up to. Tri-color LEDs contain three different LED emitters in one case. Each emitter is connected to a separate lead so they can be - [A Raspberry Pi Pico and Neopixel example in Micropython](http://www.rp2040learning.com/articles/a-raspberry-pi-pico-and-neopixel-example-in-micropython.php) - In this article we connect a WS2812 module to a Raspberry Pi Pico and we will use micropython to display various colours on the module. The WS2812 can also be known as neopixels, this is Adafruit's naming of the module I used the following WS2812 board, there are several different variations with different amount of - [A look at the Maker Pi Pico an all-in-one project board for the Raspberry Pi Pico](http://www.rp2040learning.com/hardware/a-look-at-the-maker-pi-pico-an-all-in-one-project-board-for-the-raspberry-pi-pico.php) - In this article we look at another Raspberry Pi Pico board, this one is the Cytron Maker Pi Pico. The Maker Pi Pico is a board for the Raspberry Pi Pico, it comes in 2 variants one of these has a Raspberry Pi Pico soldered and the other one you can add your own Pi - [What is the Raspberry Pi Pico](http://www.rp2040learning.com/hardware/what-is-the-raspberry-pi-pico.php) - This is not a SBC like a standard Raspberry Pi, you cannot run an operating system like linux on it. Think of an Arduino Nano from a size point of view but way more powerful and an Arduino from a development point of view You can experiment by adding hardware like lcds, sensors and other ## Pages - [Privacy Policy](http://www.rp2040learning.com/privacy-policy) - Privacy Policy for rp2040learning This privacy policy has been compiled to better serve those who are concerned with how their ‘Personally Identifiable Information’ (PII) is being used online. PII, as described in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or - [RP2040 boards](http://www.rp2040learning.com/rp2040-boards) - A lit of boards using the rp2040 Board name Manufacturer Header pins Debug connection USB connector Flash size GPIO pins ADC pins Buttons Other features Pico Raspberry Pi Foundation 40+3 via headers micro-USB 2MB 26 3 BOOTSEL Nano RP2040 Connect Arduino 30 via pads micro-USB 16MB 1 WiFi, Bluetooth, 9-axis IMU, microphone Tiny 2040 Pimoroni 8+3 via headers USB Type C ## Categories - [Hardware](http://www.rp2040learning.com/category/hardware) - [Articles](http://www.rp2040learning.com/category/articles) - [Code](http://www.rp2040learning.com/category/code) - [Micropython](http://www.rp2040learning.com/category/code/micropython) - [Circuitpython](http://www.rp2040learning.com/category/code/circuitpython) - [Arduino](http://www.rp2040learning.com/category/code/arduino) - [Sensor Kit](http://www.rp2040learning.com/category/sensor-kit) - [Tools](http://www.rp2040learning.com/category/tools) ## Tags - [pico](http://www.rp2040learning.com/tag/pico) - [raspberry pi](http://www.rp2040learning.com/tag/raspberry-pi) - [Maker Pi Pico](http://www.rp2040learning.com/tag/maker-pi-pico) - [Micropython](http://www.rp2040learning.com/tag/micropython) - [RGB LED](http://www.rp2040learning.com/tag/rgb-led) - [Raspberry Pi Pico](http://www.rp2040learning.com/tag/raspberry-pi-pico) - [Neopixel](http://www.rp2040learning.com/tag/neopixel) - [DS18b20](http://www.rp2040learning.com/tag/ds18b20) - [PCF8574](http://www.rp2040learning.com/tag/pcf8574) - [Pico Display Pack](http://www.rp2040learning.com/tag/pico-display-pack) - [Pico Scroll Pack](http://www.rp2040learning.com/tag/pico-scroll-pack) - [digital clock](http://www.rp2040learning.com/tag/digital-clock) - [RP2040](http://www.rp2040learning.com/tag/rp2040) - [OLED Display](http://www.rp2040learning.com/tag/oled-display) - [circuitpython](http://www.rp2040learning.com/tag/circuitpython) - [AHT20](http://www.rp2040learning.com/tag/aht20) - [SHT40](http://www.rp2040learning.com/tag/sht40) - [PCT2075](http://www.rp2040learning.com/tag/pct2075) - [DPS310](http://www.rp2040learning.com/tag/dps310) - [VCNL4040](http://www.rp2040learning.com/tag/vcnl4040) - [TLV493D](http://www.rp2040learning.com/tag/tlv493d) - [Tiny 2040](http://www.rp2040learning.com/tag/tiny-2040) - [HTU31D](http://www.rp2040learning.com/tag/htu31d) - [VL6180X](http://www.rp2040learning.com/tag/vl6180x) - [VEML7700](http://www.rp2040learning.com/tag/veml7700) - [VCNL4010](http://www.rp2040learning.com/tag/vcnl4010) - [TSL2591](http://www.rp2040learning.com/tag/tsl2591) - [MLX90614](http://www.rp2040learning.com/tag/mlx90614) - [ADS1015](http://www.rp2040learning.com/tag/ads1015) - [VEML6075](http://www.rp2040learning.com/tag/veml6075) - [VL53L0X](http://www.rp2040learning.com/tag/vl53l0x) - [Feather RP2040](http://www.rp2040learning.com/tag/feather-rp2040) - [temperature](http://www.rp2040learning.com/tag/temperature) - [I2C Scanner](http://www.rp2040learning.com/tag/i2c-scanner) - [TM1637](http://www.rp2040learning.com/tag/tm1637) - [PIR](http://www.rp2040learning.com/tag/pir) - [MCP9808](http://www.rp2040learning.com/tag/mcp9808) - [BME680](http://www.rp2040learning.com/tag/bme680) - [BMP388](http://www.rp2040learning.com/tag/bmp388) - [SHT31](http://www.rp2040learning.com/tag/sht31) - [MMA8451](http://www.rp2040learning.com/tag/mma8451) - [LIS3MDL](http://www.rp2040learning.com/tag/lis3mdl) - [BMP280](http://www.rp2040learning.com/tag/bmp280) - [MLX90393](http://www.rp2040learning.com/tag/mlx90393) - [RTC](http://www.rp2040learning.com/tag/rtc) - [ADXL345](http://www.rp2040learning.com/tag/adxl345) - [LSM6DSOX](http://www.rp2040learning.com/tag/lsm6dsox) - [SparkFun Pro Micro](http://www.rp2040learning.com/tag/sparkfun-pro-micro) - [LCD](http://www.rp2040learning.com/tag/lcd) - [Pico Explorer](http://www.rp2040learning.com/tag/pico-explorer) - [LTR390](http://www.rp2040learning.com/tag/ltr390) - [UV Light Sensor](http://www.rp2040learning.com/tag/uv-light-sensor) - [MSA301 accelerometer](http://www.rp2040learning.com/tag/msa301-accelerometer) - [Picomite](http://www.rp2040learning.com/tag/picomite) - [Pi Pico](http://www.rp2040learning.com/tag/pi-pico) - [Pico W](http://www.rp2040learning.com/tag/pico-w) - [network](http://www.rp2040learning.com/tag/network) - [wifi](http://www.rp2040learning.com/tag/wifi) - [Raspberry Pi Pico W](http://www.rp2040learning.com/tag/raspberry-pi-pico-w) - [led](http://www.rp2040learning.com/tag/led) - [web server](http://www.rp2040learning.com/tag/web-server) - [BME280](http://www.rp2040learning.com/tag/bme280) - [SGP40](http://www.rp2040learning.com/tag/sgp40) - [sensors](http://www.rp2040learning.com/tag/sensors) - [projects](http://www.rp2040learning.com/tag/projects) - [beginners](http://www.rp2040learning.com/tag/beginners) - [xiao](http://www.rp2040learning.com/tag/xiao) - [clock](http://www.rp2040learning.com/tag/clock) - [Ultrasonic ranging module](http://www.rp2040learning.com/tag/ultrasonic-ranging-module) - [HC-SR04](http://www.rp2040learning.com/tag/hc-sr04) - [dht11](http://www.rp2040learning.com/tag/dht11) - [sensor](http://www.rp2040learning.com/tag/sensor) - [mpu6050](http://www.rp2040learning.com/tag/mpu6050) - [bitcoin](http://www.rp2040learning.com/tag/bitcoin) - [ltr303](http://www.rp2040learning.com/tag/ltr303) - [ltr329](http://www.rp2040learning.com/tag/ltr329) - [MMC5603](http://www.rp2040learning.com/tag/mmc5603) - [stackyPi](http://www.rp2040learning.com/tag/stackypi) - [leds](http://www.rp2040learning.com/tag/leds) - [sensor kit](http://www.rp2040learning.com/tag/sensor-kit) - [Photoresistor](http://www.rp2040learning.com/tag/photoresistor) - [ldr](http://www.rp2040learning.com/tag/ldr) - [tilt](http://www.rp2040learning.com/tag/tilt) - [KY-033](http://www.rp2040learning.com/tag/ky-033) - [KY-032](http://www.rp2040learning.com/tag/ky-032) - [Buzzer](http://www.rp2040learning.com/tag/buzzer) - [reed switch](http://www.rp2040learning.com/tag/reed-switch) - [BMP384](http://www.rp2040learning.com/tag/bmp384) - [accelerometer](http://www.rp2040learning.com/tag/accelerometer) - [STTS22H](http://www.rp2040learning.com/tag/stts22h) - [ADXL313](http://www.rp2040learning.com/tag/adxl313) - [PicoMate](http://www.rp2040learning.com/tag/picomate) - [Sound Detection](http://www.rp2040learning.com/tag/sound-detection) - [RP2040 pinout](http://www.rp2040learning.com/tag/rp2040-pinout) - [Raspberry Pi Pico pinout](http://www.rp2040learning.com/tag/raspberry-pi-pico-pinout) - [RP2040 GPIO](http://www.rp2040learning.com/tag/rp2040-gpio) - [RP2040 ADC pins](http://www.rp2040learning.com/tag/rp2040-adc-pins) - [RP2040 PWM pins](http://www.rp2040learning.com/tag/rp2040-pwm-pins) - [RP2040 I2C pins](http://www.rp2040learning.com/tag/rp2040-i2c-pins) - [RP2040 SPI pins](http://www.rp2040learning.com/tag/rp2040-spi-pins) - [RP2040 PIO](http://www.rp2040learning.com/tag/rp2040-pio)