A WeChat Mini Program for real-time fluorescence detection and data visualization in isothermal amplification experiments. This application connects to handheld isothermal detection devices via Bluetooth for temperature control and fluorescence intensity monitoring.
- Automatic discovery and connection to BLE devices
- Real-time communication with isothermal detection hardware
- Device control commands for laser activation/deactivation
- Interactive charts powered by ECharts
- Multi-channel fluorescence intensity monitoring (4 tubes)
- Configurable threshold lines for detection analysis
- Live data streaming and visualization
- Temperature control (36°C - 40°C range)
- Configurable detection thresholds
- Sample information input
- Start/Stop experiment controls
- CSV data export functionality
- Historical experiment data storage
- File management and viewing capabilities
- Excel file generation and sharing
- Framework: WeChat Mini Program
- Charts: ECharts for data visualization
- Data Export: XLSX library for Excel file generation
- Bluetooth: WeChat BLE APIs
- UI: WXSS styling with responsive design
├── app.js # Application entry point
├── app.json # App configuration
├── app.wxss # Global styles
├── project.config.json # Project configuration
├── sitemap.json # SEO configuration
├── index/ # Main page
│ ├── index.js # Page logic
│ ├── index.wxml # Page template
│ ├── index.wxss # Page styles
│ └── index.json # Page configuration
├── ec-canvas/ # ECharts canvas component
│ ├── ec-canvas.js # Canvas logic
│ ├── ec-canvas.wxml # Canvas template
│ ├── ec-canvas.wxss # Canvas styles
│ ├── echarts.js # ECharts library
│ └── wx-canvas.js # WeChat canvas adapter
├── utils/ # Utility functions
│ ├── chart_utils.js # Chart management utilities
│ └── export_excel.js # Data export utilities
└── xlsx/ # Excel library
└── xlsx.mini.min.js # XLSX library
- WeChat Developer Tools
- WeChat Mini Program account
- Compatible Bluetooth isothermal detection device
- Clone the repository
- Open the project in WeChat Developer Tools
- Configure project settings in
project.config.json - Build and preview the application
- WeChat version 6.5.6 or higher
- iOS 9.0+ or Android 5.0+
- Bluetooth 4.0 (BLE) support
- Tap "Connect Device" to scan for nearby BLE devices
- The app automatically connects to devices with "BLE" in their name
- Connection status is displayed on the interface
- Set target temperature (36°C - 40°C)
- Enter sample information
- Configure detection threshold value
- Adjust experiment parameters as needed
- Tap "Start" to begin experiment
- Real-time fluorescence data is collected every 15 seconds
- Laser control is automatically managed during data collection
- Live chart updates show intensity values for all 4 tubes
- Monitor real-time fluorescence curves
- Compare against configurable threshold lines
- Visual indicators for positive/negative detection
- Save experiment data as CSV files
- Access historical experiment data via "History" button
- Export and share data files
The application supports 4-channel fluorescence monitoring with customizable:
- Y-axis range (0-1500 intensity units)
- Threshold lines
- Time-based x-axis
- Multiple data series visualization
- Time: Minutes from experiment start
- Tube1-4: Fluorescence intensity values
- Threshold: Configurable detection threshold
- Sample Info: User-defined sample identification
-
Bluetooth Connection Failed
- Ensure device is in pairing mode
- Check Bluetooth permissions
- Verify device compatibility
-
No Data Received
- Confirm device connection status
- Check laser control commands
- Verify communication protocol
-
Chart Not Updating
- Ensure ECharts initialization completed
- Check data format consistency
- Verify chart instance availability
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For technical support or questions about the isothermal amplification detection system, please contact the development team.
- v1.0.0: Initial release with basic BLE connectivity and data visualization
- Current version includes full experiment management and data export capabilities
Built for precision molecular diagnostics and isothermal amplification research