Update stall detection params and expand documentation
- Adjust stall current threshold to 4A and detection time to 2500ms - Add comprehensive README with hardware specs, wiring diagrams - Include current sensing circuit documentation and math - Improve motor and webserver implementations
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
#define SENSE_RESISTOR 1000.0f // 1kΩ sense resistor (ohms)
|
||||
#define ADC_MAX 4095.0f // 12-bit ADC max value
|
||||
#define ADC_VREF 3.3f // ADC reference voltage
|
||||
#define STALL_CURRENT_THRESHOLD 5.0f // Current (amps) that indicates stall
|
||||
#define STALL_DETECT_TIME_MS 500 // Time to confirm stall (ms)
|
||||
#define STALL_CURRENT_THRESHOLD 4.0f // Current (amps) that indicates stall
|
||||
#define STALL_DETECT_TIME_MS 2500 // Time to confirm stall (ms) - accounts for startup inrush
|
||||
|
||||
// Web Server
|
||||
#define HTTP_PORT 80
|
||||
|
||||
Reference in New Issue
Block a user