2196 views|1 replies

270

Posts

0

Resources
The OP
 

RTT & Renesas High-Performance CPK-RA6M4 Development Board Review - Light Sensor [Copy link]

1. Hardware

This review is about Intersil's ISL29035, a digital infrared light sensor with an ultra-small package.

ISL29035 is the industry's smallest 6-pin digital infrared light sensor that can accurately detect a variety of light sources. In addition to its high sensitivity, it also includes:
  (1) The industry's smallest 6-pin digital light sensor;
  (2) Providing market-leading wide-angle light response characteristics;
  (3) Supporting the requirements of Windows 8 and Android operating systems;
  (4) Wide dynamic range of illumination to enhance the user's visual experience;
  (5) Internally integrated ADC can directly convert analog illumination signals into digital signals;
  (6) Can simulate the response curve of the human eye and has excellent infrared light suppression function;
  (7) Able to work under various ambient light conditions and minimize the power consumption of the screen

Mainly used in personal computers, televisions, and handheld devices. Electrical characteristics:

  • The resolution is 16 bits.

  • Power supply range is 2.25V - 3.63V

  • Support I2C protocol

  • Support software and auto-off mode

The circuit diagram on the RA6M4 development board is as follows:

2. Software

1. RA Smart Configurator Operation

Configure the I2C pins. Since the schematic diagram of the light sensor is that P511 is used as the SDA of I2C and P512 is used as the SCL of I2C, configure P511 to output mode and P512 to output mode.

2. RT-Thread Studio Operation

1) Double-click RT-Thread Setting, open the page and add the isl29035 driver software package.

2) On the RT-Thread Setting page, click Hardware, enable I2C, and add the I2C port. The SDA port is P511, so 511 converted to hexadecimal is 0x50b = 5 * 16 * 16 + 1 * 10 + 1; the SCL port is P512, so converted to hexadecimal is 0x50c. As shown in the figure:

3. Testing

Open the terminal and enter list device in the terminal to check whether the device information has been added successfully.

1. Mount the isl29035 sensor

Enter sensor probe li_isl129 in the terminal, and the terminal will print the device id. Then use list device to check whether the mount is successful. If li_isl129 is successful, the corresponding value of ref count is 1

2. Enter sensor read 5 again. The light intensity information will be displayed 5 times.

As shown in the figure, as the light becomes stronger, the printed light intensity value becomes larger.

This post is from Renesas Electronics MCUs

Latest reply

rt-thread is convenient, just configure it  Details Published on 2022-6-19 10:41

538

Posts

3

Resources
2
 

rt-thread is convenient, just configure it

This post is from Renesas Electronics MCUs
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list