meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| raspberry:index [2026/07/07 19:15] – created vamsan | raspberry:index [2026/07/07 22:57] (current) – [Raspberry topics on lamaPLC] vamsan | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Raspberryes ====== | + | ====== |
| + | The RP2040 is a small, specially engineered silicon chip developed by Raspberry Pi to serve as the central controller for electronic devices. | ||
| + | |||
| + | The Raspberry Pi Pico is a compact green circuit board centered on the RP2040 chip, featuring a USB port, storage memory, and pin connections. This design allows for easy connection to a computer, enabling programming to control electronics such as sensors, lights, and motors. | ||
| + | |||
| + | ^Feature^RP2040 (The Chip)^Pi Pico (Standard)^Pi Pico H^Pi Pico W^Pi Pico WH^[[# | ||
| + | ^Manufacturer|Raspberry Pi|Raspberry Pi|Raspberry Pi|Raspberry Pi|Raspberry Pi|Waveshare|Waveshare| | ||
| + | ^Dimensions|7 × 7 mm|51 × 21 mm|51 × 21 mm|51 × 21 mm|51 × 21 mm|23.5 × 18 mm|51 × 21 mm| | ||
| + | ^Flash Storage|0 MB|2 MB|2 MB|2 MB|2 MB|2 MB|4 MB| | ||
| + | ^USB Connector|None|Micro-USB|Micro-USB|Micro-USB|Micro-USB|USB Type-C|USB Type-C| | ||
| + | ^Wireless (Wi-Fi/ | ||
| + | ^Wired Network|None|None|None|None|None|None|RJ45 Ethernet Port| | ||
| + | ^Header Pins|None|Unsoldered (Bare pads)|Pre-soldered|Unsoldered (Bare pads)|Pre-soldered|Unsoldered (Castellated)|Unsoldered| | ||
| + | ^Debug Connector|None|None|3-pin JST-SH|None|3-pin JST-SH|None|None| | ||
| + | ^Onboard Light|None|Green LED|Green LED|Green LED|Green LED|RGB NeoPixel|None| | ||
| + | ^Usable GPIO Pins|30|26|26|26|26|29|14| | ||
| + | ^Logic Voltage (GPIO)|3.3V|3.3V|3.3V|3.3V|3.3V|3.3V|3.3V| | ||
| + | ^Input Voltage (VBUS/ | ||
| + | ^Software Support|C/ | ||
| + | ^Network Libraries|None|None|None|network (Wi-Fi), bluetooth|network (Wi-Fi), bluetooth|None|wiznet / custom CH9120 drivers| | ||
| + | ^Primary Usage|Custom circuit design & commercial products|Learning code, DIY hobbies, basic automation|Prototyping without a soldering iron|Smart home, wireless IoT, web servers|Wireless IoT without a soldering iron|Tiny gadgets, wearable tech, macro pads|Hardwired network devices, industrial IoT| | ||
| + | |||
| + | ==== RP2040-Zero ==== | ||
| + | {{ : | ||
| + | The RP2040-Zero is an ultra-compact, | ||
| + | |||
| + | More information from the board: https:// | ||
| + | |||
| + | === RP2040-Zero Core Hardware Specifications === | ||
| + | |||
| + | * **Processor: | ||
| + | * **Memory:** 264 KB of internal SRAM and 2 MB of onboard Flash storage for code. | ||
| + | * **USB Interface: | ||
| + | * **Onboard LED:** Features a single WS2812 RGB LED (NeoPixel) that can be programmed to any color. | ||
| + | * **Pins:** Breaks out 29 GPIO pins (20 via outer pin headers, and 9 via solder pads on the back). | ||
| + | |||
| + | === 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): \\ | ||
| + | |||
| + | '' | ||
| + | |||
| + | Since the RP2040 chip has a versatile digital network matrix (pin multiplexing), | ||
| + | |||
| + | ^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/ | ||
| + | |||
| + | **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/ | ||
| + | * 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> | ||
| + | |||
| + | {{tag> | ||
| + | |||
| + | This page has been accessed for: Today: {{counter|today}}, | ||