mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Add support for Sharp GP2Y1010AU0F PM2.5 sensor (#6007)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										16
									
								
								tests/components/gp2y1010au0f/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								tests/components/gp2y1010au0f/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| sensor: | ||||
|   - platform: adc | ||||
|     pin: GPIO36 | ||||
|     id: adc_sensor | ||||
|  | ||||
|   - platform: gp2y1010au0f | ||||
|     sensor: adc_sensor | ||||
|     name: Dust Sensor | ||||
|     adc_voltage_offset: 0.2 | ||||
|     adc_voltage_multiplier: 3.3 | ||||
|     output: dust_sensor_led | ||||
|  | ||||
| output: | ||||
|   - platform: gpio | ||||
|     id: dust_sensor_led | ||||
|     pin: GPIO32 | ||||
		Reference in New Issue
	
	Block a user