Questions tagged [light-sensor]
The light-sensor tag has no usage guidance.
light-sensor
41
questions
0
votes
0
answers
18
views
IR Library for getting HEX for universal remote (K-1028E)
I am currently using an ESP32-DevKitC-32E with ESP-IDF v5.2.2 in Visual Studio Code. My setup includes a TSMP98000 photodetector circuit and an IR LED driver circuit. I aim to capture HEX codes from ...
0
votes
0
answers
26
views
Reflected light sensor with kazev6
I have a problem when programming the sensor to use the "reflected light" mode, in the Kazi Code program, I can't use its commands to change the way I use the reflected light mode.
import ...
1
vote
0
answers
36
views
Is it possible to compare multiple line graphs to give a sort of ' similarity rating'
So I am trying to measure data from a smartphone ambient light sensor (ALS). My goal is to be able to be able to look at the data and be able to infer the location of the device.
To do this my plan is ...
0
votes
0
answers
30
views
can someone help me with accessing RGB values on my smart-phone light sensor via Android studio?
I am trying to take readings with the Ambient light sensor(TCS3407 Uncalibrated lux Sensor) on my samsung galaxys10+(sm-g975f). according to the driver info (https://github.com/ianmacd/d2s/blob/master/...
0
votes
0
answers
274
views
Example code accessing Apple SensorKit for ambient light sensor
Hi there: I've seen lots of examples of devs pointing out that you need approval to implement SensorKit, but having a very hard time finding any example code where it has actually been implemented in ...
0
votes
0
answers
64
views
TSL2591 I2C protocol : sensor returning register number instead of valid data
as part of my academy project I am writing i2c protocol in system Verilog in VIVADO on FPGA PYNQ Z2.
after completed all code and pass simulation, connected the TSL2591 device.
according to ILA ...
0
votes
2
answers
202
views
Android Studio shows bug when trying to use event.values in kotlin
I got the following problem in Android Studio.
I tried to rebuild an Google Android Guide for using the light sensor. While typing the code I got this error from Android Studio. It says Unresolved ...
0
votes
0
answers
31
views
Is it possible to send data to light sensor in android?
I am working with sensors in my application in which I got stuck on a question is there any way to send data through the light sensor or to the light sensor in android programmatically?
Any help will ...
0
votes
1
answer
1k
views
How to read 16 bit hardware register
I am working on VEML7700 Lux Sensor.datasheet link. I can detect the sensor and read/write data using i2c-tool. I2C address of sensor is 0x10. Here I am getting correct reading of 0x04 result register....
0
votes
1
answer
126
views
How to pass the multiple sensor values to the notification bar in android when the app is in the background
I am a newbie in android sensors and notifications. I am working with sensor data(light, proximity, accelerometer, and gyroscope sensor). My goal is to make an app that will be displaying four sensor ...
0
votes
1
answer
586
views
I'm trying to get light sensor data from an Android device for use in a Unity app
Preface: There is a post made in 2016 by Ice-Blaze that covers this, his solution no longer works.
I've tried using his plugin and it does not seem to pass data or retrieve light sensor data. In ...
0
votes
2
answers
2k
views
How to get data of BH1750 (light sensor) via on I2C interface using i2c-tools
I am trying to use BH170FVI sensor via on I²C interface on Ubuntu-16.04. My board is UpSquared not Raspberry.
To be able to use i2c interface, I installed i2c-tools. I also controlled BMI160 sensor ...
0
votes
0
answers
76
views
how to count only if light sensor event going from 100 to 50 and don't count if it from 0 to 50
How to count only if light sensor event going from 100 to 50 and don't count if it from 0 to 50 ?
I'm using light sensor in my app( onsensorchange event )
I want to count only if light fade from ...
0
votes
1
answer
67
views
Conflict between WiFi and lightsensor?
I have a weird problem with my ESP8266 Lolin32.
I try to make a project which get value from a lightsensor and establish a WiFi connection. I can properly display values, but when I add Wifi ...
0
votes
1
answer
79
views
Is there a way in Android studio of polling the light sensors rather than waiting for a SensorEvent?
I need a very high rate of information from the light_sensor in android studio and i can't get it with an event so i want the real time information if its possible
@Override
public void ...