meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
raspberry:index [2026/07/07 21:57] – [lamaPLC: Raspberryes] vamsanraspberry:index [2026/07/07 22:57] (current) – [Raspberry topics on lamaPLC] vamsan
Line 23: Line 23:
  
 ==== RP2040-Zero ==== ==== RP2040-Zero ====
 +{{ :raspberry:rp2040_zero_01.png?120|RP2040-Zero}}
 The RP2040-Zero is an ultra-compact, low-cost microcontroller development board designed by Waveshare. It is built around the Raspberry Pi RP2040 silicon chip, squeezing the processing power of a standard Raspberry Pi Pico into a tiny form factor roughly the size of a postage stamp. The RP2040-Zero is an ultra-compact, low-cost microcontroller development board designed by Waveshare. It is built around the Raspberry Pi RP2040 silicon chip, squeezing the processing power of a standard Raspberry Pi Pico into a tiny form factor roughly the size of a postage stamp.
  
-=== Core Hardware Specifications ===+More information from the board: https://www.waveshare.com/wiki/RP2040-Zero 
 + 
 +=== RP2040-Zero Core Hardware Specifications ===
  
   * **Processor:** Dual-core ARM Cortex-M0+ clocked at 133 MHz.   * **Processor:** Dual-core ARM Cortex-M0+ clocked at 133 MHz.
Line 33: Line 36:
   * **Pins:** Breaks out 29 GPIO pins (20 via outer pin headers, and 9 via solder pads on the back).   * **Pins:** Breaks out 29 GPIO pins (20 via outer pin headers, and 9 via solder pads on the back).
  
 +=== RP2040-Zero Pinout ===
 +
 +{{ :raspberry:rp2040_zero_02.png |RP2040-Zero Pinout}}
 +
 +=== RP2040-Zero I²C communication ===
 +
 +**Primary Hardware I²C Pin Pairs on RP2040-Zero**
 +
 +The main pins for hardware I²C on the Waveshare RP2040-Zero are **GP0 (SDA) / GP1 (SCL)** or GP4 (SDA) / GP5 (SCL): \\
 +
 +''i2c = machine.I2C(0, scl=machine.Pin(1), sda=machine.Pin(0))''
 +
 +Since the RP2040 chip has a versatile digital network matrix (pin multiplexing), nearly any GPIO pin can be configured for I²C. Nevertheless, the typical hardware blocks (I²C_0 and I²C_1) are most straightforwardly accessed with the configurations below.
 +
 +^Hardware Block^SDA (Data)^SCL (Clock)^Location on RP2040-Zero|
 +^I²C_0 (Standard)|GP0|GP1|Top-left edge pins.|
 +^I²C_1|GP4|GP5|Left edge, mid-bottom pins.|
 +^I²C_1 (Alternative)|GP26|GP27|Bottom edge pins (Shared with ADC0/ADC1).|
 +
 +**Key Electrical Requirements**
 +
 +  * Pull-up Resistors: The RP2040-Zero does not include onboard pull-up resistors for the I²C lines. You must add external 4.7 kΩ resistors connected to 3.3V unless your peripheral module (sensor/display) already includes them.
 +  * Voltage Limits: The RP2040 is strictly 3.3V logic compatible. Connecting a 5V I²C device directly to these pins without a logic level shifter can permanently damage the controller.
 +
 +===== Raspberry topics on lamaPLC =====
 +{{topic>raspberry}}
 +
 +{{tag>raspberry RP2040 RP2040_zero RP2040_eth Pi_Pico_H Pi_Pico_W Pi_Pico_WH raspberry_Pi_Pico i2c microcontroller}}
  
 +This page has been accessed for: Today: {{counter|today}}, Until now: {{counter|total}}