> For the complete documentation index, see [llms.txt](https://ubtechedu.gitbook.io/ukit-explore/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor.md).

# Sensor

- [uKit eye lamp](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/eyelight.md): Functions Syntax
- [setEyelightAllPetals(id,red,green,blue)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/eyelight/seteyelightallpetals.md): Control all the 8 petals (pixels) of the eye lamp to light up a set of color.
- [setEyelightPetals(id,petalsnum,petals)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/eyelight/seteyelightpetals.md): Customize eye lamps, 8 petals (pixels) light up in different colors.
- [setEyelightLook(id,face,times,red,green,blue)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/eyelight/seteyelightlook.md): Set the emoticons to light up different color of expressions (non-blocking)
- [setEyelightLookUntil(id,face,times,red,green,blue)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/eyelight/seteyelightlookuntil.md): 设置眼灯亮不同颜色的表情（阻塞）
- [setEyelightScene(id,scene,times);](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/eyelight/seteyelightscene.md): Set the eye lamp to the different scene mode (non-blocking)
- [setEyelightSceneUntil(id,scene,times)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/eyelight/seteyelightsceneuntil.md): Set the eye lamp to the different scene mode (blocking).
- [setEyelightOff(id)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/eyelight/seteyelightoff.md): Turn off the eye lamp
- [uKit Ultrasonic Sensor](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/ultrasonic.md): Functions Syntax
- [setUltrasonicRgbled(id,red,green,blue)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/ultrasonic/setultrasonicrgbled.md): Control the ultrasonic sensor’s LED to light up and set the color
- [setUltrasonicRgbledOff(id)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/ultrasonic/setultrasonicrgbledoff.md): Turn off the ultrasonic sensor’s LED light.
- [readUltrasonicDistance(id)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/ultrasonic/readultrasonicdistance.md): Reading ultrasonic sensor distance
- [uKit Infrared Sensor](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/infrared.md): Functions Syntax
- [readInfraredDistance(id)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/infrared/readinfrareddistance.md): Get infrared sensor distance value.
- [uKit Touch Sensor](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/button.md): Functions Syntax
- [readButtonValue(id)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/button/readbuttonvalue.md): Get the state of the touch sensor
- [uKit Light Sensor](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/light.md): Functions Syntax
- [readLightValue(id)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/light/readlightvalue.md): Get the light value from the light sensor.
- [uKit Sound Sensor](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/sound.md): Functions Syntax
- [readSoundValue(id)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/sound/readsoundvalue.md): Get the sound intensity.
- [uKit Temperature and Humidity Sensor](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/humiture.md): Functions Syntax
- [readHumitureValue(id,choice)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/humiture/readhumiturevalue.md): Get the temperature or humidity value
- [uKit Color Sensor](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/color.md): Functions Syntax
- [readColorRgb(id)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/color/readcolorrgb.md): Get the RGB value of color sensor.
- [readColor(id,color)](https://ubtechedu.gitbook.io/ukit-explore/standard/sensor/color/readcolor.md): Recognize the specific color from the color sensor
