mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 00:51:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			473 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			473 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
i2c:
 | 
						|
  - id: i2c_as5600
 | 
						|
    scl: ${scl_pin}
 | 
						|
    sda: ${sda_pin}
 | 
						|
 | 
						|
as5600:
 | 
						|
  dir_pin: ${dir_pin}
 | 
						|
  direction: clockwise
 | 
						|
  start_position: 90deg
 | 
						|
  range: 180deg
 | 
						|
  watchdog: true
 | 
						|
  power_mode: low1
 | 
						|
  hysteresis: lsb1
 | 
						|
  slow_filter: 8x
 | 
						|
  fast_filter: lsb6
 | 
						|
 | 
						|
sensor:
 | 
						|
  - platform: as5600
 | 
						|
    name: AS5600 Position
 | 
						|
    raw_position:
 | 
						|
      name: AS5600 Raw Position
 | 
						|
    gain:
 | 
						|
      name: AS5600 Gain
 | 
						|
    magnitude:
 | 
						|
      name: AS5600 Magnitude
 | 
						|
    status:
 | 
						|
      name: AS5600 Status
 |