<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.hshl.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Diskussion%3AAmbient_Light_Lux_Sensor_VEML7700</id>
	<title>Diskussion:Ambient Light Lux Sensor VEML7700 - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hshl.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Diskussion%3AAmbient_Light_Lux_Sensor_VEML7700"/>
	<link rel="alternate" type="text/html" href="https://wiki.hshl.de/wiki/index.php?title=Diskussion:Ambient_Light_Lux_Sensor_VEML7700&amp;action=history"/>
	<updated>2026-06-10T09:38:06Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in HSHL Mechatronik</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.hshl.de/wiki/index.php?title=Diskussion:Ambient_Light_Lux_Sensor_VEML7700&amp;diff=149307&amp;oldid=prev</id>
		<title>Onyesi-john.abiagam@stud.hshl.de: Die Seite wurde neu angelegt: „{| class=&quot;wikitable&quot; |- ! # !! date !! plan for this week !! Priority !! progress !! Comment |- | 1 || 28.04.26 ||   * Ask Mr. Ebmeyer to borrow a luxmeter as a reference (e.g. from Prof. Meyer) * Measure the values and the reference to calibrate the characteristic curve * use MATLAB regression app * compare the characteristic curve in the datasheet to the selfmade  * Write your new article. || A || In Progress ||  *…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.hshl.de/wiki/index.php?title=Diskussion:Ambient_Light_Lux_Sensor_VEML7700&amp;diff=149307&amp;oldid=prev"/>
		<updated>2026-06-08T18:08:39Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „{| class=&amp;quot;wikitable&amp;quot; |- ! # !! date !! plan for this week !! Priority !! progress !! Comment |- | 1 || 28.04.26 ||   * Ask Mr. Ebmeyer to borrow a luxmeter as a reference (e.g. from Prof. Meyer) * Measure the values and the reference to calibrate the characteristic curve * use MATLAB regression app * compare the characteristic curve in the datasheet to the selfmade  * Write your new &lt;a href=&quot;/wiki/index.php/Ambient_Light_Lux_Sensor_VEML7700&quot; title=&quot;Ambient Light Lux Sensor VEML7700&quot;&gt;article&lt;/a&gt;. || A || In Progress ||  *…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! # !! date !! plan for this week !! Priority !! progress !! Comment&lt;br /&gt;
|-&lt;br /&gt;
| 1 || 28.04.26 ||  &lt;br /&gt;
* Ask Mr. Ebmeyer to borrow a luxmeter as a reference (e.g. from Prof. Meyer)&lt;br /&gt;
* Measure the values and the reference to calibrate the characteristic curve&lt;br /&gt;
* use MATLAB regression app&lt;br /&gt;
* compare the characteristic curve in the datasheet to the selfmade &lt;br /&gt;
* Write your new [[Ambient_Light_Lux_Sensor_VEML7700|article]].&lt;br /&gt;
|| A || In Progress || &lt;br /&gt;
* I have received the Luxmeter from Mr Ebmeyer &lt;br /&gt;
* Started writing the wiki article  &lt;br /&gt;
*Data have been taken fo a fixed (Gain 1/8,Integration Time = 100ms) and graph compared to the data sheet which showed similarity but although the datasheet graph used Log-log  graph but we can see similar pattern.                    &lt;br /&gt;
|-&lt;br /&gt;
| 2 || 30.04.26 ||  &lt;br /&gt;
* Make a table for every combination of Gain an Integration Time.&lt;br /&gt;
* Measure the ALS raw for every kombination.&lt;br /&gt;
* Save the Table in your article.&lt;br /&gt;
* What Lux Value should be measured in which combination (Gain/IT)?&lt;br /&gt;
* Measure the values and the reference to calibrate the characteristic curve for every combination (Gain/IT).&lt;br /&gt;
* use MATLAB regression app to fit the curves.&lt;br /&gt;
* compare the characteristic curve in the datasheet to the selfmade &lt;br /&gt;
* Write your new [[Ambient_Light_Lux_Sensor_VEML7700|article]].&lt;br /&gt;
* Range: [0..140000] Lux&lt;br /&gt;
|| A || In Progress  ||&lt;br /&gt;
* A table for every combination of Integration Time and Gain has been created and save on matlab for further analysis &lt;br /&gt;
* The table has been created and all the raw ALS values are entered based on every combination of the Gain and Integration Time.&lt;br /&gt;
*Data have been taken fo a fixed (Gain 1/8,Integration Time = 100ms) and graph compared to the data sheet which showed similarity but although the datasheet graph used Log-log  graph but we can see similar pattern.&lt;br /&gt;
* Wiki article is updated with the data collected and the graph plotted to show their relationship&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 06.05.26 ||  &lt;br /&gt;
* Range: [0..140000] Lux&lt;br /&gt;
* Make a table for every combination of Gain an Integration Time.&lt;br /&gt;
* Measure the ALS raw for every combination.&lt;br /&gt;
* Save the Table in MATLAB.&lt;br /&gt;
* What Lux Value should be measured in which combination (Gain/IT)?&lt;br /&gt;
* Measure the values and the reference to calibrate the characteristic curve for every combination (Gain/IT).&lt;br /&gt;
* use MATLAB &amp;lt;code&amp;gt;Curve Fitter&amp;lt;/code&amp;gt; app to fit the curves.&lt;br /&gt;
* compare the characteristic curve in the datasheet to the selfmade &lt;br /&gt;
* Write your new [[Ambient_Light_Lux_Sensor_VEML7700|article]].&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Reference the Luxmeter LX-1108 in the Lab L3.1-E01-130.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Measure the raw sensor values without any calculation.&lt;br /&gt;
|| A || In Progress  ||&lt;br /&gt;
* Table or every combination has been created&lt;br /&gt;
* Raw ALS for every combinations already done&lt;br /&gt;
* The table saved in MATLAB&lt;br /&gt;
* LX-1108 is already referenced with the lab Luxmeter&lt;br /&gt;
* Raw sensor values are measured without any calculation&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 12.05.26 ||  &lt;br /&gt;
* Student was confuse by the tasks. &lt;br /&gt;
* Tasks were discussed and minimized.&lt;br /&gt;
* Please work on the tasks step by step.&lt;br /&gt;
* Start with 1.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Reference the Luxmeter LX-1108 in the Lab L3.1-E01-130.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Devide the measurement range into 23 measurements e.g. &amp;lt;code&amp;gt;Ref = [0 300 600 900 1000 2000 3000 4000 5000 6000 7000 9000 10000 11000 12000 13000 14000 15000 16000 16000 18000 19000 20000]&amp;lt;/code&amp;gt; Lux.&lt;br /&gt;
# Tune the Lamp so the reference Sensor measures them.&lt;br /&gt;
# Measure with the Luxmeter LX-1108 an write the results to a MATLAB array &amp;lt;code&amp;gt;LX = [0 .. 20k]&amp;lt;/code&amp;gt; Lux&lt;br /&gt;
# Save the arrays in &amp;lt;code&amp;gt;reference.mat&amp;lt;/code&amp;gt;. &lt;br /&gt;
# Plot the reference on x-axis and LX on y-Axis.&lt;br /&gt;
# Discuss the results with Prof. Schneider.&lt;br /&gt;
# Fit the data with a curve/regression (&amp;lt;code&amp;gt;Curve Fitter&amp;lt;/code&amp;gt;).&lt;br /&gt;
|| A || Done ||&lt;br /&gt;
* The Luxmeter has been referenced in the lab&lt;br /&gt;
* The Measurement range divided into 21 measurements&lt;br /&gt;
* Measured readings written to a MATLAB array&lt;br /&gt;
* Arrays saved to reference.mat file&lt;br /&gt;
* Plot already done&lt;br /&gt;
* Regression used for the data&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 13.05.26 ||  &lt;br /&gt;
* Please work on the tasks step by step.&lt;br /&gt;
* Start with 1, 2, 3,...&lt;br /&gt;
# Learn how to use MATLAB (MATLAB Onramp, Core MATLAB Skills)&lt;br /&gt;
# Learn what a regression analysis is ([https://en.wikipedia.org/wiki/Regression_analysis URL]).&lt;br /&gt;
# Learn how to calculate a regression with MATLAB ([https://www.mathworks.com/help/curvefit/what-is-curve-fitting.html URL]).&lt;br /&gt;
# Use a textbook: e.g. [https://books.google.de/books/about/Linear_and_Nonlinear_Regression_with_Mat.html Linear and Nonlinear Regression with MATLAB]&lt;br /&gt;
# Learn how to calculate a relative error ([https://en.wikipedia.org/wiki/Approximation_error URL]).&lt;br /&gt;
# The relationship between the reference and the luxmeter appears to be a constant. This constant changes across the value range. Calculate this constant across the value range using nonlinear regression.&lt;br /&gt;
# Implement a function that calculates the real value from the Luxmeter measurement &amp;lt;code&amp;gt;trueLux = Lux2Ref(Lux)&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Bring your measurement data into Matlab.&lt;br /&gt;
# Correct the LX measurements with the function &amp;lt;code&amp;gt;Lux2Ref(Lux)&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Save the arrays in a .mat file.&lt;br /&gt;
# Write a MATLAB-funktion &amp;lt;code&amp;gt;ALS2Lux&amp;lt;/code&amp;gt; that calculates the real lux value from the Sensor measurement.&lt;br /&gt;
## Automatically choose the optimal gain/IT for the measurement.&lt;br /&gt;
## Take the measurement with the optimal gain/IT.&lt;br /&gt;
## Calculate the Lux value from the ALS value.&lt;br /&gt;
## Go to the light-lab and validate the measurement over the range.&lt;br /&gt;
## Calculate the remaining relative error and display it over the range with MATLAB.&lt;br /&gt;
|| A || Done ||&lt;br /&gt;
* Done MATLAB Onramp course&lt;br /&gt;
* learnt Regression Analysis&lt;br /&gt;
* Learnt how to calculate a relative error&lt;br /&gt;
* The Constant across the value range is calculated using nonlinear regression&lt;br /&gt;
* A function is implemented to calculate real value from luxmeter measurement&lt;br /&gt;
* The LX measurement is corrected&lt;br /&gt;
* The Corrected array values is saved in a .mat file  &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Discussion on Sensor-Specific Calibration&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
* For task 11, I would like to seek clarity from my supervisor concerning which sensor he was refering to because the subsequent tasks are only specific to VEML7700 sensor&lt;br /&gt;
* The calibration procedure developed in the previous tasks is specific to the LX-1108 lux meter and Lab reference,It cannot be directly applied to the VEML7700 sensor.&lt;br /&gt;
* Unlike the LX-1108 or the lab reference luxmeter, the VEML7700 sensor measurement output depends on both the selected gain and integration time (IT) and this must be fixed before taking the measurement.&lt;br /&gt;
* Consequently, a unique relationship between the laboratory reference lux meter or even LX-1108 and the VEML7700 sensor cannot be established without first specifying the gain and integration-time configuration.&lt;br /&gt;
* The same reference lux value either from the Lab reference or the LX-1108 may produce different ALS readings under different gain and integration-time settings and finally the lux value calculated from it.&lt;br /&gt;
* Therefore, any reference-to-ALS-to-lux relationship derived for the VEML7700 is valid only for the specific gain and integration-time configuration used during calibration, it can not be a general function for correcting ALS.The AlS value is completely dependent on the Gain and Integration Time.&lt;br /&gt;
* The VEML7700 implementation codes in arduino already includes a function that automatically selects the optimal gain and integration-time combination for any current light level according VISHAY documentation.&lt;br /&gt;
* Therefore, the gain and integration-time optimization requested in the subsequent tasks is handled dynamically within the Arduino implementation code before the lux calculation and validation.&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Onyesi-john.abiagam@stud.hshl.de</name></author>
	</entry>
</feed>