A comprehensive software simulator for testing STM32-based ATS Two-Wheeler systems without physical hardware.
👉 USER_GUIDE.md - Complete beginner-friendly guide with step-by-step instructions
- Launch
ATS_TwoWheeler_Simulator.exe - Select Adapter:
- USB-CAN-A Serial: Choose COM port
- PCAN: Choose channel
- Click "Connect" (green button)
- Configure Total Weight Pattern
- Start Testing - Simulator responds to CAN commands automatically
- ✅ Multiple CAN Adapters: USB-CAN-A Serial, PCAN
- ✅ Total Weight Patterns: Static, Sine Wave, Step Response, Ramp
- ✅ ADC Simulation: Internal (12-bit) and ADS1115 (16-bit) modes
- ✅ 4-Channel Summing: Simulates all 4 load cells summed for total weight
- ✅ Noise Simulation: Realistic sensor noise
- ✅ Error Injection: Test error handling (advanced)
- ✅ Configuration Management: Save/load settings
- ✅ Real-time Status: Monitor streams and message counts
- ✅ Protocol v0.1: Supports ATS Two-Wheeler CAN protocol
- Hover over any UI element to see tooltips with explanations
- Click "❓ Help" button to open the User Guide
- Check System Status section for connection and stream status
- USER_GUIDE.md - Complete user guide with tutorials
- Tooltips - Hover over buttons, fields, and controls for instant help
- Use VSPE (Virtual Serial Port Emulator) to create virtual COM port pair
- Simulator connects to one port, your application to the other
- Both communicate through VSPE bridge
- Set Pattern Type to "Static"
- Enter total weight value (e.g., 200.0 kg)
- Start stream in your application
- Verify total weight readings match
- Select pattern (Sine Wave, Step, Ramp)
- Configure parameters (Baseline, Amplitude, Frequency, etc.)
- Start stream and watch total weight change over time
- Click "🔄 Restart Pattern" to replay
- Windows 7/8/10/11
- .NET 8.0 Runtime
- CAN Adapter (USB-CAN-A or PCAN) OR VSPE for virtual testing
- CAN Protocol v0.1: Total weight measurement system
- Message ID 0x200: Total raw ADC data (all 4 channels summed)
- Stream Control 0x040: Single stream start command
- ADC Modes: Internal (12-bit) and ADS1115 (16-bit)
For detailed instructions, troubleshooting, and tutorials, see USER_GUIDE.md
Version: 0.1.0
Last Updated: 25 December 2025