mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	ac_dimmer increase gate time for robotdyn (#1708)
* ac_dimmer increate gate time for robotdyn * add explanation on longer gate enable time
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							2db8c42e1d
						
					
				
				
					commit
					d281e59f3a
				
			| @@ -17,7 +17,10 @@ static AcDimmerDataStore *all_dimmers[32];  // NOLINT(cppcoreguidelines-avoid-no | ||||
| /// Time in microseconds the gate should be held high | ||||
| /// 10µs should be long enough for most triacs | ||||
| /// For reference: BT136 datasheet says 2µs nominal (page 7) | ||||
| static const uint32_t GATE_ENABLE_TIME = 10; | ||||
| /// However other factors like gate driver propagation time | ||||
| /// are also considered and a really low value is not important | ||||
| /// See also: https://github.com/esphome/issues/issues/1632 | ||||
| static const uint32_t GATE_ENABLE_TIME = 50; | ||||
|  | ||||
| /// Function called from timer interrupt | ||||
| /// Input is current time in microseconds (micros()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user