From 49ac5816ac29a36ef02e915a654c266dd1a2a1d5 Mon Sep 17 00:00:00 2001 From: KasunThushara <73091563+KasunThushara@users.noreply.github.com> Date: Thu, 12 Dec 2024 06:43:40 +0530 Subject: [PATCH 01/25] ADD : raspberry pi 4G module and GNSS --- .../send_text_massages_lte_cat_hat_for_rpi.md | 37 +++++++++++++++++++ sidebars.js | 8 ++++ 2 files changed, 45 insertions(+) create mode 100644 docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md new file mode 100644 index 000000000000..f67838e75e15 --- /dev/null +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md @@ -0,0 +1,37 @@ +--- +description: Explore the critical role of SMS sending and receiving in IT systems using Quectel 4G HAT. Learn how SMS ensures reliable communication, enhances system alerts, enables remote control, and supports IoT applications with seamless integration and scalability. Perfect for IT professionals and IoT enthusiasts. + +title: Sending and Receiving SMS Messages with Quectel 4G Raspberry pi Hat +keywords: + - Raspberry Pi Hat + - Getting started + - IIoT + - M2M + - SMS + - Edge Computing +image: https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/8-114993408-LTE-CAT-4-EG25-GL-4G-HAT-for-Raspberry-Pi-feature.jpg +slug: /send_recive_sms_raspberry_pi_4g_lte_hat +last_update: + date: 12/11/2024 + author: Kasun Thushara +--- + +## Introduction + +In rural and remote areas, where 4G coverage is sparse or unavailable, SMS communication through 2G networks becomes a vital tool for ensuring uninterrupted connectivity in IoT systems. **For wildlife preservation, this technology enables automated alert systems to monitor environmental conditions, track animal movements, and report critical events in real-time**. By leveraging 4G modules with SMS capabilities, devices can send automated alerts and receive instructions, ensuring that even in isolated regions, conservation efforts are not hindered by lack of modern network infrastructure. This integration of automation and communication helps enhance the effectiveness of monitoring systems in remote wildlife areas, offering a reliable solution for protection and research. + +## Sending an SMS Using QCOM Tool on Windows + + +### Step 1: Setup the Module + +- **Plug in the Module** + - Connect the module to your Windows PC via USB. Make sure the DIP switches are positioned in the correct order. In this case, all switches are set to 0, which means they are disabled. +- **Turn on the Module** + - Press the power button on the module. +- **Verify Communication Ports** + - [Ensure that the drivers are installed correctly](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/#for-windows). You should see the COM ports listed in the Windows Device Manager. + + + + diff --git a/sidebars.js b/sidebars.js index 0d890dfd81db..3a09dfb7e8a0 100644 --- a/sidebars.js +++ b/sidebars.js @@ -2683,6 +2683,14 @@ const sidebars = { collapsible: true, items: [ 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi', + + { + type: 'category', + label: 'Application', + items: [ + 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi', + ], + }, ], }, From 85089acd012ae4627e9e55290682997e8d3cb344 Mon Sep 17 00:00:00 2001 From: KasunThushara <73091563+KasunThushara@users.noreply.github.com> Date: Thu, 12 Dec 2024 21:39:06 +0530 Subject: [PATCH 02/25] update guides --- ...th_raspberry_pi_4g_hat_and_quectel_gnss.md | 275 ++++++++++++++ .../send_text_massages_lte_cat_hat_for_rpi.md | 353 ++++++++++++++++++ sidebars.js | 1 + 3 files changed, 629 insertions(+) create mode 100644 docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md new file mode 100644 index 000000000000..bf6280402d9a --- /dev/null +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md @@ -0,0 +1,275 @@ +--- +description: Enhance your IoT applications with our Raspberry Pi 4G LTE and GNSS HAT module. This integrated solution delivers robust cellular connectivity and accurate real-time positioning, ideal for tracking assets, monitoring remote environments, and optimizing field operations. + +title: Getting Started with Raspberry Pi 4G HAT GNSS Functionalities +keywords: + - Raspberry Pi Hat + - Getting started + - IIoT + - GNSS + - Edge Computing +image: https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/gnss_setup.png +slug: /raspberry_pi_4g_hat_gnss_functionlities +last_update: + date: 12/12/2024 + author: Kasun Thushara +--- + +## Introduction + +The integration of GNSS into the 4G LTE module enhances its capabilities, enabling precise real-time positioning and reliable communication for IoT applications. With support for multi-constellation GNSS systems, the module delivers accurate and dependable location tracking, even in remote or underserved areas. These features make it ideal for scenarios like asset tracking, fleet management, and real-time remote monitoring. +Paired with 4G LTE connectivity, this solution ensures seamless data transmission to cloud or control systems, enabling efficient management of critical use cases such as wildlife conservation, agriculture automation, and emergency response. This combination offers a scalable and cost-effective approach to location-based automation, suitable for industries requiring mobility and accessibility. + + +## Hardaware Preperation + +You need to connect your GNSS antenna. Furthermore, we will use a Python API to obtain the exact location in a human-readable and understandable format. Additionally, a 4G antenna should be installed. + + +
+ + + + + + + + + + + + + +
Raspberry Pi 5GPS Antenna
+
+ + +:::note +If the necessary drivers for communicating with AT commands are not installed, you will need to [install them](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/#software-preparation) +::: + +## The Setup +
+ +## Using GNSS with Raspberry Pi 4G LTE Hat or Windows Qcom Tool + +### Step 1: Turn on GNSS + +- Open Minicom on Raspberry Pi or Qcom Tool on Windows via USB. + +```bash +sudo minicom -D /dev/ttyUSB2 #for minicom on raspberry +``` + + +- Enter the following command to activate GNSS: + +```bash +AT+QGPS=1 +``` + +**Expected Response**: + +```bash +OK +``` +- This turns on the GNSS functionality. +- After activation, NMEA sentences will be output from the "usbnmea" port by default. + +### Step 2: Obtain Positioning Information + +- To retrieve the GNSS coordinates and other information, enter: + +```bash +AT+QGPSLOC=0 +``` +**Example Response**: + ++QGPSLOC: 063416.400,3143.2951N,11713.0655E,0.6,224.9,2,162.57,17.6,9.5,110620,07 OK + +- **Explanation of the Response**: + - 063416.400: UTC Time (HHMMSS.SSS format) + - 3143.2951N: Latitude (31°43.2951'N) + - 11713.0655E: Longitude (117°13.0655'E) + - 0.6: Horizontal Dilution of Precision (HDOP) + - 224.9: Altitude in meters + - 2: Position fix type (2 = 2D fix, 3 = 3D fix) + - Other parameters provide detailed GNSS data. + +### Step 3: Turn off GNSS +- After retrieving the required data, deactivate GNSS to save power by entering: + +```bash +AT+QGPSEND +``` +**Expected Response** + +```bash +OK +``` +- This command shuts down the GNSS module, conserving resources. + + +## Python Code Implementation + +### Step 1. Prepare the Directory and Virtual Environment + + +- Open a terminal on your Raspberry Pi. +- Create a new project folder and navigate into it: +```bash +mkdir GNSS_EX +cd GNSS_EX +``` +- Set up a Python virtual environment: +```bash +python3 -m venv --system-site-packages env +``` + +- Activate the virtual environment: + +```bash +source env/bin/activate +``` + +- Install the required libraries: + +```bash +pip install pyserial geopy +``` + +### Step 2. Prepare the Python Script + +- Open the **Thonny Python IDE** (pre-installed on Raspberry Pi). + +- Create a new file in Thonny and paste the provided code into the editor. + +- Update the usb_port parameter to match your Raspberry Pi's serial port for the 4G HAT. Typically, it might be `/dev/ttyUSB2` or `/dev/ttyUSB3`. Example: + +```bash +usb_port = "/dev/ttyUSB2" +``` +- Save the file as test_gnss.py in the **GNSS_EX** folder. + +```bash + +import serial +import time +from geopy.geocoders import Nominatim + + +def send_at_command(serial_port, command, delay=1): + """Send an AT command and read the response.""" + serial_port.write((command + '\r\n').encode()) + time.sleep(delay) + response = serial_port.read_all().decode() + print(f"Command: {command}\nResponse: {response}") + return response + + +def parse_coordinates(response): + """Parse coordinates from AT+QGPSLOC response.""" + if "+QGPSLOC:" in response: + try: + data = response.split(":")[1].strip().split(",") + # Extract raw coordinates (with N/S/E/W) + latitude_raw, longitude_raw = data[1], data[2] + + # Correct parsing by removing N/S/E/W at the end + latitude = convert_to_decimal(latitude_raw[:-1], 'N' in latitude_raw) + longitude = convert_to_decimal(longitude_raw[:-1], 'E' in longitude_raw) + + print(f"Latitude: {latitude}, Longitude: {longitude}") + return latitude, longitude + except (IndexError, ValueError) as e: + print(f"Error parsing coordinates: {e}") + return None, None + return None, None + + +def convert_to_decimal(coord, positive=True): + """Convert NMEA-style coordinate to decimal format.""" + # Split the coordinate into degrees and minutes + degrees = int(float(coord) // 100) + minutes = float(coord) % 100 + decimal = degrees + (minutes / 60) + + # If it's in the Southern or Western hemisphere, make it negative + return decimal if positive else -decimal + + +def get_location(lat, lon): + """Get a human-readable location using geopy.""" + geolocator = Nominatim(user_agent="gnss_locator") + try: + location = geolocator.reverse((lat, lon), exactly_one=True) + return location.address if location else "Location not found" + except Exception as e: + print(f"Geocoding error: {e}") + return "Error retrieving location" + + +def automate_gnss(port, baudrate=9600): + """Automate GNSS commands and fetch location.""" + try: + with serial.Serial(port, baudrate, timeout=1) as ser: + print("Serial port connected.") + + # Turn on GNSS + send_at_command(ser, "AT+QGPS=1", delay=2) + + # Get positioning information + response = send_at_command(ser, "AT+QGPSLOC=0", delay=2) + latitude, longitude = parse_coordinates(response) + + if latitude and longitude: + print(f"Coordinates: Latitude = {latitude}, Longitude = {longitude}") + location = get_location(latitude, longitude) + print(f"Location: {location}") + else: + print("Unable to retrieve coordinates.") + + # Turn off GNSS + send_at_command(ser, "AT+QGPSEND", delay=2) + print("GNSS process completed.") + + except serial.SerialException as e: + print(f"Error: {e}") + + +# Set your USB port (e.g., '/dev/ttyUSB0' or 'COM3' on Windows) +usb_port = "/dev/ttyUSB2" # Update based on your system +automate_gnss(usb_port) + + +``` + +### Step 3. Run the Script + +- Open a terminal, ensure you're in the project directory: +```bash +cd GNSS_EX +``` + +- Activate the virtual environment: + +```bash +source env/bin/activate +``` + +- Run the script using Python: +```bash +python test_gnss.py +``` +- The output + +
+ diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md index f67838e75e15..3497753329d1 100644 --- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md @@ -20,6 +20,29 @@ last_update: In rural and remote areas, where 4G coverage is sparse or unavailable, SMS communication through 2G networks becomes a vital tool for ensuring uninterrupted connectivity in IoT systems. **For wildlife preservation, this technology enables automated alert systems to monitor environmental conditions, track animal movements, and report critical events in real-time**. By leveraging 4G modules with SMS capabilities, devices can send automated alerts and receive instructions, ensuring that even in isolated regions, conservation efforts are not hindered by lack of modern network infrastructure. This integration of automation and communication helps enhance the effectiveness of monitoring systems in remote wildlife areas, offering a reliable solution for protection and research. +## Hardware Preparation +
+ + + + + + + + + + +
Raspberry Pi 5
+
+ +## The Setup + +
+ ## Sending an SMS Using QCOM Tool on Windows @@ -33,5 +56,335 @@ In rural and remote areas, where 4G coverage is sparse or unavailable, SMS commu - [Ensure that the drivers are installed correctly](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/#for-windows). You should see the COM ports listed in the Windows Device Manager. +### Step 2: Open the QCOM Interface + +- **Install and Launch QCOM** + - Download and install the **QCOM v1.6** software.(if you not) + - Launch the tool on your PC. +- **Configure the COM Port** + - Select the COM port associated with the module (e.g., COM3) in the QCOM interface. + - Set the baud rate to the recommended value (e.g., 9600). + + +
+ +
+ +### Step 3: Send an SMS + +**Test the Module Communication** + + - In the command input box, type the following command: + +```bash +AT +``` + - Click Send. + - The module should respond with: + +```bash +OK +``` + - This confirms that the module is ready. + +**Set SMS Mode** + - Type the following command to set the SMS mode to text: +```bash +AT+CMGF=1 +``` + - Click Send. + - The module should respond with: +```bash +OK +``` +**Check SMSC Number** + + - Query the SMSC (Short Message Service Center) number from the SIM card by typing: +```bash +AT+CSCA? +``` + - Click Send.The response should be something like: + +```bash ++CSCA: "+1234567890",145 +OK +``` + - If no SMSC is set, contact your service provider to obtain the correct number, and set it using: +```bash +AT+CSCA="+1234567890" +``` +**Compose and Send SMS** + +- Type the command to initiate an SMS: +```bash +AT+CMGS="+9876543210" +``` +- Replace +9876543210 with the recipient's phone number. + +- Click Send. + +- The QCOM interface will display: +```bash +> +``` +- Now, type your message (e.g., Hello!) in the text box. + +**Submit the SMS** +- Press Ctrl + Z or use the QCOM interface option to send the SMS. +- The module will respond with: +```bash ++CMGS: 25 +OK +``` +- This indicates that the SMS was sent successfully. + +
+ +
+ +### Step 4: Verify the SMS + +- Check the recipient’s phone to ensure the message has been received. + +## Sending an SMS Using Minicom on Raspberry Pi + +Assuming you have installed the drivers and booted the module correctly. If not, [please follow this guide](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/#raspberry-pi). + +**Step 1 :Open Minicom** + +:::note +If the necessary drivers for communicating with AT commands are not installed, you will need to [install them](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/#software-preparation) +::: + +```bash +sudo minicom -D /dev/ttyUSB2 +``` + +**Step 2: Follow the Commands in the Table** + +| **Command** | **Response** | **Explanation** | +|-----------------------|------------------------------|---------------------------------------------------| +| `ATE` | `OK` | Enable echo to see typed commands in Minicom. | +| `AT` | `OK` | Checks module readiness. | +| `AT+CMGF=1` | `OK` | Sets the SMS mode to Text Mode. | +| `AT+CSCA?` | `+CSCA: "+1234567890",145` | Queries the SMSC (Short Message Service Center) number from the SIM. | +| `AT+CMGS="+94712222803"` | `>` | Prepares the module to accept the message content for the specified recipient. | +| *(Type the message: `Hello!`)* | *(No response)* | Type the message content. | +| *(Press `Ctrl+Z`)* | `+CMGS: 25` `OK` | Sends the message. The module confirms with `+CMGS` and the message reference ID. | + +
+ +
+ +## Python Script for Send Massages + +```bash + +import serial +import time + +# Configure the serial port +SERIAL_PORT = "COM7" # Replace with your module's COM port (e.g., COM3 on Windows, /dev/ttyUSB2 on Linux) +BAUD_RATE = 9600 # Adjust to the baud rate of your GSM module + +# SMS details +SMSC_NUMBER = "+9477000000" # Replace with your carrier's SMSC number in international format +RECIPIENT_NUMBER = "+94712222813" # Replace with the recipient's phone number in international format +MESSAGE = "Hello, this is a test message from Python!" + +def send_at_command(command, expected_response="OK", timeout=3): + """Send an AT command to the GSM module and wait for a response.""" + ser.write((command + "\r").encode()) + time.sleep(timeout) + response = ser.read_all().decode() + print(f"Command: {command}\nResponse: {response}") + return expected_response in response + +try: + # Open the serial connection + ser = serial.Serial(SERIAL_PORT, BAUD_RATE, timeout=1) + time.sleep(2) # Allow the module to initialize + + # Test communication with the GSM module + if not send_at_command("AT"): + raise Exception("GSM module not responding. Check the connection.") + + # Set SMSC number (optional, only if needed) + if not send_at_command(f'AT+CSCA="{SMSC_NUMBER}"'): + raise Exception("Failed to set SMSC number.") + + # Set SMS to text mode + if not send_at_command("AT+CMGF=1"): + raise Exception("Failed to set SMS mode to text.") + + # Send SMS + if not send_at_command(f'AT+CMGS="{RECIPIENT_NUMBER}"', ">"): + raise Exception("Failed to initiate SMS sending.") + + # Provide the message content and send Ctrl+Z to finalize + ser.write((MESSAGE + "\x1A").encode()) # Ctrl+Z is sent as '\x1A' + time.sleep(5) # Wait for the module to send the SMS + response = ser.read_all().decode() + print(f"SMS Send Response: {response}") + + if "OK" in response: + print("SMS sent successfully!") + else: + print("Failed to send SMS. Check the module or command syntax.") + +except Exception as e: + print(f"Error: {e}") + +finally: + if ser.is_open: + ser.close() + + +``` + +## Receiving SMS Messages Using AT Commands on Windows Environment + +This explains how to receive and read SMS messages using AT commands step-by-step. Follow these commands in the order listed. + +Assuming you have installed the drivers and booted the module correctly. If not, [please follow this guide](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/#for-windows). +### Step 1: Set SMS Mode to Text + +Use the AT+CMGF=1 command to set the GSM module to Text Mode for easier SMS handling. + +**Command:** + +```bash +AT+CMGF=1 +Expected Response: +OK +``` + +### Step 2: Check Current Message Storage +Use the AT+CPMS? command to check the current message storage configuration. + +**Command:** +```bash +AT+CPMS? +``` + +**Expected Response:** ++CPMS: "SR",0,5,"MT",19,255,"MT",19,255 OK + +**Explanation:** +- `SR`: Status Report storage (e.g., SMS delivery reports). +- `MT`: Mobile Terminal memory (SIM and module storage). +In this example,"MT" contains 19 stored messages out of a capacity of 255. + +### Step 3: Switch Message Storage to "MT" +To access the messages in the Mobile Terminal memory, switch the storage to "MT" using AT+CPMS="MT". + +**Command:** + +```bash +AT+CPMS="MT" +``` +**Expected Response:** + +```bash ++CPMS: 19,255,19,255,19,255 OK +``` +**Explanation** + +- 19,255: 19 messages are currently stored, and the storage has a capacity for 255 messages. + +### Step 4: List All Stored Messages +Retrieve all messages stored in the selected memory using the AT+CMGL="ALL" command. + +**Command:** + +```bash +AT+CMGL="ALL" +``` +**Expected Response:** + +```bash ++CMGL: 1,"REC UNREAD","+1234567890","","20/12/05,10:44:12+32" Hello, this is a test message! +CMGL: 2,"REC READ","+9876543210","","20/12/05,10:45:12+32" Another test message! OK +``` +**Explanation:** + +- +CMGL: 1: Index of the first message. +- "REC UNREAD": Status of the message (Unread). +- "+1234567890": Sender's phone number. +- Hello, this is a test message!: Message content. + +### Step 5: Read a Specific Message + +To read a specific message by its index (e.g., index 1), use the AT+CMGR=|index| command. + +**Command:** +```bash +AT+CMGR=1 +``` +**Expected Response:** + +```bash ++CMGR: "REC UNREAD","+1234567890","","20/12/05,10:44:12+32" Hello, this is a test message! OK +``` +**Explanation:** + +- `REC UNREAD`: The message is marked as unread. +- `+1234567890`: The sender's phone number. +- Hello, this is a test message!: The message content. + +
+ +
+ +## Receiving SMS Messages Using Minicom on Raspberry Pi + +Assuming you have installed the drivers and booted the module correctly. If not, [please follow this guide](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/#raspberry-pi). + +## Step 1 :Open Minicom + +```bash +sudo minicom -D /dev/ttyUSB2 +``` + +## Step 2: Follow the Commands in the Table + +| **Step** | **Command** | **Response Details** | **Purpose/Explanation** | +|----------|-----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **1** | `ATE` | `OK` | Enables echo to see typed commands in the terminal. | +| **2** | `AT+CMGF=1` | `OK` | Sets the SMS mode to Text Mode for easier SMS handling. | +| **3** | `AT+CPMS?` | `+CPMS: "SR",0,5,"MT",19,255,"MT",19,255 OK` | Checks the current message storage. `"SR"`: Status Reports. `"MT"` (Mobile Terminal): Contains stored messages on the SIM and module. | +| **4** | `AT+CPMS="MT"` | `+CPMS: 19,255,19,255,19,255 OK` | Switches the message storage to `"MT"` (Mobile Terminal). `19,255`: Indicates 19 stored messages out of 255 available slots. | +| **5** | `AT+CMGL="ALL"` | `+CMGL: 1,"REC UNREAD","+1234567890","","20/12/05,10:44:12+32" Hello, this is a test message! +CMGL: 2,"REC READ","+9876543210","","20/12/05,10:45:12+32" Another test message! OK` | Retrieves all messages stored in the selected memory. `"REC UNREAD"`: Unread message. `+1234567890`: Sender's phone number. | +| **6** | `AT+CMGR=1` | `+CMGR: "REC UNREAD","+1234567890","","20/12/05,10:44:12+32" Hello, this is a test message! OK` | Reads a specific message by its index (e.g., `1`). `"REC UNREAD"`: Indicates the message is unread. `Hello, this is a test message!`: Message content. | + + +## Resources + +- **[Web Page]** [LTE EG25-G](https://www.quectel.com/product/lte-eg25-g/) + +- **[Web Page]** [AT Commands Manual V2.0](https://www.quectel.com/download/quectel_ec2xeg9xeg2x-gem05_series_at_commands_manual_v2-0-2/) + +## Tech Support & Product Discussion + +Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs. +
+ + +
+
+ + +
diff --git a/sidebars.js b/sidebars.js index 3a09dfb7e8a0..c99ad4fa7ce4 100644 --- a/sidebars.js +++ b/sidebars.js @@ -2689,6 +2689,7 @@ const sidebars = { label: 'Application', items: [ 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi', + 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss', ], }, ], From 0ac67e18b7e16c023e1558dcf66111d6d2a5f16d Mon Sep 17 00:00:00 2001 From: KasunThushara <73091563+KasunThushara@users.noreply.github.com> Date: Thu, 12 Dec 2024 21:40:10 +0530 Subject: [PATCH 03/25] add feature image --- .../Applications/send_text_massages_lte_cat_hat_for_rpi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md index 3497753329d1..943e1bd2fdfe 100644 --- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md @@ -9,7 +9,7 @@ keywords: - M2M - SMS - Edge Computing -image: https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/8-114993408-LTE-CAT-4-EG25-GL-4G-HAT-for-Raspberry-Pi-feature.jpg +image: https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/sms_setup.png slug: /send_recive_sms_raspberry_pi_4g_lte_hat last_update: date: 12/11/2024 From 48e05a5503669c1fe0920662485a501d41189a6b Mon Sep 17 00:00:00 2001 From: KasunThushara <73091563+KasunThushara@users.noreply.github.com> Date: Fri, 13 Dec 2024 10:05:02 +0530 Subject: [PATCH 04/25] ADD 4g hat mobile network rndis --- ...nternet_for_your_pi_rndis_4g_lte_set_up.md | 176 ++++++++++++++++++ sidebars.js | 1 + 2 files changed, 177 insertions(+) create mode 100644 docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mobile_internet_for_your_pi_rndis_4g_lte_set_up.md diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mobile_internet_for_your_pi_rndis_4g_lte_set_up.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mobile_internet_for_your_pi_rndis_4g_lte_set_up.md new file mode 100644 index 000000000000..d6c0596e2b1b --- /dev/null +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mobile_internet_for_your_pi_rndis_4g_lte_set_up.md @@ -0,0 +1,176 @@ +--- +description: Explore the world of RNDIS and 4G LTE on Raspberry Pi. This guide provides step-by-step instructions for configuring cellular connectivity, opening up a world of possibilities for your projects. + +title: Mobile Internet for Your Pi - RNDIS 4G LTE Setup + +keywords: + - Raspberry Pi Hat + - Getting started + - IIoT + - RNDIS + - Mobile Data +image: https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/power2.jpg +slug: /raspberry_pi_4g_hat_rndis_mobile_internet +last_update: + date: 12/13/2024 + author: Kasun Thushara +--- + +## Introduction + +**RNDIS (Remote Network Driver Interface Specification)** is a protocol that allows USB-connected devices, like the Quectel EG25-G 4G module, to act as network interfaces. By enabling RNDIS on a Raspberry Pi, the 4G module can provide cellular internet connectivity to the Pi. This setup is widely used in IoT applications, such as creating portable internet routers, IoT gateways, and remote monitoring systems. The Raspberry Pi communicates with the 4G module using AT commands to configure features like RNDIS mode, GNSS, and SMS. This approach simplifies internet access in scenarios where traditional wired or Wi-Fi connections are unavailable. + +## Hardware Preparation +
+ + + + + + + + + + +
Raspberry Pi 5
+
+ +## The Hardware Setup + +
+ +Setting up a Raspberry Pi for networking via RNDIS (Remote Network Driver Interface Specification) using **AT commands** involves using Quectel Module. + +:::note +If the necessary drivers for communicating with AT commands are not installed, you will need to [install them](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/#raspberry-pi). +::: + +## Network Configuration + +### Step 1 : Open Minicom on Raspberry Pi + +```bash +sudo minicom -D /dev/ttyUSB2 +AT +``` + +### Step 2 : Enable RNDIS Mode + +```bash +AT+QCFG="usbnet",1 +``` + +### Step 3: Verify the mode + +```bash +AT+QCFG="usbnet"? +``` +It should return **usbnet,1**, indicating RNDIS is active. + +### Step 4: Check Network Interfaces + +```bash +ifconfig +``` + +You should see a new interface, usb0 or eth1, which is the RNDIS network interface. In this case it is usb0. + +
+ +
+ + +### Step 5: To configure the network interface for internet access, use DHCP: + +```bash +sudo dhclient usb0 +sudo ip link set usb0 up +``` +
+ +
+ +### Step 6: Ensure that your routing is set up correctly for internet access: + +```bash +sudo ip route add default via 192.168.225.1 dev usb0 +``` +Change the gateway according to your usb0 IP. + +### Step 7: Add DNS entries for name resolution. + +**Edit the /etc/resolv.conf file to use Google's DNS:** + +```bash +sudo nano /etc/resolv.conf +``` + +### Step 8: Add these 2 lines and save + +```bash +nameserver 8.8.8.8 +nameserver 8.8.4.4 +``` + +
+ +
+ +### Step 9: Make DNS settings persistent + +```bash +sudo nano /etc/NetworkManager/NetworkManager.conf +``` + +### Step 10: Add on [main] and save + +```bash +dns=none +``` +
+ +
+ +### Step 11: Restart NetworkManager + +```bash +sudo systemctl restart NetworkManager +``` + +### Step 12: Test the Connection + +```bash +ping -I usb0 8.8.8.8 +nslookup google.com +``` +Once successfully connected to the mobile network using the 4G LTE HAT, the possibilities are truly limitless. You can establish **MQTT connections** for IoT messaging, communicate seamlessly with **cloud services** for data processing, or set up an **FTP server** for remote file transfers. This setup transforms your Raspberry Pi into a powerful, portable gateway for diverse applications in IoT, automation, and beyond. + +## Tech Support & Product Discussion + +Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs. + +
+ + +
+ +
+ + +
\ No newline at end of file diff --git a/sidebars.js b/sidebars.js index 4f23b1f7584a..88fddff394ae 100644 --- a/sidebars.js +++ b/sidebars.js @@ -2729,6 +2729,7 @@ const sidebars = { items: [ 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi', 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss', + 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mobile_internet_for_your_pi_rndis_4g_lte_set_up', ], }, ], From 3a5470a0307bfc6703c2eda555bd5e116d679ac0 Mon Sep 17 00:00:00 2001 From: KasunThushara <73091563+KasunThushara@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:55:10 +0530 Subject: [PATCH 05/25] Add product links --- ...ng_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md | 8 ++++++++ .../mobile_internet_for_your_pi_rndis_4g_lte_set_up.md | 9 +++++++++ .../send_text_massages_lte_cat_hat_for_rpi.md | 7 +++++++ .../Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md | 7 +++++++ 4 files changed, 31 insertions(+) diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md index bf6280402d9a..ccc54609dc5b 100644 --- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md @@ -26,15 +26,18 @@ Paired with 4G LTE connectivity, this solution ensures seamless data transmissio You need to connect your GNSS antenna. Furthermore, we will use a Python API to obtain the exact location in a human-readable and understandable format. Additionally, a 4G antenna should be installed. +## Hardware preparation
+ + +
Raspberry Pi 5 GPS AntennaRaspberry Pi 4G LTE CAT4 HAT
@@ -47,6 +50,11 @@ You need to connect your GNSS antenna. Furthermore, we will use a Python API to Get One Now 🖱️
diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mobile_internet_for_your_pi_rndis_4g_lte_set_up.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mobile_internet_for_your_pi_rndis_4g_lte_set_up.md index d6c0596e2b1b..319e8c33e9b6 100644 --- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mobile_internet_for_your_pi_rndis_4g_lte_set_up.md +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mobile_internet_for_your_pi_rndis_4g_lte_set_up.md @@ -21,13 +21,16 @@ last_update: **RNDIS (Remote Network Driver Interface Specification)** is a protocol that allows USB-connected devices, like the Quectel EG25-G 4G module, to act as network interfaces. By enabling RNDIS on a Raspberry Pi, the 4G module can provide cellular internet connectivity to the Pi. This setup is widely used in IoT applications, such as creating portable internet routers, IoT gateways, and remote monitoring systems. The Raspberry Pi communicates with the 4G module using AT commands to configure features like RNDIS mode, GNSS, and SMS. This approach simplifies internet access in scenarios where traditional wired or Wi-Fi connections are unavailable. ## Hardware Preparation +
+ + +
Raspberry Pi 5Raspberry Pi 4G LTE CAT4 HAT
@@ -35,10 +38,16 @@ last_update: Get One Now 🖱️
+ ## The Hardware Setup
diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md index 943e1bd2fdfe..1b75f4903719 100644 --- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md @@ -25,9 +25,11 @@ In rural and remote areas, where 4G coverage is sparse or unavailable, SMS commu + + +
Raspberry Pi 5Raspberry Pi 4G LTE CAT4 HAT
@@ -35,6 +37,11 @@ In rural and remote areas, where 4G coverage is sparse or unavailable, SMS commu Get One Now 🖱️
diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md index acc68d2115a2..f877f9d2e992 100644 --- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md @@ -31,10 +31,12 @@ At its core, the EG25-GL module ensures robust performance with global frequency Raspberry Pi 5 GPS Antenna + Raspberry Pi 4G LTE CAT4 HAT
+
@@ -47,6 +49,11 @@ At its core, the EG25-GL module ensures robust performance with global frequency Get One Now 🖱️
+
+ + Get One Now 🖱️ + +
From da4fba7b2155e989ea173d2ffd58c55af4095c61 Mon Sep 17 00:00:00 2001 From: nfs0619 <1447996181@qq.com> Date: Fri, 13 Dec 2024 14:37:53 +0800 Subject: [PATCH 06/25] Update homepage --- .../sensecraft_xiao_esp32s3_sscma.md | 2 +- ...tarted_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md | 2 +- ...peaker_2_Mics_Pi_HAT-Hardware-Revisions.md | 2 +- ...eeedStudio_Round_Display_Christmas_ball.md | 2 +- .../Easy_IoT/CyberDeck_Wio-Terminal.md | 2 +- src/utils/wiki.js | 96 +++++++++---------- 6 files changed, 53 insertions(+), 53 deletions(-) diff --git a/docs/Cloud_Chain/SenseCraft/SenseCraft_AI/Output/xiao_esp32s3_sense/sensecraft_xiao_esp32s3_sscma.md b/docs/Cloud_Chain/SenseCraft/SenseCraft_AI/Output/xiao_esp32s3_sense/sensecraft_xiao_esp32s3_sscma.md index 42a85ae55599..99dbd4500d77 100644 --- a/docs/Cloud_Chain/SenseCraft/SenseCraft_AI/Output/xiao_esp32s3_sense/sensecraft_xiao_esp32s3_sscma.md +++ b/docs/Cloud_Chain/SenseCraft/SenseCraft_AI/Output/xiao_esp32s3_sense/sensecraft_xiao_esp32s3_sscma.md @@ -1,7 +1,7 @@ --- description: This article describes how to use SSCMACore libraries on XIAO. title: Use SSCMACore library output model info -image: https://files.seeedstudio.com/wiki/SenseCraft_AI/img2/76.png +image: https://files.seeedstudio.com/wiki/SenseCraft_AI/img2/76.webp slug: /sensecraft_ai_sscmacore_library sidebar_position: 4 last_update: diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md index acc68d2115a2..6a5eb3d8c5d6 100644 --- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md @@ -9,7 +9,7 @@ keywords: - M2M - 4G LTE - Edge Computing -image: https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/1-114993408-LTE-CAT-4-EG25-GL-4G-HAT-for-Raspberry-Pi.jpg +image: https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/1-114993408-LTE-CAT-4-EG25-GL-4G-HAT-for-Raspberry-Pi.webp slug: /getting_started_raspberry_pi_4g_lte_hat last_update: date: 12/10/2024 diff --git a/docs/Sensor/ReSpeaker_2-Mics_Pi_HAT/ReSpeaker_2_Mics_Pi_HAT-Hardware-Revisions.md b/docs/Sensor/ReSpeaker_2-Mics_Pi_HAT/ReSpeaker_2_Mics_Pi_HAT-Hardware-Revisions.md index 0acdc60f1a7d..a7bc78b3082d 100644 --- a/docs/Sensor/ReSpeaker_2-Mics_Pi_HAT/ReSpeaker_2_Mics_Pi_HAT-Hardware-Revisions.md +++ b/docs/Sensor/ReSpeaker_2-Mics_Pi_HAT/ReSpeaker_2_Mics_Pi_HAT-Hardware-Revisions.md @@ -3,7 +3,7 @@ description: This article will show you how to distinguish between ReSpeaker 2-M title: How to Distinguish ReSpeaker 2-Mics Pi HAT Hardware Revisions keywords: - ReSpeaker_2-Mics_Pi_HAT -image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png +image: https://files.seeedstudio.com/wiki/ReSpeaker_2_Mics_Pi_HAT/v2/pcn_1.webp slug: /how-to-distinguish-respeaker_2-mics_pi_hat-hardware-revisions last_update: date: 12/11/2024 diff --git a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Expansion_board/Round-display-for-XIAO/Application/SeeedStudio_Round_Display_Christmas_ball.md b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Expansion_board/Round-display-for-XIAO/Application/SeeedStudio_Round_Display_Christmas_ball.md index 6842bf6403bc..5aaec6ca32ee 100644 --- a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Expansion_board/Round-display-for-XIAO/Application/SeeedStudio_Round_Display_Christmas_ball.md +++ b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Expansion_board/Round-display-for-XIAO/Application/SeeedStudio_Round_Display_Christmas_ball.md @@ -5,7 +5,7 @@ keywords: - XIAO - Round Dislay - Christmas -image: https://files.seeedstudio.com/wiki/Christmas_round_display/Christmas_ball.gif +image: https://files.seeedstudio.com/wiki/Christmas_round_display/Christmas_ball_1.gif slug: /round_display_christmas_ball last_update: date: 12/08/2024 diff --git a/docs/Sensor/Wio_Terminal/Application/Easy_IoT/CyberDeck_Wio-Terminal.md b/docs/Sensor/Wio_Terminal/Application/Easy_IoT/CyberDeck_Wio-Terminal.md index 35a0189f6737..737e8b968a85 100644 --- a/docs/Sensor/Wio_Terminal/Application/Easy_IoT/CyberDeck_Wio-Terminal.md +++ b/docs/Sensor/Wio_Terminal/Application/Easy_IoT/CyberDeck_Wio-Terminal.md @@ -1,6 +1,6 @@ --- title: Cyber Desk on Wio Terminal using Platform IO, powered by Cursor AI -image: https://files.seeedstudio.com/wiki/CyberDesk_Wio-Terminal/CyberDesk_Wio-Terminal.gif +image: https://files.seeedstudio.com/wiki/CyberDesk_Wio-Terminal/CyberDesk_Wio-Terminal_1.gif slug: /CyberDeck_Wio-Terminal last_update: date: 12/09/2024 diff --git a/src/utils/wiki.js b/src/utils/wiki.js index a6955ddb2201..426e88b791dd 100644 --- a/src/utils/wiki.js +++ b/src/utils/wiki.js @@ -1,86 +1,86 @@ const docList = [ [ { - "path": "/sensecraft_ai_output_grove_visionai", - "image": "https://files.seeedstudio.com/wiki/SenseCraft_AI/img2/54.webp", - "title": "Configuring Model Output on SenseCraft AI for Grove Vision AI V2", - "date": "12/04/2024" + "path": "/sensecraft_ai_sscmacore_library", + "image": "https://files.seeedstudio.com/wiki/SenseCraft_AI/img2/76.webp", + "title": "Configuring Model Output on SenseCraft AI for XIAO ESP32S3 Sense using SSCMACore Library", + "date": "12/12/2024" }, { - "path": "/sensecraft_ai_output_gpio_xiao", - "image": "https://files.seeedstudio.com/wiki/SenseCraft_AI/img2/xiaoesp32s3sense.webp", - "title": "Configuring Model Output and GPIO on SenseCraft AI for XIAO ESP32S3 Sense", - "date": "12/04/2024" + "path": "/how-to-distinguish-respeaker_2-mics_pi_hat-hardware-revisions", + "image": "https://files.seeedstudio.com/wiki/ReSpeaker_2_Mics_Pi_HAT/v2/pcn_1.webp", + "title": "How to Distinguish ReSpeaker 2-Mics Pi HAT Hardware Revisions", + "date": "12/11/2024" } ], [ { - "path": "/reComputer_A608_Flash_System", - "image": "https://files.seeedstudio.com/wiki/reComputer-Jetson/A608/A608CB.webp", - "title": "Flash JetPack OS to A608 Carrier Board (NVIDIA Jetson Orin NX/Nano supported)", - "date": "12/4/2024" + "path": "/respeaker_2_mics_pi_hat_raspberry_v2", + "image": "https://files.seeedstudio.com/wiki/ReSpeaker_2_Mics_Pi_HAT/social-image.webp", + "title": "Getting Started with Raspberry Pi", + "date": "12/11/2024" }, { - "path": "/SenseCAP_T1000_Tracker_AWS", - "image": "https://files.seeedstudio.com/wiki/SenseCAP/Tracker/t1000.webp", - "title": "Using AWS Cloud Services for SenseCAP T1000 Tracker", - "date": "12/4/2024" + "path": "/getting_started_raspberry_pi_4g_lte_hat", + "image": "https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/1-114993408-LTE-CAT-4-EG25-GL-4G-HAT-for-Raspberry-Pi.webp", + "title": "Getting Started with the Raspberry Pi 4G LTE HAT", + "date": "12/10/2024" } ], [ { - "path": "/sensecraft_ai_pretrained_models_for_watcher", - "image": "https://files.seeedstudio.com/wiki/SenseCraft_AI/img2/32.webp", - "title": "SenseCraft AI for SenseCAP Watcher", - "date": "12/03/2024" + "path": "/CyberDeck_Wio-Terminal", + "image": "https://files.seeedstudio.com/wiki/CyberDesk_Wio-Terminal/CyberDesk_Wio-Terminal_1.gif", + "title": "Wio Terminal PC Monitor Tutorial - Cyberpunk Style", + "date": "12/09/2024" }, { - "path": "/sensecraft_ai_training_classification", - "image": "https://files.seeedstudio.com/wiki/SenseCraft_AI/img2/34.webp", - "title": "Type of training - Classification", - "date": "12/03/2024" + "path": "/round_display_christmas_ball", + "image": "https://files.seeedstudio.com/wiki/Christmas_round_display/Christmas_ball_1.gif", + "title": "Seeed Studio Round Display for XIAO Christmas Ball", + "date": "12/08/2024" } ], [ { - "path": "/rtl8822ce_wireless_module_for_jetson", - "image": "https://files.seeedstudio.com/wiki/reComputer-Jetson/wifi/rtl8822ce.webp", - "title": "RTL8822CE Wireless Module for Jetson", - "date": "12/3/2024" + "path": "/sensecraft_ai_output_grove_visionai", + "image": "https://files.seeedstudio.com/wiki/SenseCraft_AI/img2/54.webp", + "title": "Configuring Model Output on SenseCraft AI for Grove Vision AI V2", + "date": "12/04/2024" }, { - "path": "/sensecraft_ai_pretrained_models_for_grove_visionai_v2", - "image": "https://files.seeedstudio.com/wiki/SenseCraft_AI/img2/23.webp", - "title": "Using a model for Grove Vision AI V2", - "date": "12/02/2024" + "path": "/sensecraft_ai_output_gpio_xiao", + "image": "https://files.seeedstudio.com/wiki/SenseCraft_AI/img2/xiaoesp32s3sense.webp", + "title": "Configuring Model Output and GPIO on SenseCraft AI for XIAO ESP32S3 Sense", + "date": "12/04/2024" } ], [ { - "path": "/sensecraft_ai_pretrained_models_for_xiao", - "image": "https://files.seeedstudio.com/wiki/SenseCraft_AI/img2/14.webp", - "title": "Using a model for XIAO ESP32S3 Sense", - "date": "12/02/2024" + "path": "/reComputer_A608_Flash_System", + "image": "https://files.seeedstudio.com/wiki/reComputer-Jetson/A608/A608CB.webp", + "title": "Flash JetPack OS to A608 Carrier Board (NVIDIA Jetson Orin NX/Nano supported)", + "date": "12/4/2024" }, { - "path": "/relay_add_on_module_for_xiao", - "image": "https://files.seeedstudio.com/wiki/XIAO/Gadgets/relay_module_for_xiao/relay_module.webp", - "title": "Relay Add On Module For XIAO", - "date": "12/02/2024" + "path": "/traffic_saving_config", + "image": "https://files.seeedstudio.com/wiki/SenseCAP/Tracker/tracker.webp", + "title": "Low Data Consumption Mode Config(for 4G version)", + "date": "12/4/2024" } ], [ { - "path": "/tinyml_course_Image_classification_project", - "image": "https://files.seeedstudio.com/wiki/SeeedStudio-XIAO-ESP32S3/img/image_classification.webp", - "title": "XIAO ESP32S3-Sense Image Classification", - "date": "11/29/2024" + "path": "/SenseCAP_T1000_Tracker_AWS", + "image": "https://files.seeedstudio.com/wiki/SenseCAP/Tracker/t1000.webp", + "title": "Using AWS Cloud Services for SenseCAP T1000 Tracker", + "date": "12/4/2024" }, { - "path": "/XIAO_BLE", - "image": "https://files.seeedstudio.com/wiki/XIAO-BLE/102010469_Front-14.jpg", - "title": "Getting Started with Seeed Studio XIAO nRF52840 Series", - "date": "2024-11-28T03:15:24.000Z" + "path": "/sensecraft_ai_pretrained_models_for_watcher", + "image": "https://files.seeedstudio.com/wiki/SenseCraft_AI/img2/32.webp", + "title": "for SenseCAP Watcher", + "date": "12/03/2024" } ] ]; From 42804ac0eb7a36a459ca329112343abfb5ea80ec Mon Sep 17 00:00:00 2001 From: lidayu <2334721338@qq.com> Date: Fri, 13 Dec 2024 14:52:31 +0800 Subject: [PATCH 07/25] Delete docs/Edge/reCamera/reCamera_model_conversion.md --- docs/Edge/reCamera/reCamera_model_conversion.md | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 docs/Edge/reCamera/reCamera_model_conversion.md diff --git a/docs/Edge/reCamera/reCamera_model_conversion.md b/docs/Edge/reCamera/reCamera_model_conversion.md deleted file mode 100644 index b5e1e5d9a232..000000000000 --- a/docs/Edge/reCamera/reCamera_model_conversion.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -description: Model Conversion -title: Model Conversion Guide -keywords: - - Edge - - reCamera -image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png -slug: /recamera_model_conversion -last_update: - date: 11/11/2024 - author: Parker Hu ---- -# WIP... \ No newline at end of file From f0f6192930c910cd1b649a56e9f63385c8c37db3 Mon Sep 17 00:00:00 2001 From: lidayu <2334721338@qq.com> Date: Fri, 13 Dec 2024 14:53:15 +0800 Subject: [PATCH 08/25] Add files via upload --- .../reCamera/reCamera_model_conversion.md | 675 ++++++++++++++++++ 1 file changed, 675 insertions(+) create mode 100644 docs/Edge/reCamera/reCamera_model_conversion.md diff --git a/docs/Edge/reCamera/reCamera_model_conversion.md b/docs/Edge/reCamera/reCamera_model_conversion.md new file mode 100644 index 000000000000..19c33d7b5eba --- /dev/null +++ b/docs/Edge/reCamera/reCamera_model_conversion.md @@ -0,0 +1,675 @@ +--- +description: Convert and Quantize AI Models for reCamera +title: Model Conversion Guide +keywords: + - Edge + - reCamera +image: https://files.seeedstudio.com/wiki/reCamera/013.jpg +slug: /recamera_model_conversion +last_update: + date: 10/18/2024 + author: Dayu Li +--- + +# Convert and Quantize AI Models + +
+ +The AI model conversion tool of **reCamera** currently supports frameworks such as `PyTorch`, `ONNX`, `TFLite`, and `Caffe`. Models from other frameworks need to be converted into `ONNX` format. For instructions on how to convert models from other deep learning architectures to `ONNX`, you can refer to the official ONNX website: https://github.com/onnx/tutorials. + +The flow diagram for deploying AI models on **reCamera** is shown below. + +
+This article introduces how to use reCamera's AI model conversion tool through simple examples. + +## Set up the working environment + +### Method 1: Local Installation + +First check whether the current system environment meets: + +- [Ubuntu 22.04](#jump1) +- [Python 3.10](#jump2) + +If it is not satisfied or the installation fails, choose `Method 2` to install the model conversion tool. + +Install `tpu_mlir` using `pip`: + +```bash +pip install tpu_mlir +``` + +The dependencies required by `tpu_mlir` vary when handling models from different frameworks. For model files generated by ONNX or Torch, install the additional dependencies using the following command: + +```bash +pip install tpu_mlir[onnx] +pip install tpu_mlir[torch] +``` + +Currently, five configurations are supported: onnx, torch, tensorflow, caffe, and paddle. Or you can use the following command to install all dependencies: + +```bash +pip install tpu_mlir[all] +``` + +When the tpu_mlir-{version}.whl file already exists locally, you can also use the following command to install it: + +```bash +pip install path/to/tpu_mlir-{version}.whl[all] +``` + +### Method 2: Installation in a Docker Image (for Incompatible Local Environments) + +Download the required image from [DockerHub (click here)](https://hub.docker.com/r/sophgo/tpuc_dev) and enter a command similar to the following: + +```bash +docker pull sophgo/tpuc_dev:v3.1 +``` + +If you are using Docker for the first time, you can run the following commands for installation and configuration (only needed for the first-time setup): + +```bash +sudo apt install docker.io +sudo systemctl start docker +sudo systemctl enable docker +sudo groupadd docker +sudo usermod -aG docker $USER +newgrp docker +``` + +Make sure the installation package is in the current directory, and then create a container in the current directory as follows: + +```bash +docker run --privileged --name MyName -v $PWD:/workspace -it sophgo/tpuc_dev:v3.1 +``` + +** Replace `"MyName"` with the desired name for your container* + +Use `pip` to install `tpu_mlir` in the /workspace directory inside the Docker container, just like in `Method 1`: + +```bash +pip install tpu_mlir[all] +``` + +## Convert and Quantize AI Models to the cvimodel Format + +reCamera has already adapted the YOLO series for local inference. Therefore, this section uses `yolo11n.onnx` as an example to demonstrate how to convert an ONNX model to the `cvimodel`. +**The `cvimodel` is the AI model format used for local inference on reCamera.** + +The method for converting and quantizing PyTorch, TFLite, and Caffe models is the same as that in this section. + +Here is the download link for yolo11n.onnx. You can click the link to download the model and copy it to your workspace for further use. + +Download the model: +[Download yolo11n.onnx](https://seeedstudio88-my.sharepoint.com/:u:/g/personal/youjiang_yu_seeedstudio88_onmicrosoft_com/ESj2_zJM4oxOiv62Hh1XKu8BA9gWPQy6zAGSXWd4VL--9w?e=tagPRA) + +After downloading the model, please place it into your `workspace` for the next steps. + +### Preparing the Workspace + +Create the `model_yolo11n` directory at the same level as `tpu-mlir`, and place both the model file and image files inside the `model_yolo11n` directory. The image files are usually part of the model’s training dataset, used for calibration during the subsequent quantization process. +Enter the following command in the terminal: + +```bash +git clone https://github.com/sophgo/tpu-mlir.git +cd tpu-mlir +source ./envsetup.sh +./build.sh +mkdir model_yolo11n && cd model_yolo11n +cp -rf ${REGRESSION_PATH}/dataset/COCO2017 . +cp -rf ${REGRESSION_PATH}/image . +mkdir workspace && cd workspace +``` + +### ONNX to MLIR + +The conversion from ONNX to `MLIR` is an intermediate step in the model transformation process. Before obtaining a model suitable for inference on reCamera, you need to first convert the ONNX model to the `MLIR` format. This `MLIR` file serves as a bridge to generate the final model optimized for reCamera's inference engine. + +If the input is image, we need to know the preprocessing of the model before transferring it. If +the model uses preprocessed npz files as input, no preprocessing needs to be considered. The +preprocessing process is formulated as follows ( `x` represents the input): + +
+ +y = (x − mean) × scale + +
+ +The normalization range of yolo11 is **[0, 1]**, and the image of the official yolo11 is RGB. Each value will be multiplied by **1/255**, respectively +corresponding to **0.0, 0.0, 0.0** and **0.0039216, 0.0039216, 0.0039216** when it is converted into `mean` +and `scale`. The parameters for `mean` and `scale` differ depending on the model, as they are determined by the normalization method used for each specific model. + +You can refer to the following model conversion command in terminal: + +```bash +model_transform \ + --model_name yolo11n \ + --model_def yolo11n.onnx \ + --input_shapes "[[1,3,640,640]]" \ + --mean "0.0,0.0,0.0" \ + --scale "0.0039216,0.0039216,0.0039216" \ + --keep_aspect_ratio \ + --pixel_format rgb \ + --output_names "/model.23/cv2.0/cv2.0.2/Conv_output_0,/model.23/cv3.0/cv3.0.2/Conv_output_0,/model.23/cv2.1/cv2.1.2/Conv_output_0,/model.23/cv3.1/cv3.1.2/Conv_output_0,/model.23/cv2.2/cv2.2.2/Conv_output_0,/model.23/cv3.2/cv3.2.2/Conv_output_0" \ + --test_input ../image/dog.jpg \ + --test_result yolo11n_top_outputs.npz \ + --mlir yolo11n.mlir +``` + +After converting to an `mlir` file, a `${model_name}_in_f32.npz` file will be generated, which +is the input file for the subsequent models. + +Regarding the selection of the `--output_names` parameter, the YOLO11 model conversion in this example does not choose the final output named output0. Instead, it selects the six outputs before the model's head as the parameter. You can import the `ONNX` file into [Netron](https://netron.app/) to view the model structure. +
+ +The operators in the YOLO's `head` have very low accuracy after **INT8** quantization. If `output0` at the very end were chosen as the parameter, mixed-precision quantization would be required. + +**Since the subsequent sections of this article will provide examples of mixed-precision quantization, and this section uses a single quantization precision for the example**, the outputs before the `head` are chosen as parameters. By visualizing the ONNX model in [Netron](https://netron.app/), you can see the positions of the six output names: +
+ +
+
+ +
+
+ +
+ + +Description of Main Parameters for `model_transform`: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Parameter NameRequired?Description
model_nameYesSpecify the model name.
model_defYesSpecify the model definition file, such as '.onnx', '.tflite', or '.prototxt'.
input_shapesNoSpecify the input shape, e.g., [[1,3,640,640]]. A two-dimensional array that can support multiple inputs.
input_typesNoSpecify the input types, such as int32. Use commas to separate multiple inputs. Default is float32.
resize_dimsNoSpecify the dimensions to which the original image should be resized. If not specified, it will be resized to the model's input size.
keep_aspect_ratioNoWhether to keep the aspect ratio when resizing. Default is false; if true, padding with zeros will be used for missing areas.
meanNoMean value for each channel of the image. Default is 0,0,0,0.
scaleNoScale value for each channel of the image. Default is 1.0,1.0,1.0.
pixel_formatNoImage type, which can be one of 'rgb', 'bgr', 'gray', or 'rgbd'. Default is 'bgr'.
channel_formatNoChannel type for image input, which can be 'nhwc' or 'nchw'. For non-image inputs, use 'none'. Default is 'nchw'.
output_namesNoSpecify output names. If not specified, the model's default output names are used.
test_inputNoSpecify an input file for validation, such as an image, npy, or npz file. If not specified, no accuracy validation is performed.
test_resultNoSpecify the output file for the validation result.
exceptsNoSpecify network layers to exclude from validation, separated by commas.
mlirYesSpecify the output MLIR file name and path.
+ +### MLIR to F16 cvimodel + +If you want to convert from `mlir` to F16-precision `cvimodel`, you can enter the following reference command in the terminal: + +```bash +model_deploy \ + --mlir yolo11n.mlir \ + --quantize F16 \ + --processor cv181x \ + --test_input yolo11n_in_f32.npz \ + --test_reference yolo11n_top_outputs.npz \ + --fuse_preprocess \ + --tolerance 0.99,0.99 \ + --model yolo11n_1684x_f16.cvimodel +``` + +After a successful conversion, you will obtain an FP16-precision `cvimodel` file that can be directly used for inference. If you need an **INT8-precision** or **mixed-precision** `cvimodel` file, please refer to the content in the later sections of the following article. + +Description of Main Parameters for `model_deploy`: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Parameter NameRequired?Description
mlirYesMLIR file
quantizeYesQuantization type (F32/F16/BF16/INT8)
processorYesIt depends on the platform being used. The 2024 version of reCamera selects "cv181x" as a parameter.
calibration_tableNoThe calibration table path. Required when it is INT8 quantization
toleranceNoTolerance for the minimum similarity between MLIR quantized and MLIR fp32 inference results
test_inputNoThe input file for validation, which can be an image, npy or npz. No validation will be carried out if it is not specified
test_referenceNoReference data for validating mlir tolerance (in npz format). It is the result of each operator
compare_allNoCompare all tensors, if set
exceptsNoNames of network layers that need to be excluded from validation. Separated by comma
op_divideNoTry to split the larger op into multiple smaller op to achieve the purpose of ion memory saving, suitable for a few specific models
modelYesName of output model file (including path)
skip_validationNoSkip cvimodel correctness verification to boost deployment efficiency; cvimodel verification is on by default
+ +After compilation, a file named `yolo11n_1684x_f16.cvimodel` is generated. The quantized model may have a slight loss in accuracy, but it will be more lightweight and have faster inference speed. + +### MLIR to INT8 cvimodel + +#### Calibration table generation + +Before converting to the **INT8** model, **you need to run calibration to get the calibration table.** +The number of input data is about 100 to 1000 according to the situation. +Then use the calibration table to generate a symmetric or asymmetric `cvimodel`. It is gen- +erally not recommended to use the asymmetric one if the symmetric one already meets the +requirements, because the performance of the asymmetric model will be slightly worse than +the symmetric model. +Here is an example of the existing 100 images from `COCO2017` to perform calibration: + +```bash +run_calibration \ + yolo11n.mlir \ + --dataset ../COCO2017 \ + --input_num 100 \ + -o yolo11n_calib_table +``` + +After running the command above, a file named `yolo11n_cali_table` will be generated, which +is used as the input file for subsequent compilation of the **INT8** model. + +Description of Main Parameters for `run_calibration`: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterRequired?Description
N/AYesSpecify the MLIR file
datasetNoSpecify the input sample directory, where the path contains corresponding images, npz, or npy files
data_listNoSpecify the sample list; either dataset or data_list must be selected
input_numNoSpecify the number of calibration samples; if set to 0, all samples are used
tune_numNoSpecify the number of tuning samples; default is 10
histogram_bin_numNoNumber of bins for the histogram; default is 2048
oYesOutput the calibration table file
+ +#### Compile to INT8 symmetric quantized cvimodel + +After obtaining the `yolo11n_cali_table` file, run the following command to convert it into an **INT8** symmetric quantized model: + +```bash +model_deploy \ + --mlir yolo11n.mlir \ + --quantize INT8 \ + --quant_input \ + --processor cv181x \ + --calibration_table yolo11n_calib_table \ + --test_input ../image/dog.jpg \ + --test_reference yolo11n_top_outputs.npz \ + --customization_format RGB_PACKED \ + --fuse_preprocess \ + --aligned_input \ + --model yolo11n_1684x_int8_sym.cvimodel +``` + +After compilation, a file named `yolo11n_1684x_int8_sym.cvimodel` is generated. The model quantized to **INT8** is more lightweight and has faster inference speed compared to models quantized to **F16/BF16**. + +### Quick Test + +You can use Node-RED on reCamera for visualization to quickly verify the converted `yolo11n_1684x_int8_sym.cvimodel`. Simply set up a few nodes, as shown in the example video below: + +
+
+ +
+ + Step-by-Step + +
+ +
+ +- **Step 1.** Connect a USB Micro-B cable between USB2.0 DEVICE port and the ubuntu host PC. +- **Step 2.** Use a pin and insert into the RECOVERY hole to press recovery button and while holding this. +- **Step 3.** Connect the power supply. +- **Step 4.** Release the recovery button. + +
+ +On the Linux host PC, open a Terminal window and enter the command `lsusb`. If the returned content has one of the following outputs according to the Jetson SoM you use, then the board is in force recovery mode. +- For Orin NX 16GB: 0955:7323 NVidia Corp +- For Orin NX 8GB: 0955:7423 NVidia Corp +- For Orin Nano 8GB: 0955:7523 NVidia Corp +- For Orin Nano 4GB: 0955:7623 NVidia Corp + +The below image is for Orin Nx 16GB: + +
+ +
+ +### Flash to Jetson + +**Step 1:** Extract the downloaded image file on ubuntu host PC: + +```bash +cd +sudo tar xpf mfi_xxxx.tar.gz +# For example: sudo tar xpf mfi_recomputer-orin-nano-8g-j401-6.0-36.3.0-2024-06-07.tar.gz +``` + +**Step 2:** Execute the following command to flash jetpack system to the NVMe SSD: + +```bash +cd mfi_xxxx +# For example: cd mfi_recomputer-orin-j401 +sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 1 --network usb0 --showlogs +``` + +You will see the following output if the flashing process is successful + +
+ +:::note +The flash command may run for 2-10 minutes. +::: + +**Step 3:** Connect the J501 to a display using the HDMI connector on the board and finish the initial configuration setup: + +
+ +
+ +:::info +Please complete the **System Configuration** according to your needs. +::: + +**Step 4 (Optional):** Install Nvidia Jetpack SDK + +Please open the terminal on the Jetson device and execute the following commands: + +```bash +sudo apt update +sudo apt install nvidia-jetpack +``` + + + +## Tech Support & Product Discussion + +Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs. + +
+ + +
+ +
+ + +
diff --git a/docs/Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Hardware_Interfaces_Usage.md b/docs/Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Hardware_Interfaces_Usage.md new file mode 100644 index 000000000000..cb1227d017f1 --- /dev/null +++ b/docs/Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Hardware_Interfaces_Usage.md @@ -0,0 +1,31 @@ +--- +description: comming soon +title: reComputer Mini Hardware and Interfaces Usage +tags: + - reComputer + - reComputer mini + - embedded omputer + - robots +image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png +slug: /recomputer_jetson_mini_hardware_interfaces_usage +last_update: + date: 12/11/2024 + author: Youjiang +--- + +## WIP... +comming soon !!! + +## Tech Support & Product Discussion + +Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs. + +
+ + +
+ +
+ + +
diff --git a/sidebars.js b/sidebars.js index 3e4e4f1bb881..7ac0cf77628a 100644 --- a/sidebars.js +++ b/sidebars.js @@ -3380,16 +3380,6 @@ const sidebars = { id: 'Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Intro', }, items: [ - { - type: 'category', - label: 'reComputer Industrial', - items: [ - 'Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Industrial/reComputer_Industrial_Getting_Started', - 'Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Industrial/reComputer_Industrial_J20_Hardware_Interfaces_Usage', - 'Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Industrial/reComputer_Industrial_J40_J30_Hardware_Interfaces_Usage' - ], - }, - { type: 'category', label: 'reComputer J10', @@ -3438,7 +3428,25 @@ const sidebars = { items: [ 'Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_J30_40/reComputer_J30_40_with_Jetson_getting_start', 'Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_J30_40/reComputer_Jetson_with_Infineon_Wi-Fi_Module' - ]} + ] + }, + { + type: 'category', + label: 'reComputer Industrial', + items: [ + 'Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Industrial/reComputer_Industrial_Getting_Started', + 'Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Industrial/reComputer_Industrial_J20_Hardware_Interfaces_Usage', + 'Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Industrial/reComputer_Industrial_J40_J30_Hardware_Interfaces_Usage' + ], + }, + { + type: 'category', + label: 'reComputer Mini', + items: [ + 'Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Getting_Started', + 'Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Hardware_Interfaces_Usage' + ], + }, ]}, // reServer Jetson Series From 64e69742aee78bd8dce4b497b748291077f84ec6 Mon Sep 17 00:00:00 2001 From: Chengxun Lee <24319042+bclswl0827@users.noreply.github.com> Date: Mon, 16 Dec 2024 10:12:46 +0800 Subject: [PATCH 11/25] fix: Update driver installation argument for reTerminal DM --- .../reTerminal-DM/reterminal-dm-flash-OS.md | 2 +- .../reTerminal/Wakeup_reTerminal_LCD_after_sleep.md | 13 ++++--------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/docs/Edge/Raspberry_Pi_Devices/reTerminal-DM/reterminal-dm-flash-OS.md b/docs/Edge/Raspberry_Pi_Devices/reTerminal-DM/reterminal-dm-flash-OS.md index 969c44cc8121..5a75dbcbd2cf 100644 --- a/docs/Edge/Raspberry_Pi_Devices/reTerminal-DM/reterminal-dm-flash-OS.md +++ b/docs/Edge/Raspberry_Pi_Devices/reTerminal-DM/reterminal-dm-flash-OS.md @@ -410,7 +410,7 @@ cd seeed-linux-dtoverlays - **Step 3.** Type the following to install the drivers ```sh -sudo ./scripts/reTerminal.sh --device reTerminal-plus +sudo ./scripts/reTerminal.sh --device reTerminal-DM ``` -Open a terminal window after connecting through SSH or VNC and enter the following commands +As of [github.com/Seeed-Studio/pi-gen-expand/commit/8affb3b](https://github.com/Seeed-Studio/pi-gen-expand/commit/8affb3b), the fix for this issue has been integrated into the driver, so you don't need to perform additional steps manually -```sh -DISPLAY=:0 xset dpms force off -DISPLAY=:0 xset dpms force on -``` - -This will reinitialize the LCD on the reTerminal! +For previous versions, please consider reinstalling the driver from [github.com/Seeed-Studio/seeed-linux-dtoverlays](https://github.com/Seeed-Studio/seeed-linux-dtoverlays). See [Install reTerminal drivers after flashing new Raspbian OS](/reterminal-dm-flash-OS/#install-reterminal-drivers-after-flashing-new-raspbian-os) for detailed steps. From cac4ed3353962c5f892acbd081d1bfa19d340089 Mon Sep 17 00:00:00 2001 From: KasunThushara <73091563+KasunThushara@users.noreply.github.com> Date: Mon, 16 Dec 2024 08:47:17 +0530 Subject: [PATCH 12/25] Update: resources , and tech support section --- ...th_raspberry_pi_4g_hat_and_quectel_gnss.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md index ccc54609dc5b..0e1c4519bc08 100644 --- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss.md @@ -281,3 +281,22 @@ python test_gnss.py
+## Resources + +- **[Web Page]** [LTE EG25-G](https://www.quectel.com/product/lte-eg25-g/) + +- **[Web Page]** [GNSS AT Commands Manual V1.4](https://www.quectel.com/download/quectel_ec2xeg9xeg2x-gem05_series_gnss_application_note_v1-4/) + +## Tech Support & Product Discussion + +Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs. + +
+ + +
+ +
+ + +
\ No newline at end of file From 08a5806d9d9fc296bd842e22308b5f53d928e40b Mon Sep 17 00:00:00 2001 From: nfs0619 <1447996181@qq.com> Date: Mon, 16 Dec 2024 16:07:25 +0800 Subject: [PATCH 13/25] Update weekly wiki --- .../traffic_saving_config.md | 2 +- docs/Seeed_Elderly/weekly_wiki/wiki241209.md | 198 ++++++++++++++++++ ...eeedStudio_Round_Display_Christmas_ball.md | 19 ++ docs/weekly_wiki.md | 101 +++++---- src/utils/wiki.js | 2 +- 5 files changed, 276 insertions(+), 46 deletions(-) create mode 100644 docs/Seeed_Elderly/weekly_wiki/wiki241209.md diff --git a/docs/Network/SenseCAP_Network/SenseCAP_M2_Multi_Platform/traffic_saving_config.md b/docs/Network/SenseCAP_Network/SenseCAP_M2_Multi_Platform/traffic_saving_config.md index 2b4679d41aa9..ac54c850206a 100644 --- a/docs/Network/SenseCAP_Network/SenseCAP_M2_Multi_Platform/traffic_saving_config.md +++ b/docs/Network/SenseCAP_Network/SenseCAP_M2_Multi_Platform/traffic_saving_config.md @@ -4,7 +4,7 @@ title: Low Data Consumption Mode Config(for 4G version) keywords: - SenseCAP_M2 - Gateway -image: https://files.seeedstudio.com/wiki/SenseCAP/Tracker/tracker.webp +image: https://files.seeedstudio.com/wiki/SenseCAP/M2_Multi-Platform/sensecap_m2.jpg slug: /traffic_saving_config last_update: date: 12/4/2024 diff --git a/docs/Seeed_Elderly/weekly_wiki/wiki241209.md b/docs/Seeed_Elderly/weekly_wiki/wiki241209.md new file mode 100644 index 000000000000..01a0704c2d80 --- /dev/null +++ b/docs/Seeed_Elderly/weekly_wiki/wiki241209.md @@ -0,0 +1,198 @@ +--- +description: Weekly Wiki +title: Weekly Wiki +keywords: +- weeely wiki +image: https://files.seeedstudio.com/wiki/IndexWiki/logo_image.jpg +last_update: + date: 12/09/2024 + author: Frank +--- + +
+ +## Greetings + +This is Frank in Seeed Studio and welcome to the Seeed Studio weekly wiki! Each Monday, I will introduce you our latest wiki, including the ones related to our new products, the interesting projects published by Seeed Studio, and the tutorials, introductions, etc... You name it. + +✨ For each week, when a collaborator contributes a project or fixes something important, we put the stars at the end of title of "Weekly Wiki" for more people be able to see their efforts👍. + +Today is December 9th, and a brand new week has begun! Check out what Seeed Studio did last week! + +## Latest Wiki Launched + +### [Configuring Model Output on SenseCraft AI for Grove Vision AI V2](https://wiki.seeedstudio.com/relay_add_on_module_for_xiao/) + +
+ +This wiki article provides a comprehensive guide on how to configure model output settings for the Grove Vision AI V2 device using the SenseCraft AI platform. By following these step-by-step instructions, you will learn how to set up trigger conditions and actions based on the output of your trained model running on the Grove Vision AI V2. + +### [Configuring Model Output and GPIO on SenseCraft AI for XIAO ESP32S3 Sense](https://wiki.seeedstudio.com/sensecraft_ai_output_gpio_xiao/) + +
+ +This wiki article provides a step-by-step guide on how to configure model output and GPIO settings for the XIAO ESP32S3 Sense board using the SenseCraft AI platform. By following these instructions, you will learn how to trigger GPIO level changes based on specific event conditions detected by your trained model. + +### [Using a model for Grove Vision AI V2](https://wiki.seeedstudio.com/sensecraft_ai_pretrained_models_for_grove_visionai_v2/) + +SenseCraft AI is a powerful platform that offers a wide range of AI models compatible with various devices, including the Grove Vision AI V2. The Grove Vision AI V2 is a comprehensive AI vision module that combines a camera, processor, and AI capabilities, making it easy to integrate computer vision applications into your projects. + +
+ +In this tutorial, we will guide you through the process of using a SenseCraft AI model on the Grove Vision AI V2 and previewing the model's output. We will also explore some key concepts and settings to help you understand and optimize the model's performance. + +### [Using a model for XIAO ESP32S3 Sense](https://wiki.seeedstudio.com/sensecraft_ai_pretrained_models_for_xiao/) + +SenseCraft AI is a powerful platform that provides a vast repository of AI models compatible with various devices. It allows developers and enthusiasts to easily deploy and experiment with different AI models on their hardware. + +
+ +In this comprehensive tutorial, we will guide you through the process of using a SenseCraft AI model on the XIAO ESP32S3 Sense board and previewing the model's output. We will also delve into some key concepts and settings to help you understand and optimize the model's performance. + +### [SenseCraft AI for SenseCAP Watcher](https://wiki.seeedstudio.com/sensecraft_ai_pretrained_models_for_watcher/) + +
+ +SenseCAP Watcher is a powerful monitoring device that can be configured to recognize specific objects and trigger alarms based on user-defined tasks. To enhance Watcher's object recognition capabilities, users can leverage custom models from the SenseCraft AI model repository. This wiki article will guide you through the process of using these custom models in your Watcher monitoring tasks. + +### [Relay Add On Module For XIAO](https://wiki.seeedstudio.com/relay_add_on_module_for_xiao/) + +
+ +The Relay Add On Module For XIAO is a smart module from Seeed Studio designed to control AC-powered appliances. It is characterized by the combination of XIAO, through the ESPHome access Home Assistant to control a variety of appliances, so that your home smarter! + +### [RTL8822CE Wireless Module for Jetson](https://wiki.seeedstudio.com/rtl8822ce_wireless_module_for_jetson/) + +
+ +
+ +The RTL8822CE is a compact Dual-band WLAN+Bluetooth Combo M.2 Card that integrates a 2T2R Dual-band WLAN subsystem with PCI Express controllers and a Bluetooth v5.0 subsystem with USB support. Compatible with IEEE 802.11 a/b/g/n/ac standards, it delivers a maximum PHY rate of up to 867 Mbps and supports Bluetooth dual mode (v5.0/v4.2/v2.1). Ideal for high-performance wireless and Bluetooth connectivity for using with embedded devices such as [reComputer J4012](https://www.seeedstudio.com/reComputer-J4012-p-5586.html). + +### [Configuring Wio-SX1262 with XIAO ESP32S3 kit as Meshtastic device](https://wiki.seeedstudio.com/xiao_esp32s3_&_wio_SX1262_kit_for_meshtastic/) + + + +Meshtastic is an open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices. Seeed Studio provides a comprehensive range of ready-to-go Meshtastic devices for hobbyists and industrial users. XIAO ESP32S3 & Wio-SX1262 Kit is flexible solution for meshtastic developer and maker. + + + +## The Efforts of Contributor + + + +- Check on [GitHub](https://github.com/orgs/Seeed-Studio/projects/6) for more information. +- We will be really appreciate if you can [share your ideas](https://github.com/orgs/Seeed-Studio/projects/6?pane=issue&itemId=35179519) with us! + +## Past Weekly wiki + +
Click here + +- [weekly wiki on 2.27th](/Seeed_Elderly/weekly_wiki/wiki227) +- [weekly wiki on 3.06th](/Seeed_Elderly/weekly_wiki/wiki306) +- [weekly wiki on 3.13th](/Seeed_Elderly/weekly_wiki/wiki313) +- [weekly wiki on 3.20th](/Seeed_Elderly/weekly_wiki/wiki320) +- [weekly wiki on 3.27th](/Seeed_Elderly/weekly_wiki/wiki327) +- [weekly wiki on 4.03rd](/Seeed_Elderly/weekly_wiki/wiki403) +- [weekly wiki on 4.10th](/Seeed_Elderly/weekly_wiki/wiki410) +- [weekly wiki on 4.17th](/Seeed_Elderly/weekly_wiki/wiki417) +- [weekly wiki on 4.24th](/Seeed_Elderly/weekly_wiki/wiki424) +- [weekly wiki on 5.15th](/Seeed_Elderly/weekly_wiki/wiki515) +- [weekly wiki on 5.22nd](/Seeed_Elderly/weekly_wiki/wiki522) +- [weekly wiki on 5.29th](/Seeed_Elderly/weekly_wiki/wiki529) +- [weekly wiki on 6.05th](/Seeed_Elderly/weekly_wiki/wiki605) +- [weekly wiki on 6.12th](/Seeed_Elderly/weekly_wiki/wiki612) +- [weekly wiki on 6.19th](/Seeed_Elderly/weekly_wiki/wiki619) +- [weekly wiki on 7.03th](/Seeed_Elderly/weekly_wiki/wiki703) +- [weekly wiki on 7.10th](/Seeed_Elderly/weekly_wiki/wiki710) +- [weekly wiki on 7.17th](/Seeed_Elderly/weekly_wiki/wiki717) +- [weekly wiki on 7.24th](/Seeed_Elderly/weekly_wiki/wiki724) +- [weekly wiki on 7.31th](/Seeed_Elderly/weekly_wiki/wiki731) +- [weekly wiki on 8.07th](/Seeed_Elderly/weekly_wiki/wiki807) +- [weekly wiki on 8.21st](/Seeed_Elderly/weekly_wiki/wiki821) +- [weekly wiki on 8.28th](/Seeed_Elderly/weekly_wiki/wiki828) +- [weekly wiki on 9.11st](/Seeed_Elderly/weekly_wiki/wiki911) +- [weekly wiki on 9.18th](/Seeed_Elderly/weekly_wiki/wiki918) +- [weekly wiki on 9.25th](/Seeed_Elderly/weekly_wiki/wiki925) +- [weekly wiki on 10.9th](/Seeed_Elderly/weekly_wiki/wiki1009) +- [weekly wiki on 10.16th](/Seeed_Elderly/weekly_wiki/wiki1016) +- [weekly wiki on 10.23th](/Seeed_Elderly/weekly_wiki/wiki1023) +- [weekly wiki on 10.30th](/Seeed_Elderly/weekly_wiki/wiki1030) +- [weekly wiki on 11.06th](/Seeed_Elderly/weekly_wiki/wiki1106) +- [weekly wiki on 11.13th](/Seeed_Elderly/weekly_wiki/wiki1113) +- [weekly wiki on 11.20th](/Seeed_Elderly/weekly_wiki/wiki1120) +- [weekly wiki on 11.27th](/Seeed_Elderly/weekly_wiki/wiki1127) +- [weekly wiki on 12.04th](/Seeed_Elderly/weekly_wiki/wiki1204) +- [weekly wiki on 12.11th](/Seeed_Elderly/weekly_wiki/wiki1211) +- [weekly wiki on 12.18th](/Seeed_Elderly/weekly_wiki/wiki1218) +- [weekly wiki on 12.25th](/Seeed_Elderly/weekly_wiki/wiki1225) +- [weekly wiki on 2024.1.08th](/Seeed_Elderly/weekly_wiki/wiki240108) +- [weekly wiki on 2024.1.15th](/Seeed_Elderly/weekly_wiki/wiki240115) +- [weekly wiki on 2024.1.22nd](/Seeed_Elderly/weekly_wiki/wiki240122) +- [weekly wiki on 2024.1.29th](/Seeed_Elderly/weekly_wiki/wiki240129) +- [weekly wiki on 2024.2.19th](/Seeed_Elderly/weekly_wiki/wiki240219) +- [weekly wiki on 2024.2.26th](/Seeed_Elderly/weekly_wiki/wiki240226) +- [weekly wiki on 2024.3.04th](/Seeed_Elderly/weekly_wiki/wiki240304) +- [weekly wiki on 2024.3.11th](/Seeed_Elderly/weekly_wiki/wiki240311) +- [weekly wiki on 2024.3.18th](/Seeed_Elderly/weekly_wiki/wiki240318) +- [weekly wiki on 2024.3.25th](/Seeed_Elderly/weekly_wiki/wiki240325) +- [weekly wiki on 2024.4.01st](/Seeed_Elderly/weekly_wiki/wiki240401) +- [weekly wiki on 2024.4.08th](/Seeed_Elderly/weekly_wiki/wiki240408) +- [weekly wiki on 2024.4.15th](/Seeed_Elderly/weekly_wiki/wiki240415) +- [weekly wiki on 2024.4.22nd](/Seeed_Elderly/weekly_wiki/wiki240422) +- [weekly wiki on 2024.4.29th](/Seeed_Elderly/weekly_wiki/wiki240429) +- [weekly wiki on 2024.5.06th](/Seeed_Elderly/weekly_wiki/wiki240506) +- [weekly wiki on 2024.5.13th](/Seeed_Elderly/weekly_wiki/wiki240513) +- [weekly wiki on 2024.5.20th](/Seeed_Elderly/weekly_wiki/wiki240520) +- [weekly wiki on 2024.5.27th](/Seeed_Elderly/weekly_wiki/wiki240527) +- [weekly wiki on 2024.6.03rd](/Seeed_Elderly/weekly_wiki/wiki240603) +- [weekly wiki on 2024.6.10th](/Seeed_Elderly/weekly_wiki/wiki240610) +- [weekly wiki on 2024.6.17th](/Seeed_Elderly/weekly_wiki/wiki240617) +- [weekly wiki on 2024.6.24th](/Seeed_Elderly/weekly_wiki/wiki240624) +- [weekly wiki on 2024.7.01st](/Seeed_Elderly/weekly_wiki/wiki240701) +- [weekly wiki on 2024.7.08th](/Seeed_Elderly/weekly_wiki/wiki240708) +- [weekly wiki on 2024.7.16th](/Seeed_Elderly/weekly_wiki/wiki240716) +- [weekly wiki on 2024.7.22th](/Seeed_Elderly/weekly_wiki/wiki240722) +- [weekly wiki on 2024.7.29th](/Seeed_Elderly/weekly_wiki/wiki240729) +- [weekly wiki on 2024.8.05th](/Seeed_Elderly/weekly_wiki/wiki240805) +- [weekly wiki on 2024.8.12th](/Seeed_Elderly/weekly_wiki/wiki240812) +- [weekly wiki on 2024.8.19th](/Seeed_Elderly/weekly_wiki/wiki240819) +- [weekly wiki on 2024.8.26th](/Seeed_Elderly/weekly_wiki/wiki240826) +- [weekly wiki on 2024.9.02nd](/Seeed_Elderly/weekly_wiki/wiki240902) +- [weekly wiki on 2024.9.09th](/Seeed_Elderly/weekly_wiki/wiki240909) +- [weekly wiki on 2024.9.16th](/Seeed_Elderly/weekly_wiki/wiki240918) +- [weekly wiki on 2024.9.23th](/Seeed_Elderly/weekly_wiki/wiki240923) +- [weekly wiki on 2024.9.30th](/Seeed_Elderly/weekly_wiki/wiki240930) +- [weekly wiki on 2024.10.07th](/Seeed_Elderly/weekly_wiki/wiki241007) +- [weekly wiki on 2024.10.14th](/Seeed_Elderly/weekly_wiki/wiki241014) +- [weekly wiki on 2024.10.21th](/Seeed_Elderly/weekly_wiki/wiki241021) +- [weekly wiki on 2024.10.28th](/Seeed_Elderly/weekly_wiki/wiki241028) +- [weekly wiki on 2024.11.04th](/Seeed_Elderly/weekly_wiki/wiki241104) +- [weekly wiki on 2024.11.11th](/Seeed_Elderly/weekly_wiki/wiki241111) +- [weekly wiki on 2024.11.18th](/Seeed_Elderly/weekly_wiki/wiki241118) +- [weekly wiki on 2024.11.25th](/Seeed_Elderly/weekly_wiki/wiki241125) +- [weekly wiki on 2024.12.02nd](/Seeed_Elderly/weekly_wiki/wiki241202) + +
diff --git a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Expansion_board/Round-display-for-XIAO/Application/SeeedStudio_Round_Display_Christmas_ball.md b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Expansion_board/Round-display-for-XIAO/Application/SeeedStudio_Round_Display_Christmas_ball.md index 5aaec6ca32ee..5e1c6347de65 100644 --- a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Expansion_board/Round-display-for-XIAO/Application/SeeedStudio_Round_Display_Christmas_ball.md +++ b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_Expansion_board/Round-display-for-XIAO/Application/SeeedStudio_Round_Display_Christmas_ball.md @@ -442,3 +442,22 @@ void loop() { ``` Now you can use your own pictures to create a magical Christmas Ball. + +## ✨ Contributor Project + +- This project is supported by the Seeed Studio [Contributor Project](https://github.com/orgs/Seeed-Studio/projects/6/views/1?pane=issue&itemId=30957479). +- Thanks [Bruno Santos](https://github.com/orgs/Seeed-Studio/projects/6/views/1?sliceBy%5Bvalue%5D=feiticeir0&pane=issue&itemId=90657934&issue=Seeed-Studio%7Cwiki-documents%7C1993) and your work will be [exhibited](https://wiki.seeedstudio.com/contributors/). + +## Tech Support & Product Discussion + +Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs. + +
+ + +
+ +
+ + +
diff --git a/docs/weekly_wiki.md b/docs/weekly_wiki.md index d1242f23a652..8e67e6eb4ba9 100644 --- a/docs/weekly_wiki.md +++ b/docs/weekly_wiki.md @@ -5,7 +5,7 @@ keywords: - weeely wiki image: https://files.seeedstudio.com/wiki/IndexWiki/logo_image.jpg last_update: - date: 12/09/2024 + date: 12/16/2024 author: Frank --- @@ -17,91 +17,103 @@ This is Frank in Seeed Studio and welcome to the Seeed Studio weekly wiki! Each ✨ For each week, when a collaborator contributes a project or fixes something important, we put the stars at the end of title of "Weekly Wiki" for more people be able to see their efforts👍. -Today is December 9th, and a brand new week has begun! Check out what Seeed Studio did last week! +Today is December 16th, and a brand new week has begun! Check out what Seeed Studio did last week! ## Latest Wiki Launched -### [Configuring Model Output on SenseCraft AI for Grove Vision AI V2](https://wiki.seeedstudio.com/relay_add_on_module_for_xiao/) +### [SenseCraft AI Overview](https://wiki.seeedstudio.com/sensecraft_ai_main/) -
+
-This wiki article provides a comprehensive guide on how to configure model output settings for the Grove Vision AI V2 device using the SenseCraft AI platform. By following these step-by-step instructions, you will learn how to set up trigger conditions and actions based on the output of your trained model running on the Grove Vision AI V2. +The Overview section provides a high-level introduction to SenseCraft AI, explaining its purpose, key features, and benefits. It serves as a starting point for users to understand the platform and its capabilities. The overview also includes links to Getting Started guides and FAQs to help users quickly get up and running with SenseCraft AI. -### [Configuring Model Output and GPIO on SenseCraft AI for XIAO ESP32S3 Sense](https://wiki.seeedstudio.com/sensecraft_ai_output_gpio_xiao/) +### [Wio Terminal PC Monitor Tutorial - Cyberpunk Style](https://wiki.seeedstudio.com/CyberDeck_Wio-Terminal/) -
+
-This wiki article provides a step-by-step guide on how to configure model output and GPIO settings for the XIAO ESP32S3 Sense board using the SenseCraft AI platform. By following these instructions, you will learn how to trigger GPIO level changes based on specific event conditions detected by your trained model. +This project uses the Wio Terminal to display real-time PC stats like CPU, RAM, and temperature in a cyberpunk style. Data is gathered with a Python script and shown on the terminal. The setup includes installing Python, VSCode, and PlatformIO, with options for customization and adding features. It also covers using Cursor AI for development and debugging. -### [Using a model for Grove Vision AI V2](https://wiki.seeedstudio.com/sensecraft_ai_pretrained_models_for_grove_visionai_v2/) +### [Guide to Configuring Low Data Consumption Mode for M2 Multi-Platform Gateway (4G Version)](https://wiki.seeedstudio.com/traffic_saving_config/) -SenseCraft AI is a powerful platform that offers a wide range of AI models compatible with various devices, including the Grove Vision AI V2. The Grove Vision AI V2 is a comprehensive AI vision module that combines a camera, processor, and AI capabilities, making it easy to integrate computer vision applications into your projects. +
-
+This tutorial will guide users to configure the low data consumption mode for the M2 Multi-Platform Gateway 4G version. In this mode, the traffic per month is expected to be around 60M. The specific traffic depends on the nodes packets, etc. -In this tutorial, we will guide you through the process of using a SenseCraft AI model on the Grove Vision AI V2 and previewing the model's output. We will also explore some key concepts and settings to help you understand and optimize the model's performance. +### [Usage of Seeed Studio XIAO MG24 Sense built-in Sensor](https://wiki.seeedstudio.com/xiao_mg24_sense_built_in_sensor/) -### [Using a model for XIAO ESP32S3 Sense](https://wiki.seeedstudio.com/sensecraft_ai_pretrained_models_for_xiao/) +
-SenseCraft AI is a powerful platform that provides a vast repository of AI models compatible with various devices. It allows developers and enthusiasts to easily deploy and experiment with different AI models on their hardware. +This document introduces the built-in sensors of the Seeed Studio XIAO MG24 Sense, including the 6-Axis IMU (LSM6DS3TR-C) for motion measurement and the MEMS Microphone (MSM381ACT001) for high-quality audio capture, with key features and functionalities outlined. -
+### [Configuring Model Output via MQTT on SenseCraft AI for XIAO ESP32S3 Sense](https://wiki.seeedstudio.com/sensecraft_ai_output_mqtt_xiao/) -In this comprehensive tutorial, we will guide you through the process of using a SenseCraft AI model on the XIAO ESP32S3 Sense board and previewing the model's output. We will also delve into some key concepts and settings to help you understand and optimize the model's performance. +
-### [SenseCraft AI for SenseCAP Watcher](https://wiki.seeedstudio.com/sensecraft_ai_pretrained_models_for_watcher/) +This wiki article provides a step-by-step guide on how to configure model output using MQTT (Message Queuing Telemetry Transport) for the XIAO ESP32S3 Sense board on the SenseCraft AI platform. MQTT is a lightweight messaging protocol that enables efficient communication between devices. By following these instructions, you will learn how to set up MQTT communication and retrieve model inference results from your XIAO ESP32S3 Sense. -
+### [Getting Started with the Raspberry Pi 4G LTE HAT](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/) -SenseCAP Watcher is a powerful monitoring device that can be configured to recognize specific objects and trigger alarms based on user-defined tasks. To enhance Watcher's object recognition capabilities, users can leverage custom models from the SenseCraft AI model repository. This wiki article will guide you through the process of using these custom models in your Watcher monitoring tasks. +
-### [Relay Add On Module For XIAO](https://wiki.seeedstudio.com/relay_add_on_module_for_xiao/) +The 4G Raspberry Pi HAT is a powerful and versatile add-on designed for seamless integration with Raspberry Pi models, including A+, B+, Pi 2, Pi 3, Pi 4, Pi 5, and Zero, as well as PCs. Equipped with a 40-pin GPIO connector, it ensures easy plug-and-play compatibility. The HAT features the Quectel EG25-GL CAT4 LTE module, providing high-speed 4G communication, SMS functionality, and cloud platform integration for IoT and M2M applications. -
+### [Getting Started with ReSpeaker 2-Mics Pi HAT v2](https://wiki.seeedstudio.com/respeaker_2_mics_pi_hat_raspberry_v2/) -The Relay Add On Module For XIAO is a smart module from Seeed Studio designed to control AC-powered appliances. It is characterized by the combination of XIAO, through the ESPHome access Home Assistant to control a variety of appliances, so that your home smarter! +
-### [RTL8822CE Wireless Module for Jetson](https://wiki.seeedstudio.com/rtl8822ce_wireless_module_for_jetson/) +On the latest Raspberry Pi OS, the traditional method of driver installation (For v1 device) is no longer available. We have therefore re-released a new wiki on this issue, if you are using the more modern Raspberry Pi OS rather than previous releases, please follow these steps to get your ReSpeaker working. -
- -
+### [Using XIAO ESP32S3 Sense as an AI Sensor with SenseCraft AI](https://wiki.seeedstudio.com/sensecraft_ai_output_libraries_xiao/) -The RTL8822CE is a compact Dual-band WLAN+Bluetooth Combo M.2 Card that integrates a 2T2R Dual-band WLAN subsystem with PCI Express controllers and a Bluetooth v5.0 subsystem with USB support. Compatible with IEEE 802.11 a/b/g/n/ac standards, it delivers a maximum PHY rate of up to 867 Mbps and supports Bluetooth dual mode (v5.0/v4.2/v2.1). Ideal for high-performance wireless and Bluetooth connectivity for using with embedded devices such as [reComputer J4012](https://www.seeedstudio.com/reComputer-J4012-p-5586.html). +
-### [Configuring Wio-SX1262 with XIAO ESP32S3 kit as Meshtastic device](https://wiki.seeedstudio.com/xiao_esp32s3_&_wio_SX1262_kit_for_meshtastic/) +This wiki provides a step-by-step guide on how to configure the output of a model on SenseCraft AI and use the XIAO ESP32S3 Sense as an AI sensor. By following these instructions, you will learn how to connect the XIAO ESP32S3 Sense to your computer, select the appropriate output method, and retrieve the model data using different communication protocols such as UART, I2C, and SPI. - +### [Configuring Model Output on SenseCraft AI for XIAO ESP32S3 Sense using SSCMACore Library](https://wiki.seeedstudio.com/sensecraft_ai_sscmacore_library/) -Meshtastic is an open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices. Seeed Studio provides a comprehensive range of ready-to-go Meshtastic devices for hobbyists and industrial users. XIAO ESP32S3 & Wio-SX1262 Kit is flexible solution for meshtastic developer and maker. +
- +
-## The Efforts of Contributor +RNDIS (Remote Network Driver Interface Specification) is a protocol that allows USB-connected devices, like the Quectel EG25-G 4G module, to act as network interfaces. By enabling RNDIS on a Raspberry Pi, the 4G module can provide cellular internet connectivity to the Pi. The Raspberry Pi communicates with the 4G module using AT commands to configure features like RNDIS mode, GNSS, and SMS. This approach simplifies internet access in scenarios where traditional wired or Wi-Fi connections are unavailable. + +### [Sending and Receiving SMS Messages with Quectel 4G Raspberry pi Hat](https://wiki.seeedstudio.com/send_recive_sms_raspberry_pi_4g_lte_hat/) + +
+ +In rural and remote areas, where 4G coverage is sparse or unavailable, SMS communication through 2G networks becomes a vital tool for ensuring uninterrupted connectivity in IoT systems. For wildlife preservation, this technology enables automated alert systems to monitor environmental conditions, track animal movements, and report critical events in real-time. By leveraging 4G modules with SMS capabilities, devices can send automated alerts and receive instructions, ensuring that even in isolated regions, conservation efforts are not hindered by lack of modern network infrastructure. - +On this tutorial I'm going to show you how you can create a Christmas ball with falling snow and changing background images. - Check on [GitHub](https://github.com/orgs/Seeed-Studio/projects/6) for more information. - We will be really appreciate if you can [share your ideas](https://github.com/orgs/Seeed-Studio/projects/6?pane=issue&itemId=35179519) with us! @@ -194,5 +206,6 @@ This wiki covers [FreeRTOS](https://freertos.org/) support for the [Seeed Studio - [weekly wiki on 2024.11.18th](/Seeed_Elderly/weekly_wiki/wiki241118) - [weekly wiki on 2024.11.25th](/Seeed_Elderly/weekly_wiki/wiki241125) - [weekly wiki on 2024.12.02nd](/Seeed_Elderly/weekly_wiki/wiki241202) +- [weekly wiki on 2024.12.09th](/Seeed_Elderly/weekly_wiki/wiki241209) diff --git a/src/utils/wiki.js b/src/utils/wiki.js index 426e88b791dd..8bcbbac86790 100644 --- a/src/utils/wiki.js +++ b/src/utils/wiki.js @@ -64,7 +64,7 @@ const docList = [ }, { "path": "/traffic_saving_config", - "image": "https://files.seeedstudio.com/wiki/SenseCAP/Tracker/tracker.webp", + "image": "https://files.seeedstudio.com/wiki/SenseCAP/M2_Multi-Platform/sensecap_m2.jpg", "title": "Low Data Consumption Mode Config(for 4G version)", "date": "12/4/2024" } From 931d6b9c0943c183f8f0304663c4b382962f4483 Mon Sep 17 00:00:00 2001 From: ZhuYaoHui1998 <510677932@qq.com> Date: Mon, 16 Dec 2024 16:24:16 +0800 Subject: [PATCH 14/25] add one click flashing jetpack of reComptuer J30/40 --- .../J401/reComputer_J4012_Flash_Jetpack.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/Edge/NVIDIA_Jetson/Carrier_Boards/J401/reComputer_J4012_Flash_Jetpack.md b/docs/Edge/NVIDIA_Jetson/Carrier_Boards/J401/reComputer_J4012_Flash_Jetpack.md index 0641f09368ca..9864f90975e2 100644 --- a/docs/Edge/NVIDIA_Jetson/Carrier_Boards/J401/reComputer_J4012_Flash_Jetpack.md +++ b/docs/Edge/NVIDIA_Jetson/Carrier_Boards/J401/reComputer_J4012_Flash_Jetpack.md @@ -314,7 +314,19 @@ The below image is for Orin NX 16GB -### Flash to Jetson +### Method 1: Flash the device with a single command. +The reComputer Jetson J30/40 has launched a one-click flashing script, which supports flashing Jetpack 5.1.1, 5.1.2 and 6.0. Currently, the one-click flashing for Jetpack 6.1 and other series of reComputer Jetson is under testing and will be available to everyone in the near future. + +```bash +wget -O ./flashing.sh https://files.seeedstudio.com/OSHW_Jetson/flashing.sh && sudo chmod 777 ./flashing.sh && ./flashing.sh +``` + + +
+ +
+ +### Method 2: Flash the device step by step. :::note Before moving onto flashing, it should be noted that Jetson Orin NX module only supports JetPack 5.1 and above, while Jetson Orin Nano module only supports JetPack 5.1.1 and above. From 998a5c7cee08c430c40641710a64d5d035f2e211 Mon Sep 17 00:00:00 2001 From: KasunThushara <73091563+KasunThushara@users.noreply.github.com> Date: Mon, 16 Dec 2024 14:37:29 +0530 Subject: [PATCH 15/25] Update:rpi 4G LTE Hat overview update package contents --- ...tarted_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md index f877f9d2e992..1a7151e3369b 100644 --- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Getting_Started_LTE_CAT_4_EG25-GL_4G_Hat_for_rpi.md @@ -24,6 +24,24 @@ The 4G Raspberry Pi HAT is a powerful and versatile add-on designed for seamless At its core, the EG25-GL module ensures robust performance with global frequency band support, offering reliable connectivity across LTE, UMTS/HSPA+, and GSM/GPRS/EDGE networks. Backward-compatible with 4G, 3G, and 2G, it supports multiple communication protocols such as MIMO, DFOTA, and DTMF. Its multi-constellation GNSS receiver ensures accurate and fast positioning. +## Package Contents + +
+ +
+ +The 4G LTE HAT package includes everything needed for installation and operation: + + +- **Screws and Studs** All required hardware for securely mounting and fixing the HAT. +- **Screwdriver** A tool for easy installation. +- **2x 4G Antenna** Ensures reliable LTE connectivity. +- **USB-A to USB-C** Adapter Enables connection between the HAT and the Raspberry Pi’s USB 3.0 port. +- **2x20 Pin Stacking** Header Provides the necessary height for proper alignment and clearance during installation. +- **0.3M Type-C Data Cable** Supports both power supply and data transmission. ## Hardware preparation
@@ -327,24 +345,7 @@ The 4G LTE HAT is designed to match the Raspberry Pi’s size, ensuring seamless These design considerations make the HAT fully compatible with the Raspberry Pi 5 while maintaining ease of installation and functionality. -## Package Contents -
- -
- -The 4G LTE HAT package includes everything needed for installation and operation: - - -- **Screws and Studs** All required hardware for securely mounting and fixing the HAT. -- **Screwdriver** A tool for easy installation. -- **2x 4G Antenna** Ensures reliable LTE connectivity. -- **USB-A to USB-C** Adapter Enables connection between the HAT and the Raspberry Pi’s USB 3.0 port. -- **2x20 Pin Stacking** Header Provides the necessary height for proper alignment and clearance during installation. -- **0.3M Type-C Data Cable** Supports both power supply and data transmission. ## Assemble Guide From 4db487fd16ff366b397a672d6227f64a3bc05f65 Mon Sep 17 00:00:00 2001 From: ZhuYaoHui1998 <510677932@qq.com> Date: Tue, 17 Dec 2024 11:05:06 +0800 Subject: [PATCH 16/25] fix video error in flash jetpack of J401 --- .../J401/reComputer_J4012_Flash_Jetpack.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/docs/Edge/NVIDIA_Jetson/Carrier_Boards/J401/reComputer_J4012_Flash_Jetpack.md b/docs/Edge/NVIDIA_Jetson/Carrier_Boards/J401/reComputer_J4012_Flash_Jetpack.md index 9864f90975e2..818d92cf7b3b 100644 --- a/docs/Edge/NVIDIA_Jetson/Carrier_Boards/J401/reComputer_J4012_Flash_Jetpack.md +++ b/docs/Edge/NVIDIA_Jetson/Carrier_Boards/J401/reComputer_J4012_Flash_Jetpack.md @@ -314,19 +314,28 @@ The below image is for Orin NX 16GB -### Method 1: Flash the device with a single command. + +### Flash the device with a single command. + +
+ + Flash the device with a single command. + The reComputer Jetson J30/40 has launched a one-click flashing script, which supports flashing Jetpack 5.1.1, 5.1.2 and 6.0. Currently, the one-click flashing for Jetpack 6.1 and other series of reComputer Jetson is under testing and will be available to everyone in the near future. ```bash wget -O ./flashing.sh https://files.seeedstudio.com/OSHW_Jetson/flashing.sh && sudo chmod 777 ./flashing.sh && ./flashing.sh ``` + -
- -
+:::caution +Disclaimer: The one-click flashing script aims to make jetpack flashing quicker. The current version is a beta one and may have many problems. We hope for your understanding. If there are flashing issues, follow the `Flash The Device Step by Step` below and give feedback in our [Discord Jetson channel](https://discord.com/channels/862602258452578314/930732339624026152). We'll fix them promptly and improve this function in the near future. +::: + +
-### Method 2: Flash the device step by step. +### Flash the device step by step. :::note Before moving onto flashing, it should be noted that Jetson Orin NX module only supports JetPack 5.1 and above, while Jetson Orin Nano module only supports JetPack 5.1.1 and above. From c89c9585e7851bc604da357f42987970619609c1 Mon Sep 17 00:00:00 2001 From: yuyoujiang <254693273@qq.com> Date: Tue, 17 Dec 2024 11:12:26 +0800 Subject: [PATCH 17/25] update: recomputer mini --- .../reComputer_Mini_Getting_Started.md | 28 ++- ...Computer_Mini_Hardware_Interfaces_Usage.md | 176 +++++++++++++++++- 2 files changed, 196 insertions(+), 8 deletions(-) diff --git a/docs/Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Getting_Started.md b/docs/Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Getting_Started.md index 88e113237336..89116cb6fcd5 100644 --- a/docs/Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Getting_Started.md +++ b/docs/Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Getting_Started.md @@ -1,10 +1,10 @@ --- -description: Comming soon! +description: This article provides a getting-started guide for the reComputer Mini (based on the NVIDIA Jetson Orin platform), including the device's specifications and the steps for initial setup and configuration. title: Getting Started with reComputer Mini keywords: - reComputer - reComputer mini - - embedded omputer + - embedded computer - robots image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png slug: /recomputer_jetson_mini_getting_started @@ -158,7 +158,29 @@ The below image is for Orin Nx 16GB:
-### Flash to Jetson + +### Flash to Jetson with Single Command. + +
+ + Flash the device with a single command. + +The reComputer Jetson J30/40 Mini has launched a one-click flashing script, which supports flashing Jetpack 6.0. + +```bash +wget -O ./flashing.sh https://files.seeedstudio.com/OSHW_Jetson/flashing.sh && sudo chmod 777 ./flashing.sh && ./flashing.sh +``` + + + +:::caution +Disclaimer: The one-click flashing script aims to make jetpack flashing quicker. The current version is a beta one and may have many problems. We hope for your understanding. If there are flashing issues, follow the `Flash The Device Step by Step` below and give feedback in our [Discord Jetson channel](https://discord.com/channels/862602258452578314/930732339624026152). We'll fix them promptly and improve this function in the near future. +::: + +
+ + +### Flash to Jetson Step by Step **Step 1:** Extract the downloaded image file on ubuntu host PC: diff --git a/docs/Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Hardware_Interfaces_Usage.md b/docs/Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Hardware_Interfaces_Usage.md index cb1227d017f1..42563eef9990 100644 --- a/docs/Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Hardware_Interfaces_Usage.md +++ b/docs/Edge/NVIDIA_Jetson/reComputer_Jetson_Series/reComputer_Mini/reComputer_Mini_Hardware_Interfaces_Usage.md @@ -1,20 +1,186 @@ --- -description: comming soon +description: This article covers the hardware and interfaces of the reComputer Mini J40 series, including power, display, M.2 slots for Wi-Fi and SSD, USB ports, RTC, fan management, and so on. It provides setup instructions and performance testing tips to help users expand their projects. title: reComputer Mini Hardware and Interfaces Usage tags: - reComputer - reComputer mini - - embedded omputer + - embedded computer - robots image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png slug: /recomputer_jetson_mini_hardware_interfaces_usage last_update: - date: 12/11/2024 + date: 12/16/2024 author: Youjiang --- -## WIP... -comming soon !!! +This wiki introduces the various different hardware and interfaces on the reComputer mini J40 series and how to use them to expand your project ideas. + +
+ +
+ + +## Carrier Board + +### Power + +reComputer Mini is equipped with a **9-60V (XT30)** power interface, compatible with a wide voltage input range (9V to 60V), making it suitable for various power supply environments. + +
+ +
+ + +### Display + +The product is equipped with a Type-C port featuring Host + DP (DisplayPort) functionality, which means it not only supports data transfer but also allows you to connect a monitor via this port, enabling high-quality video output. + +
+ +
+ + +### M.2 Key E for WIFI and Bluetooth + +The reComputer Mini features a M.2 Key E interface, through which you can expand the device's Bluetooth and Wi-Fi capabilities. + +We recommend using the Intel Dual Band RTL8822CE Wireless NIC. + +#### Hardware Connection + +
+ +
+ +#### Usage Instruction + +After installing the Wi-Fi module and powering on the device, we can configure the device's Wi-Fi and Bluetooth settings. + +
+ +
+ +Of course, we can also check the device's operating status using the following commands. +```bash +ifconfig +``` + +
+ +
+ +```bash +bluetoothctl +``` + +
+ +
+ +### M.2 Key M for SSD + +M.2 Key M is an interface designed for high-speed solid-state drives (SSDs), providing ultra-fast data transfer speeds, ideal for high-performance applications. + +Out of the box, reComputer Industrial includes a 128GB industrial-grade SSD connected to the M.2 Key M slot with x4 PCIe Gen3, which is pre-installed with JetPack system. + +#### Hardware Connection + +If you want to remove the included SSD and install a new one, you need to ensure that your SSD meets the following two conditions: + +- Support the **M.2 Key M slot with x4 PCIe Gen3** interface. +- Conform to the **2242** size specification. + +
+ +
+ +#### Usage Instruction + +Open the terminal in Jetson device and enter the following command to test the SSD's read and write speed. + +```bash +sudo dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync +``` + +
+ +
+ +:::danger +Please run `sudo rm tempfile` command to delete the cache files after the test is complete. +::: + +### USB + +The reComputer Mini carrier board has a total of 4 USB ports: 2 USB 3.2 Type-A ports, 1 USB 2.0 Micro-B port for flash, and 1 USB 2.0 GH1.25 port. + +### Usage Instruction + +We can enter `watch -n 1 lsusb -tv` in the Jetson terminal to probe the USB ports. Once a USB device is connected, the detailed information about that port will be displayed here. + +
+ +
+ +Additionally, you can refer to [M.2 Key M](#m2-key-m-for-ssd) to test the read and write speed of USB storage devices. + +:::note +Please note, before testing, use the `cd` command to navigate to the folder where the USB storage device is mounted. +::: + +:::info +For the usage of the USB Micro-B interface, please refer to [this wiki](https://wiki.seeedstudio.com/reComputer_J4012_Flash_Jetpack/) for a detailed tutorial. +::: + + + + + +### RTC + +The reComputer Mini features RTC interfaces, providing accurate timekeeping even when the system is powered off. + +#### Connection Connection + +Connect a 3V CR2302 coin cell battery with JST connector to the 2-pin 1.25mm JST socket on the board. + +
+ +
+ + + + +### FAN + +The onboard fan interface of the reComputer Mini is managed by the nvfancontrol daemon, which adaptively adjusts the fan speed based on the operating status of the Jetson module. We can configure the working mode of the daemon through its configuration file `/etc/nvfancontrol.conf`. + +:::note +For more information, please check [here](https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/PlatformPowerAndPerformance/JetsonOrinNanoSeriesJetsonOrinNxSeriesAndJetsonAgxOrinSeries.html?highlight=fan#fan-profile-control). +::: + +Additionally, we can manually set the fan speed using the **jtop** tool. + +
+ +
+ + + + + + + + + + + + + + + + + ## Tech Support & Product Discussion From 264d1e6d181c2e5f504d2603b56aab73d28739f8 Mon Sep 17 00:00:00 2001 From: KasunThushara <73091563+KasunThushara@users.noreply.github.com> Date: Wed, 18 Dec 2024 07:29:21 +0530 Subject: [PATCH 18/25] ADD: FTP with rpi 4g LTE hat --- .../Applications/ftp_on_rpi_4g_lte_hat.md | 220 ++++++++++++++++++ sidebars.js | 1 + 2 files changed, 221 insertions(+) create mode 100644 docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat.md diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat.md new file mode 100644 index 000000000000..c7aeae0ce58a --- /dev/null +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat.md @@ -0,0 +1,220 @@ +--- +description: Elevate your IoT projects with FTP and 4G. Learn how to securely transfer files, automate tasks, and monitor remote devices using your Raspberry Pi 4G HAT. + +title: Connect and Transfer- FTP on Your Raspberry Pi 4G LTE HAT +keywords: + - Raspberry Pi Hat + - Getting started + - IIoT + - FTP + - 4G LTE + - Edge Computing +image: https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/1-114993408-LTE-CAT-4-EG25-GL-4G-HAT-for-Raspberry-Pi.webp +slug: /ftp_with_raspberry_pi_4g_lte_hat +last_update: + date: 12/17/2024 + author: Kasun Thushara +--- + +## Introduction + +FTP is useful for Raspberry Pi 4G LTE HAT applications, enabling reliable file transfers between embedded systems and remote servers. It simplifies **managing logs, configurations, or data files** in IoT and M2M communication setups. With its compatibility and straightforward commands, FTP ensures efficient integration for connected projects. + +## Prerequisites + +### Hardware Requirements + +
+ + + + + + + + + + + + + +
Raspberry Pi 5Raspberry Pi 4G LTE CAT4 HAT
+
+ +### Software Requirements + +If you have not installed relevant drivers and communication tools, please check the [guide](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/#software-preparation) first: + +### Addidtional Requirements + +You will need a pre-configured FTP server with the following details: + +- **Host**: For example, https://ftp.drivehq.com or a FileZilla Server. +- **Port**: 21. +- **Username and Password**: Credentials required for authentication. + +## AT Command Reference + +### Setting Up Network Context + +Before starting FTP operations, configure the PDP context for network connectivity. + +| **Command** | **Description** | +|------------------------------------|---------------------------------------------------------------------------| +| `AT+QICSGP=1,1,"apn_name","","",1` | Set PDP context for the FTP connection. Replace `apn_name` with your operator's APN. | +| `AT+QIACT=1` | Activate the PDP context. | +| `AT+QIACT?` | Verify PDP context activation. | + +--- + +### FTP Configuration +Configure the FTP session with necessary parameters. + +| **Command** | **Description** | +|----------------------------------------------|--------------------------------------------------------| +| `AT+QFTPCFG="contextid",1` | Link the FTP connection to PDP context 1. | +| `AT+QFTPCFG="account","username","password"` | Set FTP account credentials. Replace `username` and `password` with your FTP details. | +| `AT+QFTPCFG="filetype",1` | Set file type (1 for binary, 0 for ASCII). | +| `AT+QFTPCFG="transmode",1` | Set transfer mode (1 for passive, 0 for active). | +| `AT+QFTPCFG="rsptimeout",90` | Set the FTP response timeout (90 seconds). | + + +### Opening an FTP Session +Connect to the FTP server and navigate directories. + +| **Command** | **Description** | +|---------------------------------------|---------------------------------------------------| +| `AT+QFTPOPEN="ftp.drivehq.com",21` | Connect to the FTP server. Replace `ftp.drivehq.com` with your server address. | +| `AT+QFTPCWD="/"` | Change to the root directory. | +| `AT+QFTPLIST="."` | List files and directories in the current path. | + +--- + +### File Operations +There are a couple of ways to send and receive files: via USB COM port, RAM, or UFS. + + +| **Command** | **Description** | +|--------------------------------------|------------------------------------------------------| +| `AT+QFTPPUT="file_name","COM:",0` | Upload a file. Replace `file_name` with the desired name for the file on the server. | +| `AT+QFTPGET="file_name","COM:"` | Download a file. Replace `file_name` with the file to retrieve from the server. | +| `AT+QFTPLEN` | Check the length of the last file uploaded. | +| `AT+QFTPSIZE="file_name"` | Get the size of a specific file. Replace `file_name` with the target file's name. | + + +### Closing the FTP Session +End the FTP session and deactivate the PDP context. + +| **Command** | **Description** | +|---------------------|-----------------------------------------------| +| `AT+QFTPCLOSE` | Close the FTP session. | +| `AT+QIDEACT=1` | Deactivate the PDP context. | + +--- + +## Example Workflow + +If you're using Windows, open the **WinCOM** tool. For Raspberry Pi, launch **Minicom** by running the following command: + +```bash +sudo minicom -D /dev/ttyUSB2 +``` +### Step-by-Step + +1. **Setup Network Context**: + ```plaintext + AT+QICSGP=1,1,"dialogbb","","",1 + AT+QIACT=1 + AT+QIACT? + ``` +2. **Configure FTP**: + ```plaintext + AT+QFTPCFG="contextid",1 + AT+QFTPCFG="account","your_username","your_password" + AT+QFTPCFG="filetype",1 + AT+QFTPCFG="transmode",1 + AT+QFTPCFG="rsptimeout",90 + ``` +3. **Connect to FTP Server**: + ```plaintext + AT+QFTPOPEN="ftp.drivehq.com",21 + ``` +
+ +
+ +4. **Navigate Directories**: + ```plaintext + AT+QFTPCWD="/" + AT+QFTPLIST="." + ``` +
+ +
+ +5. **Upload File**: + ```plaintext + AT+QFTPPUT="test_my2.txt","COM:",0 + ``` +
+ +
+ +6. **Download File**: + ```plaintext + AT+QFTPGET="test_my2.txt","COM:" + ``` +
+ +
+ +7. **Close FTP Session**: + ```plaintext + AT+QFTPCLOSE + AT+QIDEACT=1 + ``` + +--- + +## Resources + +We highly recommend reviewing the Quectel TCP guide for this module, as it covers advanced topics. This guide can help you tailor your IoT project to meet specific requirements. + +- **[Web Page]** [FTP Application Guide](https://www.quectel.com/download/quectel_ec2xeg2xeg9xem05_series_ftps_application_note_v1-3/) + + + + +## Tech Support & Product Discussion + +Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs. + +
+ + +
+ +
+ + +
\ No newline at end of file diff --git a/sidebars.js b/sidebars.js index b282792966af..173559329d22 100644 --- a/sidebars.js +++ b/sidebars.js @@ -2737,6 +2737,7 @@ const sidebars = { 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi', 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss', 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mobile_internet_for_your_pi_rndis_4g_lte_set_up', + 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat', ], }, ], From 56e33c705a27cb9dc5b3b946d544d5788648d8e8 Mon Sep 17 00:00:00 2001 From: KasunThushara <73091563+KasunThushara@users.noreply.github.com> Date: Wed, 18 Dec 2024 07:42:54 +0530 Subject: [PATCH 19/25] Corrected :Typo --- .../Applications/ftp_on_rpi_4g_lte_hat.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat.md index c7aeae0ce58a..3143323e054b 100644 --- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat.md +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat.md @@ -53,7 +53,7 @@ FTP is useful for Raspberry Pi 4G LTE HAT applications, enabling reliable file t If you have not installed relevant drivers and communication tools, please check the [guide](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/#software-preparation) first: -### Addidtional Requirements +### Additional Requirements You will need a pre-configured FTP server with the following details: @@ -130,13 +130,13 @@ sudo minicom -D /dev/ttyUSB2 ### Step-by-Step 1. **Setup Network Context**: - ```plaintext + ``` AT+QICSGP=1,1,"dialogbb","","",1 AT+QIACT=1 AT+QIACT? ``` 2. **Configure FTP**: - ```plaintext + ``` AT+QFTPCFG="contextid",1 AT+QFTPCFG="account","your_username","your_password" AT+QFTPCFG="filetype",1 @@ -144,7 +144,7 @@ sudo minicom -D /dev/ttyUSB2 AT+QFTPCFG="rsptimeout",90 ``` 3. **Connect to FTP Server**: - ```plaintext + ``` AT+QFTPOPEN="ftp.drivehq.com",21 ```
@@ -155,7 +155,7 @@ sudo minicom -D /dev/ttyUSB2
4. **Navigate Directories**: - ```plaintext + ``` AT+QFTPCWD="/" AT+QFTPLIST="." ``` @@ -167,7 +167,7 @@ sudo minicom -D /dev/ttyUSB2 5. **Upload File**: - ```plaintext + ``` AT+QFTPPUT="test_my2.txt","COM:",0 ```
@@ -178,7 +178,7 @@ sudo minicom -D /dev/ttyUSB2
6. **Download File**: - ```plaintext + ``` AT+QFTPGET="test_my2.txt","COM:" ```
@@ -189,7 +189,7 @@ sudo minicom -D /dev/ttyUSB2
7. **Close FTP Session**: - ```plaintext + ``` AT+QFTPCLOSE AT+QIDEACT=1 ``` From b71744e57f121610ea98aaef6ba6dae896dffea1 Mon Sep 17 00:00:00 2001 From: KasunThushara <73091563+KasunThushara@users.noreply.github.com> Date: Wed, 18 Dec 2024 07:48:12 +0530 Subject: [PATCH 20/25] Updated: Typo --- .../Applications/ftp_on_rpi_4g_lte_hat.md | 35 +++++++++++-------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat.md index 3143323e054b..06da6409f2ce 100644 --- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat.md +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat.md @@ -130,23 +130,26 @@ sudo minicom -D /dev/ttyUSB2 ### Step-by-Step 1. **Setup Network Context**: - ``` + +```bash AT+QICSGP=1,1,"dialogbb","","",1 AT+QIACT=1 AT+QIACT? - ``` + ``` 2. **Configure FTP**: - ``` + +```bash AT+QFTPCFG="contextid",1 AT+QFTPCFG="account","your_username","your_password" AT+QFTPCFG="filetype",1 AT+QFTPCFG="transmode",1 AT+QFTPCFG="rsptimeout",90 - ``` +``` 3. **Connect to FTP Server**: - ``` + +```bash AT+QFTPOPEN="ftp.drivehq.com",21 - ``` +```
4. **Navigate Directories**: - ``` + +```bash AT+QFTPCWD="/" AT+QFTPLIST="." - ``` +```
5. **Upload File**: - ``` + +```bash AT+QFTPPUT="test_my2.txt","COM:",0 - ``` +```
6. **Download File**: - ``` + +```bash AT+QFTPGET="test_my2.txt","COM:" - ``` +```
7. **Close FTP Session**: - ``` + +```bash AT+QFTPCLOSE AT+QIDEACT=1 - ``` +``` --- From d490ae7cce5235a0ac2390e93d32a9ca966bcbc4 Mon Sep 17 00:00:00 2001 From: nfs0619 <1447996181@qq.com> Date: Wed, 18 Dec 2024 10:54:49 +0800 Subject: [PATCH 21/25] Updated the button for XIAO S3 Plus --- .../SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md index 6f5ce5d6b4f0..916f7ed53096 100644 --- a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md +++ b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_ESP32S3/XIAO_ESP32S3_Getting_Started.md @@ -41,7 +41,7 @@ import TabItem from '@theme/TabItem';
From a10374df60456cabb8690a6d8aa834c385d49866 Mon Sep 17 00:00:00 2001 From: KasunThushara <73091563+KasunThushara@users.noreply.github.com> Date: Wed, 18 Dec 2024 09:16:24 +0530 Subject: [PATCH 22/25] modified url --- .../Applications/send_text_massages_lte_cat_hat_for_rpi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md index 1b75f4903719..07a45eb10ae1 100644 --- a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/send_text_massages_lte_cat_hat_for_rpi.md @@ -10,7 +10,7 @@ keywords: - SMS - Edge Computing image: https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/sms_setup.png -slug: /send_recive_sms_raspberry_pi_4g_lte_hat +slug: /send_receive_sms_raspberry_pi_4g_lte_hat last_update: date: 12/11/2024 author: Kasun Thushara From 20239a91bc698539103b82d0781378a7219e6fe4 Mon Sep 17 00:00:00 2001 From: KasunThushara <73091563+KasunThushara@users.noreply.github.com> Date: Wed, 18 Dec 2024 10:53:17 +0530 Subject: [PATCH 23/25] ADD: MQTT on 4g rpi Hat --- .../Applications/mqtt_on_rpi_4g_lte_hat.md | 176 ++++++++++++++++++ sidebars.js | 1 + 2 files changed, 177 insertions(+) create mode 100644 docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mqtt_on_rpi_4g_lte_hat.md diff --git a/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mqtt_on_rpi_4g_lte_hat.md b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mqtt_on_rpi_4g_lte_hat.md new file mode 100644 index 000000000000..520ff1911359 --- /dev/null +++ b/docs/Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mqtt_on_rpi_4g_lte_hat.md @@ -0,0 +1,176 @@ +--- +description: Discover how the 4G LTE HAT for Raspberry Pi and MQTT protocol enable efficient, real-time communication for IoT and IIoT applications. Simplify remote connectivity with AT commands for scalable, high-speed data transmission and remote management. + +title: Setting Up 4G LTE Connectivity for IIoT with MQTT +keywords: + - Raspberry Pi Hat + - Getting started + - IIoT + - IoT + - MQTT + - Edge Computing +image: https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/sms_setup.png +slug: /mqtt_raspberry_pi_4g_lte_hat +last_update: + date: 12/18/2024 + author: Kasun Thushara +--- + +## Introduction + +The 4G LTE HAT for Raspberry Pi provides reliable, high-speed cellular connectivity, making it essential for remote and industrial IoT (IIoT) applications. With MQTT, a lightweight messaging protocol, devices can communicate efficiently over cellular networks, even in isolated locations. Using AT commands for configuration, it simplifies the process of connecting IoT devices to the network. This combination of 4G LTE and MQTT enhances real-time data transmission, enabling scalable IIoT solutions with remote management capabilities. + +## Prerequisites + +### Hardware Requirements + +
+ + + + + + + + + + + + + +
Raspberry Pi 5Raspberry Pi 4G LTE CAT4 HAT
+
+ +### Software Requirements + +#### Communication drivers and tools + +If you have not installed relevant drivers and communication tools, please check the [guide](https://wiki.seeedstudio.com/getting_started_raspberry_pi_4g_lte_hat/#software-preparation) first + +#### Mosquitto Explorer + +We will be using the Mosquitto broker, specifically the test broker available at **https://test.mosquitto.org** , which `does not require a username or password`. For convenience, it is recommended to [install Mosquitto](https://mqtt-explorer.com/) directly on your PC for testing purposes. + +
+ +
+ +## Using AT commands Let's connect to MQTT Broker + +**Step 1: Configure receiving mode** + +```bash +AT+QMTCFG="recv/mode",0,0,1 +``` +**Step 2: Open a network for MQTT client** + +```bash +AT+QMTOPEN=0,"test.mosquitto.org",1883 + +``` +**Step 3: Check MQTT connection status (optional)** + +```bash +AT+QMTOPEN? +``` + +**Step 4: Connect a client to the Mosquitto MQTT server** + +```bash +AT+QMTCONN=0,"clientExample" +``` + +:::note +Note that the client ID must be unique, so ensure you generate a highly unique one. Mosquitto's public broker does not require a username or password for access. +::: + +**Step 5: Publish a message to a topic** + +```bash +AT+QMTPUBEX=0,0,0,0,"test/topic",30 + +``` +:::note + when `>` appear type the massage and press ctrl+z +::: + +```bash +> This is test data, hello MQTT. +``` +Open Mosquitto Explorer and enter the topic you published to. You will see the updates appear there. + +
+ +
+ + +**Step 6: Subscribe to a topic** + +```bash +AT+QMTSUB=0,1,"test/topic",2 +``` + +Open Mosquitto Explorer and enter the topic and massage you want to publish to from the 4G module. + +
+ +
+ +You will then see the published message successfully subscribed to at the 4G module's end. + +
+ +
+ +**Step 7: Unsubscribe from a topic** + +```bash +AT+QMTUNS=0,2,"test/topic" +``` + +**Step 8: Disconnect the client from the MQTT server** +```bash +AT+QMTDISC=0 +``` + +## Resources + + +- **[PDF Book]** [MQTT Application Guide](https://files.seeedstudio.com/wiki/4g_hat_raspberry_pi_eg25_gl/Quectel_LTE_Standard_MQTT_Application_Note_V1.2.pdf ) + + + + +## Tech Support & Product Discussion + +Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs. + +
+ + +
+ +
+ + +
\ No newline at end of file diff --git a/sidebars.js b/sidebars.js index 98e57d46a11e..306c031daa5d 100644 --- a/sidebars.js +++ b/sidebars.js @@ -2738,6 +2738,7 @@ const sidebars = { 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/getting_start_with_raspberry_pi_4g_hat_and_quectel_gnss', 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mobile_internet_for_your_pi_rndis_4g_lte_set_up', 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/ftp_on_rpi_4g_lte_hat', + 'Network/RaspberryPi_Devices/LTE_CAT_4_EG25_GL_4G_HAT_for_Raspberry_Pi/Applications/mqtt_on_rpi_4g_lte_hat', ], }, ], From 3ef9d23d71aa02e83f530370742a52c122ea4bbc Mon Sep 17 00:00:00 2001 From: JasonWenTin Date: Thu, 19 Dec 2024 09:27:06 +0800 Subject: [PATCH 24/25] add tip for download lsm6ds3 library --- .../SeeedStudio_XIAO_MG24/XIAO-MG24-Built-in-Sensor.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_MG24/XIAO-MG24-Built-in-Sensor.md b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_MG24/XIAO-MG24-Built-in-Sensor.md index 8bbb64c8aab0..58f998260b55 100644 --- a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_MG24/XIAO-MG24-Built-in-Sensor.md +++ b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_MG24/XIAO-MG24-Built-in-Sensor.md @@ -124,7 +124,11 @@ void loop() { } } ``` +:::tip + +Due to the update of the LSM6DS3 library, if you have previously added this library to the user, you will need to re-download version 2.0.4 or higher and add the ZIP file to the Arduino. +::: ### Function Overview - **Include Libraries** ```cpp From f518b38530cc355f5de7fa2d1c99f2f2a7f9c51b Mon Sep 17 00:00:00 2001 From: addictCode <2286173541@qq.com> Date: Thu, 19 Dec 2024 11:18:39 +0800 Subject: [PATCH 25/25] update: watcher to nodered wiki update import code --- .../node_red_integration/watcher_node_red.md | 48 +++++++++++-------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/docs/Sensor/SenseCAP/SenseCAP_Watcher/Notifications/Http_Proxy_Application/node_red_integration/watcher_node_red.md b/docs/Sensor/SenseCAP/SenseCAP_Watcher/Notifications/Http_Proxy_Application/node_red_integration/watcher_node_red.md index 13c1be79ad39..19f920ce837e 100644 --- a/docs/Sensor/SenseCAP/SenseCAP_Watcher/Notifications/Http_Proxy_Application/node_red_integration/watcher_node_red.md +++ b/docs/Sensor/SenseCAP/SenseCAP_Watcher/Notifications/Http_Proxy_Application/node_red_integration/watcher_node_red.md @@ -203,57 +203,65 @@ Paste the following code into it and click **Import** button. ``` [ { - "id": "ae13bbcd03f719ce", + "id": "99b783856e77b41f", + "type": "tab", + "label": "Flow 2", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "2791b077ca7367c9", "type": "http in", - "z": "f6f2187d.f17ca8", + "z": "99b783856e77b41f", "name": "", "url": "/v1/notification/event", "method": "post", "upload": false, "swaggerDoc": "", - "x": 280, - "y": 360, + "x": 450, + "y": 460, "wires": [ [ - "139364fe839c4715" + "5de4e51231d87d00" ] ] }, { - "id": "93011c7c05cd8352", + "id": "61c50a0666f83a50", "type": "http response", - "z": "f6f2187d.f17ca8", + "z": "99b783856e77b41f", "name": "", "statusCode": "200", "headers": {}, - "x": 660, - "y": 360, + "x": 830, + "y": 460, "wires": [] }, { - "id": "139364fe839c4715", + "id": "5de4e51231d87d00", "type": "function", - "z": "f6f2187d.f17ca8", + "z": "99b783856e77b41f", "name": "", - "func": "// 在这个地方处理数据\n// 例如下面的,提取了报警信息\n// msg.payload = {\n// alertMsg: msg.payload.events.text\n// }\n msg.payload = {\n code: 200,\n msg:\"ok\",\n data: msg.payload\n}\nreturn msg;", + "func": "// here to process data\n// for example, extract alarm info \n// msg.payload = {\n// alertMsg: msg.payload.events.text\n// }\n msg.payload = {\n code: 200,\n msg:\"ok\",\n data: msg.payload\n}\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], - "x": 480, - "y": 360, + "x": 660, + "y": 460, "wires": [ [ - "93011c7c05cd8352", - "356cfd540bad72dd" + "61c50a0666f83a50", + "852490a1c300cd94" ] ] }, { - "id": "356cfd540bad72dd", + "id": "852490a1c300cd94", "type": "debug", - "z": "f6f2187d.f17ca8", + "z": "99b783856e77b41f", "name": "", "active": true, "tosidebar": true, @@ -262,8 +270,8 @@ Paste the following code into it and click **Import** button. "complete": "false", "statusVal": "", "statusType": "auto", - "x": 670, - "y": 420, + "x": 840, + "y": 520, "wires": [] } ]