Skip to content

Commit 19378bd

Browse files
authored
Merge branch 'Seeed-Studio:docusaurus-version' into docusaurus-version
2 parents 334b2d5 + 39557b8 commit 19378bd

File tree

2 files changed

+27
-13
lines changed

2 files changed

+27
-13
lines changed

docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_RP2350/XIAO-RP2350.md

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,14 @@ The XIAO RP2350, powered by the RP2350, supports MicroPython and the C/C++ SDK p
163163

164164
## Getting Started ▶️
165165

166-
:::info
167-
This page primarily focuses on MicroPython users. For those interested in learning SDK programming or advanced users, you can visit [XIAO RP2350 with C/C++ SDK](/xiao-rp2350-c-cpp-sdk) to learn about setting up the environment and running example code.
166+
:::note micropython is still not released
167+
As of August 9, 2024, the stable MicroPython firmware for the XIAO RP2350 is still awaiting release from Raspberry Pi.
168+
You could use the preview-compiled micropython firmware from https://micropython.org/download/RPI_PICO2/.
168169
:::
169170

171+
:::info attention
172+
This page primarily focuses on MicroPython users. For those interested in learning SDK programming or advanced users, you can visit [XIAO RP2350 with C/C++ SDK](/xiao-rp2350-c-cpp-sdk) to learn about setting up the environment and running example code.
173+
:::
170174

171175
If your board doesn't have the firmware or you want to upgrade to a new version of MicroPython, you'll need to upload the `UF2` bootloader. For this step, please visit the [XIAO RP2350 with MicroPython](/xiao-rp2350-micropython) for detailed instructions on getting started with MicroPython on the XIAO RP2350.
172176

@@ -198,6 +202,11 @@ If your device is ready with MicroPython, let's start with a simple project:
198202

199203
Getting the board to blink an LED is often the first program everyone runs. The same goes for the XIAO RP2350.
200204

205+
:::note
206+
The `USER LED`, the yellow LED on the XIAO RP2350, is connected to `GPIO25/D19` according to the schematic diagram.
207+
For all XIAO family boards, the `USER LED` will **light up** when set to a `low level` and **turn off** when set to a `high level`.
208+
:::
209+
201210
<Tabs>
202211
<TabItem value="python" label="MicroPython" default>
203212

@@ -209,19 +218,19 @@ from time import sleep # Import the sleep function from the time module
209218
led = Pin(25, Pin.OUT)
210219

211220
# Turn off the LED initially
212-
led.off() # Equivalent to led.value(0)
221+
led.value(1) # led.on() -> high level -> light off
213222
sleep(0.5) # Wait for 0.5 seconds
214223

215224
# Turn on the LED
216-
led.on() # Equivalent to led.value(1)
225+
led.value(0) # led.off() -> low level -> light on
217226
sleep(0.5) # Wait for 0.5 seconds
218227

219228
# Enter an infinite loop
220229
while True:
221230
# Toggle the LED state (on to off or off to on)
222231
led.toggle()
223232
# Print the current state of the LED
224-
print(f"LED {'ON' if led.value() == 1 else 'OFF'}")
233+
print(f"LED {'ON' if led.value() == 0 else 'OFF'}")
225234
sleep(0.5) # Wait for 0.5 seconds before the next toggle
226235
```
227236

@@ -243,9 +252,9 @@ Once you have copied the code into Thonny IDE, as shown in the image below, simp
243252

244253
### Battery & Power Management
245254

246-
Is it possible to read the battery voltage without extra components? Yes! We heard you. With more pins provided, the XIAO RP2350 makes it possible. For previous members of the XIAO family, such as the [XIAO ESP32C3](/XIAO_ESP32C3_Getting_Started/#check-the-battery-voltage), reading the battery voltage level required manually connecting to *A0* with a resistor.
255+
Is it possible to read the battery voltage without extra components? Yes, with the XIAO RP2350, it’s easier than ever. In previous XIAO family members, such as the [XIAO ESP32C3](/XIAO_ESP32C3_Getting_Started/#check-the-battery-voltage), reading the battery voltage required manually connecting to *A0* with a resistor.
247256

248-
However, with the XIAO RP2350, this is no longer necessary. You can now use the `A3/GPIO29` pin to directly read the battery voltage level, simplifying your design and development process. Additionally, for battery level reading, the `GPIO19` must be set to a high value, which is the enable pin for reading the battery level.
257+
But with the XIAO RP2350, this process is simplified. You can now directly use the `A3/GPIO29` pin to read the battery voltage level, streamlining your design and development. Just remember to set the `GPIO19` pin to high, as it’s necessary to enable battery level reading.
249258

250259
Follow along with this code snippet to read the battery voltage using the Pico SDK:
251260

@@ -328,12 +337,16 @@ int main() {
328337

329338
The XIAO RP2350 harnesses the power of the Raspberry Pi RP2350, leveraging a wealth of shared resources from the Raspberry Pi community. This opens up a world of possibilities for you to tailor your projects on this tiny board with boundless creativity. Below are essential resources and assets to help you get started.
330339

331-
<!-- - 📄 **[PDF]** [RP2350 datasheet](https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf) -->
340+
***Datasheets and Schematics***
341+
342+
- 📄 **[PDF]** [RP2350 Datasheet](https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf)
332343
- 📄 **[PDF]** [Seeed Studio XIAO RP2350 Schematic](https://files.seeedstudio.com/wiki/XIAO-RP2350/res/Seeed-Studio-XIAO-RP2350-v1.0.pdf)
333-
- 📄 **[XLSX]** [Seeed Studio XIAO RP2350 pinout sheet](https://files.seeedstudio.com/wiki/XIAO-RP2350/res/XIAO-RP2350-pinout-sheet.xlsx)
334-
- 🔗 **[Link]** [Raspberry Pi Documentation](https://www.raspberrypi.com/documentation/microcontrollers/rp2040.html)
335-
<!-- - 🗂 **[DXF]** [Seeed Studio XIAO RP2350 Dimension in DXF](https://files.seeedstudio.com/wiki/XIAO-RP2350/res/XIAO-RP2040-DXF.zip) -->
336-
<!-- - 📄 **[LBR]** [Seeed Studio XIAO RP2350 Eagle footprint](https://files.seeedstudio.com/wiki/XIAO-RP2350/res/Seeed-Studio-XIAO-RP2040-footprint-eagle.lbr) -->
344+
- 📄 **[XLSX]** [Seeed Studio XIAO RP2350 Pinout Sheet](https://files.seeedstudio.com/wiki/XIAO-RP2350/res/XIAO-RP2350-pinout-sheet.xlsx)
345+
<!-- - 📄 **[LBR]** [Seeed Studio XIAO RP2350 Eagle Footprint](https://files.seeedstudio.com/wiki/XIAO-RP2350/res/Seeed-Studio-XIAO-RP2040-footprint-eagle.lbr) -->
346+
347+
***Related Resources***
348+
349+
- 📄 **[PDF]** [Getting Started with Raspberry Pi Pico-series](https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf): A comprehensive guide to setting up and programming Raspberry Pi Pico boards, ideal for beginners looking to learn MicroPython or C/C++.
337350

338351
### Expansion and Applications
339352

@@ -348,6 +361,7 @@ As a member of the XIAO family, the XIAO RP2350 does the same. Of course, to mak
348361

349362
Furthermore, dive into the vibrant Raspberry Pi community to expand your knowledge and discover new project ideas. Leverage community-shared resources, forums, and tutorials to enhance your experience with the XIAO RP2350. In addition to the Seeed Studio Wiki, here are a few other recommended places to learn:
350363

364+
- **[Raspberry Pi Documentation](https://www.raspberrypi.com/documentation/microcontrollers/rp2040.html)**: Get reliable and up-to-date info on the RP2350.
351365
- **[Raspberry Pi Forums](https://www.raspberrypi.org/forums/)**: Engage with other enthusiasts, ask questions, and share your projects.
352366
- **[XIAO GitHub Repository](https://github.com/Seeed-Studio/OSHW-XIAO-Series)**: Explore the official XIAO repository for more centralized documentation and more interaction with our team, **Join Us!**
353367
- **[r/embedded on Reddit](https://www.reddit.com/r/embedded/)**: Join the embedded systems community, share insights, and discuss various topics.

docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Series_Introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ easily integrate XIAO into their own boards for rapid mass production.</font>
373373
<td align="center"><font size={"3"}>✅</font></td>
374374
</tr>
375375
<tr>
376-
<th>Buletooth</th>
376+
<th>Bluetooth</th>
377377
<td align="center"><font size={"3"}>❌</font></td>
378378
<td align="center"><font size={"3"}>❌</font></td>
379379
<td align="center"><font size={"3"}>✅</font></td>

0 commit comments

Comments
 (0)