868 MHz (EU) / 915 MHz (US) / 923 MHz (AS)
868 MHz (EU) / 915 MHz (US) / 923 MHz (AS)
LoRaWAN Class A and C
< 2.5m CEP
| Wi-Fi Accuracy | < 5m |
Up to 5 years (depending on reporting frequency and mode)
-20C to 70C
-40C to 85C
45 x 30 x 15 mm
35g
Conclusion
The SenseCAP T1000-B LoRaWAN Tracker for Indoor and Outdoor Positioning is a versatile and powerful IoT component that offers accurate and efficient location tracking and monitoring. Its unique combination of GPS, Wi-Fi, and LoRaWAN technologies makes it an ideal choice for various applications, including asset tracking, logistics, and smart cities.
SenseCAP T1000-B LoRaWAN Tracker for Indoor and Outdoor PositioningOverviewThe SenseCAP T1000-B is a LoRaWAN-based tracker designed for indoor and outdoor positioning applications. It integrates a GPS module, accelerometer, and temperature sensor, making it suitable for various IoT use cases such as asset tracking, logistics, and industrial monitoring.FeaturesLoRaWAN 1.0.3 compliant
GPS, GLONASS, and Galileo satellite systems support
Accelerometer for motion detection and gesture recognition
Temperature sensor for environmental monitoring
Compact design with IP67 rating for outdoor use
Battery life up to 5 years (dependent on usage and settings)Getting StartedTo use the SenseCAP T1000-B, you will need:1. A LoRaWAN gateway or network provider
2. A compatible development board or microcontroller (e.g., Arduino, Raspberry Pi)
3. A programming language of your choice (e.g., C, Python, JavaScript)Code Examples### Example 1: Basic LoRaWAN Transmission with GPS Data (Arduino)This example demonstrates how to send GPS data using the SenseCAP T1000-B and an Arduino board.
```c
#include <LoRaWAN.h>
#include <TinyGPS++.h>// Define the SenseCAP T1000-B pins
const int lora_reset_pin = 2;
const int lora_ss_pin = 5;
const int gps_rx_pin = 3;
const int gps_tx_pin = 4;// Create a LoRaWAN object
LoRaWAN lora(lora_reset_pin, lora_ss_pin);// Create a TinyGPS++ object
TinyGPSPlus gps;void setup() {
Serial.begin(9600);// Initialize the SenseCAP T1000-B
lora.begin();
gps.begin(gps_rx_pin, gps_tx_pin);
}void loop() {
// Get the current GPS data
gps.encode();
float lat = gps.location.lat();
float lon = gps.location.lng();
float alt = gps.altitude.meters();// Create a LoRaWAN packet
byte packet[16];
packet[0] = 0x01; // header
packet[1] = lat >> 16;
packet[2] = lat >> 8;
packet[3] = lat;
packet[4] = lon >> 16;
packet[5] = lon >> 8;
packet[6] = lon;
packet[7] = alt >> 16;
packet[8] = alt >> 8;
packet[9] = alt;// Send the LoRaWAN packet
lora.sendPacket(packet, 10);delay(10000); // send every 10 seconds
}
```
### Example 2: Temperature and Motion Detection with JavaScript (Node.js)This example demonstrates how to read temperature and motion data from the SenseCAP T100-B using a Node.js application.
```javascript
const serialPort = require('serialport');
const SenseCAP = require('./SenseCAP');// Open the serial port
const port = new serialPort('COM3', {
baudRate: 9600
});// Create a SenseCAP object
const sensecap = new SenseCAP(port);// Read temperature and motion data
setInterval(() => {
sensecap.getTemperature((temperature) => {
console.log(`Temperature: ${temperature} C`);
});sensecap.getMotion((motion) => {
console.log(`Motion: ${motion ? 'Detected' : 'Not detected'}`);
});
}, 1000); // read every 1 second// SenseCAP class
class SenseCAP {
constructor(port) {
this.port = port;
}getTemperature(callback) {
this.port.write('AT+TEMP?
', (err) => {
if (err) {
console.error(err);
} else {
this.port.readline((line) => {
const temp = parseFloat(line);
callback(temp);
});
}
});
}getMotion(callback) {
this.port.write('AT+MOTION?
', (err) => {
if (err) {
console.error(err);
} else {
this.port.readline((line) => {
const motion = line.trim() === '1';
callback(motion);
});
}
});
}
}
```
Note: These examples are provided as a starting point and may require modifications to fit your specific use case. Please consult the SenseCAP T1000-B datasheet and LoRaWAN documentation for more information on using this component.