Skip to main content

reComputer R1000 Getting Started

pir


The reComputer R1000 edge IoT controller is built on the high-performance Raspberry Pi CM4 platform, featuring a quad-core A72 processor with a maximum support of 8GB RAM and 32GB eMMC. Equipped with dual Ethernet interfaces that can be flexibly configured, it also includes 3 isolated RS485 channels supporting BACnet, Modbus RTU, Modbus TCP/IP protocols. With robust IoT network communication capabilities, the R1000 series supports multiple wireless communication options including 4G, LoRa®, Wi-Fi/BLE, allowing for flexible configurations to serve as corresponding wireless gateways. This controller is well-suited for remote device management, energy management, and various other scenarios in the field of smart buildings.

Feature

Designed for Building Automation System

  • Multiple isolated RS485 channels supports high and low speeds communication.
  • Supports BACnet, Modbus RTU, and Modbus TCP/IP protocol
  • Up to 8GB RAM supports the processing of thousands of data points, ensuring efficient performance
  • Clear dual-sided LED indicators help check operational status quickly
  • High-quality metal case, compatible with DIN-rail and Wall installation
  • Supports Yocto and Buildroot for customized OS

Powerful Performance

  • Powered by Raspberry Pi CM4
  • Broadcom BCM2711 quad-core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz
  • Up to 8GB RAM and 32GB eMMC

Rich Wireless Capabilities

  • On-chip Wi-Fi
  • On-chip BLE
  • Mini-PCIe1: LTE, USB LoRa®, USB Zigbee
  • Mini-PCIe2: SPI LoRa®, USB LoRa®, USB Zigbee

Rich Interfaces

  • 3x RS485 (isolated)
  • 1x 10M/100M/1000M Ethernet (Support PoE)
  • 1x 10M/100M Ethernet
  • 1x HDMI 2.0
  • 2x Type-A USB2.0
  • 1x Type-C USB2.0 (USB console for OS update)
  • 1x SIM card slot

Safety and Reliability

  • Hardware Watchdog
  • UPS Supercapacitor(optional)
  • Metal casing with PC side panels
  • ESD: EN61000-4-2,level 3
  • EFT: EN61000-4-4, level 2
  • Surge: EN61000-4-5, level 2
  • Production Lifetime: reComputer R1000 will remain in production until at least December 2030

*4G and LoRa® modules does not come with reComputer R1000 by default, please purchase the relevant modules accordingly.

Naming Conventions

pir

Specifications

ParameterDescription
Hardware Spec
Product SeriesR10xx-10R10xx-00
CPURaspberry Pi CM4, Quad-core Cortex-A72@ 1.5GHz
Operating SystemRaspbian, Debian
RAM1GB/2GB/4GB/8GB
eMMC8GB/16GB/32GB
System Spec
Input2-pin Terminal Block
PoE(as powered device)IEEE 802.3af Standard 12.95W PoE*
Supply Voltage(AC/DC)12~24V AC/9~36V DC
Overvoltage Protection40V
Power ConsumptionIdle:2.88W; Full Load:5.52W
Power SwitchNo
Reboot SwitchYes
Interface
Ethernet1 x 10/100/1000 Mbps(supports PoE*)
1 x 10/100 Mbps IEEE802.3/802.3u
USB2 x USB-A 2.0 Host
1 x USB-C 2.0 (For flashing OS)
RS4853 x 3-pin Terminal Block (isolated)
HDMI1 x HDMI 2.0
SIM Card Slotsupports Standard SIM Card
M.2 Slotsupports M.2 NVMe SSD
LED6 x LED indicators
Buzzer1
Reset Button1
DSI(reserved)supports LCD*(on board within the enclosure)
Speaker(reserved)supports Microphone*(on board within the enclosure)
Wireless Communication
Wi-Fi 2.4/5.0 GHzOn-chip Wi-Fi*No
BLE 5.0On-chip BLE*No
LoRa®USB LoRa®/SPI LoRa®*
4G Cellular4G LTE*
ZigbeeUSB Zigbee*
Standards
EMCESD: EN61000-4-2, Level 3
EFT: EN61000-4-4, Level 2
Surge: EN61000-4-5, Level 2
CertificationCE, FCC
TELEC
RoHS
REACH
Ambient Conditions
Ingress ProtectionIP40
Operating Temperature-30~70 °C
Operating Humidity10~95% RH
Storage Temperature-40~80 °C
Others
Supercapacitor UPSSuperCAP UPS LTC3350 Module*
Hardware Watchdog1~255s
RTCHigh Accuracy RTC
SecurityEncryption Chip TPM 2.0*
ATECC608A
Heat DissipationFanless
Warranty2 years
Production LifetimeUntil December 2030
StatementOptions marked with * require additional purchase according to the accessories list.
Component and Interface Status Statement
ReservedDesignated for future use or expansion.
OptionalNon-essential components, users can choose to include or exclude.
OccupiedCurrently in use and integral to product functionality.
IncludedEssential components provided with standard package.
Mechanical
Dimension(W x H x D)130 mm x 93 mm x 49.6 mm
Enclosure6061 Aluminum Alloy Casing with Transparent PC Side Panels
MountingDIN-rail/Wall
Weight(Net)560g

Hardware Overview

Mainboard Overview

Power Diagram

The reComputer R1000 supports three power supply options: AC, DC terminal and PoE port. By default, the reComputer R1000 is powered through the AC/DC terminal (Official regional power adapter SKU:110061505/110061506), while the PoE power supply(PoE module, SKU:110991925) is optional. This provides flexibility in power supply selection and allows for easy integration with various power sources.

2-Pin Power terminal

The reComputer R1000 is supplied with a nominal AC voltage of 12~24 V or DC voltage of 9~36V. The power supply is connected via the 2-pin power terminal block connector. To ground the reComputer R1000, the ground wire can be secured to the screw located at the top left corner of the power terminal.

note

The power solution utilizes a bridge rectifier diode for reverse polarity protection and is compatible with both AC and DC inputs. This ensures that regardless of how the power supply's positive and negative terminals are connected, the circuit will not be damaged. By using a bridge rectifier, the output voltage polarity remains fixed irrespective of the input DC polarity, providing effective reverse polarity protection.

POE (optional)

With the PoE module installed, the ETH0 port of reComputer R1000 can support PoE power supply, providing a convenient and efficientway to power the device over Ethernet. This option simplifies the installation process and reduces the amount of cabling required, making it an ideal solution for applications with limited power sources or where power outlets are not readily available.

  • PoE input: Range 44~57V; Typical 48V
  • PoE output: 12V, 1.1A Max.
note

It's worth noting that the PoE module provided with the reComputer R1000 is compliant with the IEEE 802.3af standard and can provide a maximum power supply of 12.95W. Therefore, if there is a need to connect high-power peripherals such as SSD or 4G modules, the PoE power supply may not be sufficient. In this case, it's recommended to use the AC/DC terminal for power supply instead to ensure stable and reliable operation of the device.

Power Consumption

Please refer to the table below for the tested power consumption of reComputer R1000 in Seeed Studio's laboratory. Please note that this value is for reference only, as the test methods and environment can result in variations in the results.

StatusVoltageCurrentPower ConsumptionDescription
Shutdown24V51mA1.224WStatic power consumption test in shutdown and power-off state.
Idle24V120mA2.88WTo test the input current when supplying 24V power to the reComputer R1000 device without running any test programs.
Full Load24V230mA5.52WConfigure CPU to run at full load using the "stress -c 4" command. No external devices connected.

Power On and Power Off

The reComputer R1000 does not come with a power button by default, and the system will automatically start up once power is connect- ed. When shutting down, please select the shutdown option in the operating system and wait for the system to fully shut down before cutting off power. To restart the system, simply reconnect to the power.

note

Please note that after shutting down, please wait for at least 10 seconds before restarting the system to allow for the internal capacitors to fully discharge.

Block Diagram

IIC Diagram

Interface

Interface
Ethernet1 x 10/100/1000 Mbps IEEE 1588-2008(supports PoE*)
1 x 10/100 Mbps IEEE802.3/802.3u
USB2 x USB-A 2.0 Host
1 x USB-C 2.0 (for flashing OS)
RS4853 x 3-pin Terminal Block (isolated)
HDMI1 x HDMI 2.0
SIM Card Slotsupports Standard SIM Card
M.2 Slotsupports M.2 NVMe SSD
LED6 x LED indicators
Buzzer1
Reset Button1
HDMI1 x HDMI 2.0
DSIsupports LCD*(on board within the enclosure)
Speaker*supports Microphone*(on board within the enclosure)

To query GPIO mappings and offsets, please use following command:

cat /sys/kernel/debug/gpio

LED Indicator Status

The reComputer R1000 features 6 LED indicators that serve to signal the machine's operational status. Please refer to the table below for the specific functions and status of each LED:

LED IndicatorColorStatusDescription
PWRGreenOnThe device has been connected to power.
OffThe device is not connnected to power.
ACTGreenUnder Linux this pin will flash to signify eMMC access.
If any error occurs during booting, then this LED will flash an
error pattern which can be decoded using the look up table on the Raspberry Pi website.
USERGreen/Red/BlueNeed to be defined by user.
RS485-1GreenOffNo data transfer on RS485 channel 1.
BlinkRS485 channel 1 is receiveing or sending data.
RS485-2GreenOffNo data transfer on RS485 channel 2.
BlinkRS485 channel 2 is receiveing or sending data.
RS485-3GreenOffNo data transfer on RS485 channel 3.
BlinkRS485 channel 3 is receiveing or sending data.

ACT Status table

Long flashesShort flashesStatus
03Generic failure to boot
04start*.elf not found
07Kernel image not found
08SDRAM failure
09Insufficient SDRAM
010In HALT state
21Partition not FAT
22Failed to read from partition
23Extended partition not FAT
24File signature/hash mismatch - Pi 4
44Unsupported board type
45Fatal firmware error
46Power failure type A
47Power failure type B

If the ACT LED blinks in a regular four blink pattern, it cannot find bootcode (start.elf) If the ACT LED blinks in an irregular pattern then booting has started. If the ACT LED doesn't blink, then the EEPROM code might be corrupted, try again without anything connected to make sure. For more detail please check the Raspberry Pi forum: STICKY: Is your Pi not booting? (The Boot Problems Sticky) - Raspberry Pi Forums For more detail please check the Raspberry Pi forum.

In this section we will use the raspi-gpio tool to test with GPIOs, you can use the raspi-gpio help to view the manual:

raspi-gpio help
1. The pin controlling the third LED of reComputer R1000 is gpio20. To get specific GPIO status, Please enter following command in the Terminal :
raspi-gpio get 20
2. Change the state of gpio20:
#set current pin state
sudo raspi-gpio set 20 dl
#get the pin state after set
raspi-gpio get 20
3. The third led-user LED will light up.

Buzzer

The reComputer R1000 features an active buzzer, which can be used for various purposes such as alarm and event notifications. The buzzer is controlled through GPIO21 to CM4.

To turn off(on) the buzzer, Please enter following command in the Terminal :

# Turn off the buzzer using LED brightness
raspi-gpio set 21 op dl
# Turn on the buzzer using LED brightness
raspi-gpio set 21 op dh

RS485

The reComputer R1000 is equipped with 3 sets of RS485 interface using 3-pin connector, which is isolated for both signal and power to ensure safe and reliable operation in industrial and automation applications. The RS485A and RS485B signals are isolated using capacitive isolation, which provides excellent EMI immunity and meets the high-speed communication requirements of the RS485 interface. By default, 120Ω terminal resistors is not installed. However, the packaging box includes five surface-mount resistors. If needed, users should solder the resistor onto the device themselves.

note

The RS485 interface uses an isolated power supply, which means that the ground signal for external devices connected to the RS485 interface should be connected to the GND_ISO pin.

These are the pins related to the 485 interface of reComputer for the data table.

RS485RS485_POWER_ENOS device fileP14default(High)
TX5/dev/ttyAMA5GPIO12
RX5GPIO13
TX2ID_SD/dev/ttyAMA2GPIO0/ID_SD
RX2ID_SCGPIO1/ID_SC
TX3/dev/ttyAMA3GPIO4
RX3GPIO5
RS485_1_DE/RE(Hight/DE || Low/RE)/dev/ttyAMA2GPIO6default Low
RS485_2_DE/RE/dev/ttyAMA3GPIO17default Low
RS485_3_DE/RE/dev/ttyAMA5GPIO24default Low

By default, the power enable port of the RS485 port is high. And each RS485 interface is in the accepting state. You can do a simple experiment.

The 485 port that connects the pc to the reComputer-R.

Enter in the terminal of reComputer:

cat /dev/ttyAMA2

Then send some data in the serial debugging tool of your computer, you can observe the data in the terminal window of reComputer.


Boot Switch

The Boot Switch of the reComputer R1000 is connected to the nRPI_BOOT pin of CM4. This switch provides users with the option to select the boot source between eMMC and USB. In normal mode, the switch should be set away from the side with the "BOOT" label, enabling the system to boot from eMMC. Conversely, when users need to flash the system image, they should set the switch towards the "BOOT" label, allowing the system to boot from the Type-C USB interface.

Switch PositionModeDescriptionnRPI-BOOT
imageNormal modeBoot from eMMCLow
imageFlash modeBoot from USBHigh

USB

The reComputer R1000 is equipped with one USB Type-C port and two USB Type-A ports. Please refer to the table below for their functions and descriptions.

TypeQuantityProtocolFunctionDescription
Type-C*1USB2.0USB-DeviceUsed for serial port debugging, burning image, etc.
Type-A*2USB2.0USB-HostConnect different USB devices such as flash drives,
USB keyboards or mouses.

Check if the USB hub is detected by running the lsusb command. This command lists all connected USB devices, including hubs.

lsusb

Running this command should display information about the USB devices connected to your system, including any USB hubs that are present.

If the USB hub is functioning properly, you should see its details listed in the output of the lsusb command. If it's not listed, there may be an issue with the hub or its connection to the system. In such cases, you may need to troubleshoot the USB hub or its connections.

SIM Slot



The reComputer R1000 uses a standard-size SIM card slot commonly found in industrial applications, which requires a standard SIM card with dimensions of 25mm x 15mm. :::note Please note that the standard version of reComputer R1000 does not come with a 4G module. If you require 4G functionality, an additional 4G module must be purchased separately. :::

SSD Slot


The SSD slot on the reComputer R1000 is designed to accommodate NVMe M.2 2280 SSDs for 128GB, 256GB, 512GB and 1TB in capacity. This slot allows for high-speed storage expansion, enabling users to enhance the performance and capacity of their system.

To list the disks, including the SSD, you can use the fdisk -l command. Here's how:

sudo fdisk -l

This command will display a list of all disks connected to your system, including the SSD if it's properly detected. Look for entries that represent your SSD. They typically start with /dev/sd followed by a letter (e.g., /dev/sda, /dev/sdb, etc.). Once you identify the entry corresponding to your SSD, you can proceed with partitioning or formatting it as needed.

note

There are two main uses for SSD cards:
1.High Capacity Storage: SSD cards can be utilized for high-capacity storage needs.
2.Boot Drive with Image: Another usage involves using the SSD both as a high-capacity storage and for storing system images, allowing booting directly from the SSD card.
It's important to note that not all SSD cards available in the market support the second usage. Therefore, if you intend to use it as a boot drive and are unsure about which model to purchase, we recommend opting for our recommended 1TB SSD(SKU 112990267). This model has been tested and verified for boot functionality, reducing the risk of compatibility issues and minimizing trial and error costs.

Mini-PCle Slot



SlotSupported Protocol
Mini-PCIe 14G LTE
USB LoRa®
USB Zigbee
Mini-PCIe 2SPI LoRa®
USB LoRa®
USB Zigbee

This device features two Mini-PCIe interfaces, namely Mini-PCIe Slot 1 and Mini-PCIe Slot 2. Slot 1 connects to SIM card slot and supports USB protocols, while Slot 2 supports both USB and SPI protocols but doesn't connect to SIM card slot. Therefore, devices such as 4G LTE, USB LoRa®, and USB Zigbee can be connected through Slot 1, while SPI LoRa®, USB LoRa®, and USB Zigbee devices can be connected through Slot 2.

Reset Hole

There is a Mini Push Button Switch located in the reset hole of reComputer R1000. By pressing this button with a thin object, the CM4 can be reset. This pin when high signals that the CM4 has started. Driving this pin low resets the module.

Ethernet RJ45


NameTypeSpeedsPoE
ETH0CM4 native Gigabit Ethernet10/100/1000 Mbit/sSupported (with additional module)
ETH1Converted from USB10/100 Mbit/sNot Supported

The reComputer R1000 comes with two Ethernet RJ45 ports. ETH0 is a CM4 native Gigabit Ethernet interface that supports three different speeds: 10/100/1000 Mbit/s. An additional PoE module can be purchased to enable power-over-Ethernet (PoE) delivery through this interface, providing power to the reComputer R1000. Another one ETH1 supports 10/100 Mbit/s which is converted from USB.

HDMI

The reComputer R1000 features a native HDMI interface from CM4, supporting up to 4K @ 60 fps video output. It is ideal for applications that require multiple displays, allowing users to output their content to external large screens.

RTC

The reComputer R1000 features an RTC circuit that comes pre-installed with a CR2032 battery, enabling it to maintain timekeeping functionality even in the event of power loss.

To test the Real-Time Clock (RTC) functionality, follow these steps:

  1. Disable automatic time synchronization:
sudo systemctl stop systemd-timesyncd
sudo systemctl disable systemd-timesyncd
  1. Set the time to 12:00 PM on March 20, 2024:
sudo hwclock --set --date "2024-03-20 12:00:00"
  1. Synchronize the RTC time to the system:
sudo hwclock --hctosys
  1. Check the RTC time:
sudo hwclock -r

This command will read and display the time stored in the RTC. 5. Disconnect the power source from the RTC, wait a few minutes, then reconnect it and check the RTC time again to see if it retained the correct time.

Watchdog

The reComputer R1000 comes equipped with an independent hardware watchdog circuit that ensures automatic system reboot in case of abnormal system crashes. The watchdog circuit is implemented through RTC and allows for flexible feeding times from 1 to 255 seconds.

To perform a watchdog test, follow these steps:

  1. Install the watchdog software:
sudo apt install watchdog 
  1. Edit the watchdog configuration file:
# make sure you install vim already, if haven't, can install by the command below
sudo apt-get install vim
sudo vim /etc/watchdog.conf

Modify the configuration as follows:

watchdog-device     = /dev/watchdog
# Uncomment and edit this line for hardware timeout values that differ
# from the default of one minute.vi
watchdog-timeout = 120
# If your watchdog trips by itself when the first timeout interval
# elapses then try uncommenting the line below and changing the
# value to 'yes'.
#watchdog-refresh-use-settimeout = auto
# If you have a buggy watchdog device (e.g. some IPMI implementations)
# try uncommenting this line and setting it to 'yes'.
#watchdog-refresh-ignore-errors = no
# ====================== Other system settings ========================
#
# Interval between tests. Should be a couple of seconds shorter than
# the hardware time-out value.
interval = 15
max-load-1 = 24
#max-load-5 = 18
#max-load-15 = 12
realtime = yes
priority = 1

You can adjust other settings as needed. 3. Ensure the watchdog service is running:

sudo systemctl start watchdog
  1. To test the watchdog functionality, execute the following command to simulate a system hang:
sudo su
echo 1 > /proc/sys/kernel/sysrq
echo "c" > /proc/sysrq-trigger
danger

This command triggers a kernel crash and should cause the watchdog to reboot the system.

  1. Monitor the system to confirm that it reboots after the specified timeout period. These steps will help you test and ensure the functionality of the watchdog timer on your system.

Optional Interfaces and Modules

The reComputer R1000 supports a rich selection of expansion modules and accessories, making it suitable for a wide range of scenarios and requirements. If you are interested in customizing the reComputer R1000, please [email protected] for more information. Here is the accessories and optional modules list:

RemarkItemProduct NameSKU
Must be used together for LoRa®WAN FunctionLoRa® ModuleRegion optional LoRaWAN Gateway Module(SPI)-US915114992969
Region optional LoRaWAN Gateway Module(SPI)-EU868114993268
Region optional LoRaWAN Gateway Module(USB)-US915114992991
Region optional LoRaWAN Gateway Module(USB)-EU868114992628
LoRa® AntennaLoRa Antenna Kit - 868-915 MHz110061501
Zigbee ModuleMini-PCIe USB Zigbee Module110992005
Zigbee AntennaZigbee Antenna Kit for reComputer R110061641
This accessory is required for Wi-Fi functionWi-Fi/BLE AntennaRaspberry Pi Compute Module 4 Antenna Kit114992364
4G antenna with 4G module for 4G function, GPS antenna with 4G module for GPS function4G moduleLTE Cat 4 EC25-AFXGA-Mini-PCIe Module - for North American113991134
LTE Cat 4 EC25-EUXGR-Mini-PCIe Module - for EMEA and Thai113991135
LTE Cat 4 EC25-AUXGR-Mini-PCIe Module - for Australia113991174
LTE Cat 4 EC25-EFA-Mini-PCIe Module - for Thai113991214
LTE Cat 4 EC25-EMGA-Mini-PCIe Module - for Malaysia113991234
LTE Cat 4 EC25-JFA-mini-PCIe113991296
4G Antenna4G Antenna Kit for 4G module110061502
GPS AntennaGPS Antenna Kit for EC25 4G Module110061521
Encryption Chip TPM 2.0TPM 2.0 Module with infineon SLB9670114993114
SSD cardNVMe M.2 2280 SSD 1TB112990267
512GB NVMe M.2 PCle Gen3x4 2280 Internal SSD112990247
256GB NVMe M.2 PCle Gen3x4 2280 Internal SSD112990246
128GB NVMe M.2 PCle Gen3x4 2280 Internal SSD112990226
This module needs to be soldered onto the carrier board of the reComputer R1000PoEMQ7813T120 PoE Module Kit for reTerminal DM110991925
UPSSuperCAP UPS LTC3350 Module110992004

The reComputer R1000 mainboard features two Mini-PCIe slots. Mini-PCIe slot 1 supports 4G module, LoRa® module using the USB protocol and Zigbee module using USB protocol; while Mini-PCIe slot 2 supports LoRa® module using the USB and SPI protocol and Zigbee module using USB protocol.

note

Can not plug in 2 LoRa® modules on board.

Wi-Fi/BLE

The reComputer R1000-10 is powered by the CM4 with an onboard Wi-Fi/BLE version, providing the same Wi-Fi/BLE parameters as the CM4. For detailed parameter information, please refer to the Raspberry Pi official website.

note

It is important to note that due to the reComputer R1000's metal casing, Wi-Fi/BLE signals may have difficulty penetrating the metal exterior. If you require Wi-Fi/BLE functionality, it is recommended to purchase an external antenna and click here for assemble instruction.

Connect wifi

step1. To scan for Wi-Fi networks:

nmcli dev wifi list

step2. Connect to the wifi network:

sudo nmcli dev wifi connect network-ssid password "network-password"
sudo nmcli --ask dev wifi connect network-ssid #If you don't want to write your password on the screen, you can use the --ask option.

step3. After the device is powered on, it will automatically connect to wifi. If you want to delete the saved WiFi information:

nmcli con del network-ssid

After the connection is disconnected, connect to another wifi.

Connect bluetooth devices

Before adding a Bluetooth device, the Bluetooth service on your computer must be started and running. You can check this with the systemctl command.

sudo systemctl status bluetooth

If the Bluetooth service status is not active, you must enable it first. Then start the service so that it starts automatically when you start your device.
sudo systemctl enable bluetooth
sudo systemctl start bluetooth

You can use the bluetoothctl tool to connect and manage Bluetooth, the following are some common commands and comments:

#Scan attachments to the device
bluetoothctl scan on

#To make your Bluetooth adapter discoverable to other devices, use the following command:
bluetoothctl discoverable on


#Replace A4:C1:38:F4:83:2E below with the Media Access Control (MAC) address you want to connect to
#Pair a new Bluetooth device
bluetoothctl pair A4:C1:38:F4:83:2E

#Connect previously paired devices
bluetoothctl connect A4:C1:38:F4:83:2E

#View the list of devices paired with the system
bluetoothctl paired-devices

#When a Bluetooth device is trusted, the system automatically connects to it after discovering it
bluetoothctl trust A4:C1:38:F4:83:2E

#Cancel trust
bluetoothctl untrust A4:C1:38:F4:83:2E

#Remove a paired Bluetooth device
bluetoothctl remove A4:C1:38:F4:83:2E

#Disconnect the Bluetooth connection, but do not remove it from the paired list
bluetoothctl disconnect A4:C1:38:F4:83:2E

#Block specific devices from connecting to your system
bluetoothctl block A4:C1:38:F4:83:2E

#Unblock device
bluetoothctl unblock A4:C1:38:F4:83:2E


#Use interactive mode and exit
bluetoothctl
exit

4G Module

pir

The reComputer R1000 mainboard features two Mini-PCIe slots, with Mini-PCIe slot 1 supporting a 4G module using the USB protocol. The EC25 4G module from Quectel has been fully tested to be compatible with the reComputer R1000.

note

Please note that if you require 4G functionality, it is necessary to purchase the corresponding 4G module and external antenna. Please click here for assemble instruction.

To interact with a 4G module using AT commands via minicom, follow these steps:

Step 1. Please put in the 4G enabled sim-card in the sim card slot, before you power up the system.

Step 2. Check if EC25-EUX gets detectd by using lsusb

lsusb
lsusb -t

Step 3. Install the serial communication tool minicom.

sudo apt install minicom

Step 4. Connect EC25-EUX 4G module through minicom.

sudo minicom -D /dev/ttyUSB2 -b 1152008n1

once the serial connection opened, Type in AT and press 'Enter', and you should see OK.

Step 5. Enable 4G module to connect to 4G network

AT the same minicom serial window please type:

AT+QCFG="usbnet"

It will return something like +QCFG: "usbnet",0, but we need that to be set to 1 (ECM mode), so enter the following command:

AT+QCFG="usbnet",1

Then enter the following command to force the modem to reboot:

AT+CFUN=1,1

Then you could reboot or wait for a while for the moudel to get internet from your sim card carrier.

You can also use the command ifconfig to query the networking status of reComputer R1000.

LoRa® Module

note

Both two Mini-PCIe slots supports LoRa® module using the USB protocol. Meanwhile, Mini-PCIe slot2 supports a LoRa® module using the SPI protocol. The WM1302 module from Seeed Studio has been fully tested to be compatible with the reComputer R1000. However the USB verison will need to uiltising the Mini PCIe designed for 4G Moudle which means if you want to use the both 4G Module and LoraWAN® Module Please choose SPI version of the WM1302 LoraWAN® Module.


Please note that if you require LoRa® functionality, it is necessary to purchase the corresponding LoRa® module and external antenna.

pir


Step 1. Please refer to the LoraWAN® Module Hardware assembly guide to install WM1302 SPI LoraWAN® Module into the LoraWAN® Mini PCIe slot which you should see the Lora slikscreen.

Step 2. type sudo raspi-config in command line to open Raspberry Pi Software Configuration Tool:

  • Select Interface Options
  • Select SPI, then select Yes to enable it
  • Select I2C, then select Yes to enable it
  • Select Serial Port, then select No for "Would you like a login shell..." and select Yes for "Would you like the serial port hardware..."

After this, please reboot Raspberry Pi to make sure these settings work.

Step 3. Download the WM1302 code to reComputer R1000 and compile it.

cd ~/
git clone https://github.com/Lora-net/sx1302_hal
cd sx1302_hal
sudo vim ./libloragw/inc/loragw_i2c.h

Change #define I2C_DEVICE "/dev/i2c-1" to #define I2C_DEVICE "/dev/i2c-3".

sudo make

Step 4. Copy the reset_lgw.sh script

vim ./tools/reset_lgw.sh

Modify the code:

SX1302_RESET_PIN=580     # SX1302 reset
SX1302_POWER_EN_PIN=578 # SX1302 power enable
SX1261_RESET_PIN=579 # SX1261 reset (LBT / Spectral Scan)
// AD5338R_RESET_PIN=13 # AD5338R reset (full-duplex CN490 reference design)
cp ./tools/reset_lgw.sh ./packet_forwarder/

Step 5. Modify the content of the global_conf.json.sx1250.EU868 configuration file:

cd packet_forwarder
vim global_conf.json.sx1250.EU868

Change "com_path": "/dev/spidev0.0" to "com_path": "/dev/spidev0.1"

Step 6. Start LoraWAN® Module

Then run the following code to start LoraWAN® Module according to your WM1302 operation frequence version.

cd ~/sx1302_hal/packet_forwarder
./lora_pkt_fwd -c global_conf.json.sx1250.EU868

Zigbee Module

The Mini-PCIe slots offer support for Zigbee modules utilizing the USB protocol, allowing for seamless integration of Zigbee functionality into compatible devices. This feature enables efficient communication and control within Zigbee networks, enhancing the versatility and connectivity of the system. With two Mini-PCIe slots available for Zigbee modules, users have the flexibility to implement diverse applications for enhanced reliability.

note

Please note that if you require Zigbee functionality, it is necessary to purchase the corresponding Zigbee module and external antenna. Please click here for assemble instruction.

To test Zigbee communication with two Zigbee modules, follow these steps:

Step 1. Check Serial Ports: Use the following command to check available serial ports:

cat /dev/ttyUSB*

Step 2. Install Serial Communication Tool:

sudo apt install minicom

Step 3. Open Serial Port for Coordinator (First Zigbee Module):

sudo minicom -D /dev/ttyUSB2 -b 1152008n1 -w -H

Follow these steps to configure the first Zigbee module:

  • Set as coordinator: Send command 55 04 00 05 00 05, expect response 55 04 00 05 00 05.
  • Reset device: Press reset button or send command 55 07 00 04 00 FF FF 00 04.
  • Network formation: Send command 55 03 00 02 02.

Step 4. Open Serial Port for Router (Second Zigbee Module):

Open another instance of minicom and configure it for the second serial port with the same settings as before.

Follow these steps to configure the second Zigbee module:

  • Set as router: Send command 55 04 00 05 01 04, expect response 55 04 00 05 00 05.
  • Reset device: Press reset button or send command 55 07 00 04 00 FF FF 00 04.
  • Network formation: Send command 55 03 00 02 02.

Step 5. Check Device Status: Send command 5 03 00 00 00 to check the device status. Expect a response similar to 55 2a 00 00 00 01 XX XX XX XX, where XX represents device information.

Step 6. Enter Transparent Mode: If network formation is successful, enter transparent mode by sending command 55 07 00 11 00 03 00 01 13. Both modules should be in transparent mode for direct communication. To exit transparent mode, send +++.

Step 7. Additional Notes:

  • If router configuration fails, the device may already be a coordinator. Leave the network using command 55 07 00 04 02 xx xx xx.
  • Test transmission power using commands 55 04 0D 00 00 0D (query) and 55 04 0D 01 XX XX (set).

Ensure you replace /dev/ttyUSB* with the correct serial port for each Zigbee module. Follow these steps carefully to test Zigbee communication between the two modules successfully.

PoE

The reComputer R1000 worked as powered devices can support the IEEE 802.3af standard by adding a PoE power supply module. Users need to disassemble the device to install the PoE module for Ethernet PoE function.

note

The reComputer R1000 supports PoE power supply, but the standard product does not include a PoE module by default. Seeed can provide PoE soldering and assembly services for batch customization orders. However, if a customer is testing a sample, they will need to solder and assemble the PoE module themselves.

M.2 Slot

The reComputer R1000 supports 2280 NVMe SSD and AI accelerator(Hailo) through the use of a PCIe slot(J62) below two Mini-PCIe slots on board. It is important to note that the CM4's PCIe is gen2.0 with a maximum theoretical speed of 5Gbps. If you are using a Gen3.0 or higher SSD, it may not be able to achieve the SSD's maximum speed. After testing, the reTerminal DM with installed SSD can achieve a maximum write speed of 230MB/s and a maximum read speed of 370MB/s. If you are unsure which SSDs are compatible, you can purchase following the accessories list below.

Please click here for assemble instruction.

SSD cardNVMe M.2 2280 SSD 1TB112990267
512GB NVMe M.2 PCle Gen3x4 2280 Internal SSD112990247
256GB NVMe M.2 PCle Gen3x4 2280 Internal SSD112990246
128GB NVMe M.2 PCle Gen3x4 2280 Internal SSD112990226
note

Please note that:
1- The speed test results may vary depending on the SSD model, testing method, and testing environment. The values provided here are for reference purposes only and were obtained in Seeed's laboratory.

There are two main uses for SSD cards:
1.High Capacity Storage: SSD cards can be utilized for high-capacity storage needs.
2.Boot Drive with Image: Another usage involves using the SSD both as a highcapacity storage and for storing system images, allowing booting directly from the SSD card.
It's important to note that not all SSD cards available in the market support the second usage. Therefore, if you intend to use it as a boot drive and are unsure about which model to purchase, we recommend opting for our recommended 1TB SSD(SKU 112990267). This model has been tested and verified for boot functionality, reducing the risk of compatibility issues and minimizing trial and error costs.

Encryption Chip TPM 2.0

The TPM features Infineon’s OPTIGA™ TPM SLB9670 which is compliant to the Trusted Computing Group (TCG) TPM 2.0 specification is recommened as encryption chip to the reComputer R1000. The chip features an SPI interface applied for port J13 on board, to enable a root of trust for platform integrity, remote attestation, and cryptographic services.

If you connect TPM 2.0 module to device, the following code can help check TPM connection.

ls /dev | grep tpm

If you see tpm0 and tpmrm0 in the output, it means that TPM (Trusted Platform Module) devices are detected and available on your system. This indicates that the TPM hardware is recognized and accessible, which is a good sign. You can proceed with using TPM-related functionalities or applications knowing that the devices are present and accessible.

UPS

The UPS is 7F, which operates in series. The UPS module is positioned between the DC5V and CM4 components, with a GPIO signal utilized to alert the CPU in the event of a power loss from the 5V supply. Upon receiving this signal, the CPU executes an urgent script before the super capacitor's energy is depleted, initiating a "$ shutdown" command.


The backup duration provided by the UPS heavily relies on the system load. Below are some typical scenarios tested with a CM4 module featuring 4GB RAM, 32GB eMMC storage, and a Wi-Fi module.
Mode of OperationTime(s)Remark
Idle37Testing under idle conditions with official driver program loaded
Full load of CPU18stress -c 4 -t 10m -v &
note

For UPS function please contact us for more information, and the alarm signal is active LOW. Please click here for assemble instruction.

A GPIO25 between CPU and DC/AC power in is used to alarm CPU when the 5V power supply is down. Then the CPU should do something urgent in a script before energy exhaustion of super capacitor and run a $ shutdown


Another way to use this function is Initiate a shutdown when GPIO pin changes. The given GPIO pin is configured as an input key that generates KEY_POWER events. This event is handled by systemd-logind by initiating a shutdown. Use `/boot/overlays/README` as reference, then modify `/boot/config.txt`.
dtoverlay=gpio-shutdown, gpio_pin=GPIO25,active_low=1
note
  1. For UPS function please contact us for more information.
  2. The alarm signal is active LOW.

The python code below is a demo for detecting the working mode of supercapacitor UPS through GPIO25, and automatically saving data and shut down when the system is powered off.

import RPi.GPIO as GPIO
import time,os

num = 0

GPIO.setmode(GPIO,BCM)
#set GPIO25 as input mode
#add 500ms jitter time for software stabilization
GPIO.setup(25,GPIO.IN,pull_up_down = GPIO.PUD_DOWN)
GPIO.add_event_detect(25,GPIO.FALLING, bouncetime = 500)
while True:
if GPIO.event_detected(25):
print('...External power off...')
print('')
os.system('sync')
print('...Data saving...')
print('')
time.sleep(3)
os.system('sync')
#saving two times
while num<5:
print('-----------')
s = 5-num
print('---' + str(s) + '---')
num = num + 1
time.sleep(1)
print('---------')
os.system('sudo shutdown -h now')

DSI & Speaker

One DSI (J24)and one 4-pin Spearker (J7)interfaces are reserved on board, for special usage. Users are requested to purchase plug-ins according to your own needs.

Additional Resources

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.

Loading Comments...