A portable environmental sensor for agricultural applications is proposed that addresses key challenges in power supply, data transmission, and monitoring efficiency. The sensor features a photovoltaic power supply and a PID-based dynamic active–sleep scheme for sustainable energy management, maintaining optimal battery levels under varying solar conditions. Its compact, waterproof, and dustproof design (90 mm × 90 mm × 150 mm, 844 g) ensures robust and reliable operation in diverse agricultural environments. High-precision digital sensors monitor temperature, humidity, light intensity, and CO2 concentration. Equipped with low-power NB-IoT technology, the sensor supports real-time remote environmental monitoring. Our experimental results show effective continuous operation, accurate environmental measurements, and performance comparable to established data loggers. The advanced power management and precise sensing capabilities make this sensor a competitive solution for improving smart agriculture practices, particularly in resource-limited or off-grid settings.
Deep learning has advanced automated electrocardiogram (ECG) interpretation, yet many models are computationally expensive, opaque, and overlook demographic factors. We propose DBA-ASFNet, a lightweight network that combines depthwise-separable convolutional residual blocks with a BiGRU and an attention mechanism to extract rich spatiotemporal features from 12-lead ECGs while maintaining low computational requirements. The Age-and-Sex Fusion (ASF) module integrates demographic information without enlarging the model, enabling personalized predictions. On the PTB-XL and CPSC2018 datasets, DBA-ASFNet achieves competitive multi-label performance with only ~0.03 million parameters and ~6.43 MFLOPs per inference. Real-time testing on a Raspberry Pi 5 achieved an average inference latency of ~2 ms, supporting deployment on resource-limited devices. Shapley additive explanations (SHAP) analysis shows that the model focuses on clinically meaningful ECG patterns and appropriately incorporates demographic factors, enhancing transparency. These results suggest that DBA-ASFNet is suited for accurate, efficient, and interpretable ECG analysis.