Diskussion:Sensorinbetriebnahme mit Arduino und Simulink: Unterschied zwischen den Versionen

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Onyesi-john.abiagam@stud.hshl.de (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(16 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 74: Zeile 74:
* stable: ist calculatet late
* stable: ist calculatet late
* save data to .mat file (time in s, weigth in g, real weight in g) for further analysis
* save data to .mat file (time in s, weigth in g, real weight in g) for further analysis
|| A ||  ||
|| A || Done || The .mat file has been saved in the project workspace and versioned in SVN for further analysis
|-
|-
| 7 || 28.04.26 ||   
| 7 || 28.04.26 ||   
Zeile 82: Zeile 82:
* compare the characteristic curve in the datasheet to the selfmade  
* compare the characteristic curve in the datasheet to the selfmade  
* Write your new [[Ambient_Light_Lux_Sensor_VEML7700|article]].
* Write your new [[Ambient_Light_Lux_Sensor_VEML7700|article]].
|| A || ||
|| A || In Progress ||  
* I have received the Luxmeter from Mr Ebmeyer
* Started writing the wiki article 
*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.                   
|-
|-
| 8 || 30.04.26 ||   
| 8 || 30.04.26 ||   
Zeile 93: Zeile 96:
* compare the characteristic curve in the datasheet to the selfmade  
* compare the characteristic curve in the datasheet to the selfmade  
* Write your new [[Ambient_Light_Lux_Sensor_VEML7700|article]].
* Write your new [[Ambient_Light_Lux_Sensor_VEML7700|article]].
|| A ||  ||
* Range: [0..140000] Lux
|| A || In Progress ||
* A table for every combination of Integration Time and Gain has been created and save on matlab for further analysis
* The table has been created and all the raw ALS values are entered based on every combination of the Gain and Integration Time.
*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.
* Wiki article is updated with the data collected and the graph plotted to show their relationship
|-
| 8 || 06.05.26 || 
* Range: [0..140000] Lux
* Make a table for every combination of Gain an Integration Time.
* Measure the ALS raw for every combination.
* Save the Table in MATLAB.
* What Lux Value should be measured in which combination (Gain/IT)?
* Measure the values and the reference to calibrate the characteristic curve for every combination (Gain/IT).
* use MATLAB <code>Curve Fitter</code> app to fit the curves.
* compare the characteristic curve in the datasheet to the selfmade
* Write your new [[Ambient_Light_Lux_Sensor_VEML7700|article]].
* '''Reference the Luxmeter LX-1108 in the Lab L3.1-E01-130.'''
* Measure the raw sensor values without any calculation.
|| A || In Progress  ||
* Table or every combination has been created
* Raw ALS for every combinations already done
* The table saved in MATLAB
* LX-1108 is already referenced with the lab Luxmeter
* Raw sensor values are measured without any calculation
|-
| 9 || 12.05.26 || 
* Student was confuse by the tasks.
* Tasks were discussed and minimized.
* Please work on the tasks step by step.
* Start with 1.
# '''Reference the Luxmeter LX-1108 in the Lab L3.1-E01-130.'''
# Devide the measurement range into 23 measurements e.g. <code>Ref = [0 300 600 900 1000 2000 3000 4000 5000 6000 7000 9000 10000 11000 12000 13000 14000 15000 16000 16000 18000 19000 20000]</code> Lux.
# Tune the Lamp so the reference Sensor measures them.
# Measure with the Luxmeter LX-1108 an write the results to a MATLAB array <code>LX = [0 .. 20k]</code> Lux
# Save the arrays in <code>reference.mat</code>.
# Plot the reference on x-axis and LX on y-Axis.
# Discuss the results with Prof. Schneider.
# Fit the data with a curve/regression (<code>Curve Fitter</code>).
|| A || Done ||
* The Luxmeter has been referenced in the lab
* The Measurement range divided into 21 measurements
* Measured readings written to a MATLAB array
* Arrays saved to reference.mat file
* Plot already done
* Regression used for the data
|}
|}

Aktuelle Version vom 13. Mai 2026, 10:18 Uhr

# date plan for this week Priority progress Comment
1 03.03.26
  • Send the signed contract to administration.
  • Safety briefing
  • Workplace preparation (login, etc.)
  • SVN access to the work folder
  • Wiki access to personal article
  • Discussion of working hours (Excel spreadsheet in SVN, commit with start time, commit with end time)
  • Transponder issuance
  • Measure Weight with Simulink
A Done


  • Mass measurement using HX711 implemented in Arduino fully and partially in Simulink.
2 10.03.26
  • Save Simulink model to SVN.
  • Document Simulink model according to this article.
  • Add button like a real Weighing Scale. See chapter requirements.
  • Document progress within your article.
A Done
  • On/Off button logic implemented (Arduino complete, Simulink partial).
  • Simulink model saved to SVN.
  • Documentation of simulink model is in progress
3 17.03.26
  • Document your progresse here (A).
  • Document Simulink model according to this article (A).
  • Add button like a real Weighing Scale. See chapter requirements (A).
  • Document progress within your article (A).
  • Use the LCD-Display and order an I2C-Segment-Display (A).
  • Meet all the requirements (B).
A Done
  • LCD display implemented in Arduino and in simulink.
  • Button added both for Tare and power button
  • Documentation in progress in wiki
4 24.03.26
  • Each button has to be connected to an interrupt.
  • The button has to be debounced in the ISR.
  • Please comment every source code line.
  • Add a header to your source.
  • Use an recursive average filter for calculation of the weight.
  • Calculate the standard deviation to decide if the measurement is constant (threshold).
  • Use the software of this project as a starting point. Weight cell and LCD-Display are working fine.
  • Document progress within your article (A).
B Done
  • Each button has to be connected to an interrupt. (Done)
  • The button has to be debounced in the ISR. (Done)
  • Please comment every source code line. (Done)
  • Add a header to your source. (Done)
  • Use an recursive average filter for calculation of the weight. (Done)
  • Calculate the standard deviation to decide if the measurement is constant (threshold). (Done)
  • resused the simulink weighing scale model from Die_Bombe and interfaced it with my custom build LCD and now both model work together.
  • Implemented Tare button in simulink, it is working but still testing the stability when the button is pressed.
  • Document progress within your article. ( In progress with it but not done yet)
5 31.03.26
  • Investigate the timing. What function is consuming what time?
  • Do not calculate the mean. Use the LPF-result instead.
  • Calculate the STD from the last 5 values.
  • Finish this task ASAP so you can work with the next sensor.
A Done
  • Done. This is the function that was casuing the slowness (get_units(15)) The sample amount was reduced and the system responded better but i will now implement the next task on the codes which should make the system even more responsive.
  • All tasks have been implemented today and the system is very responsive but fully in arduino.
  • The Simulink modeling is working but not all functions are fully implemented( Power button and Buzzer).
6 14.04.26
  • stable: ist calculatet late
  • save data to .mat file (time in s, weigth in g, real weight in g) for further analysis
A Done The .mat file has been saved in the project workspace and versioned in SVN for further analysis
7 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
  • I have received the Luxmeter from Mr Ebmeyer
  • Started writing the wiki article
  • 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.
8 30.04.26
  • Make a table for every combination of Gain an Integration Time.
  • Measure the ALS raw for every kombination.
  • Save the Table in your article.
  • What Lux Value should be measured in which combination (Gain/IT)?
  • Measure the values and the reference to calibrate the characteristic curve for every combination (Gain/IT).
  • use MATLAB regression app to fit the curves.
  • compare the characteristic curve in the datasheet to the selfmade
  • Write your new article.
  • Range: [0..140000] Lux
A In Progress
  • A table for every combination of Integration Time and Gain has been created and save on matlab for further analysis
  • The table has been created and all the raw ALS values are entered based on every combination of the Gain and Integration Time.
  • 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.
  • Wiki article is updated with the data collected and the graph plotted to show their relationship
8 06.05.26
  • Range: [0..140000] Lux
  • Make a table for every combination of Gain an Integration Time.
  • Measure the ALS raw for every combination.
  • Save the Table in MATLAB.
  • What Lux Value should be measured in which combination (Gain/IT)?
  • Measure the values and the reference to calibrate the characteristic curve for every combination (Gain/IT).
  • use MATLAB Curve Fitter app to fit the curves.
  • compare the characteristic curve in the datasheet to the selfmade
  • Write your new article.
  • Reference the Luxmeter LX-1108 in the Lab L3.1-E01-130.
  • Measure the raw sensor values without any calculation.
A In Progress
  • Table or every combination has been created
  • Raw ALS for every combinations already done
  • The table saved in MATLAB
  • LX-1108 is already referenced with the lab Luxmeter
  • Raw sensor values are measured without any calculation
9 12.05.26
  • Student was confuse by the tasks.
  • Tasks were discussed and minimized.
  • Please work on the tasks step by step.
  • Start with 1.
  1. Reference the Luxmeter LX-1108 in the Lab L3.1-E01-130.
  2. Devide the measurement range into 23 measurements e.g. Ref = [0 300 600 900 1000 2000 3000 4000 5000 6000 7000 9000 10000 11000 12000 13000 14000 15000 16000 16000 18000 19000 20000] Lux.
  3. Tune the Lamp so the reference Sensor measures them.
  4. Measure with the Luxmeter LX-1108 an write the results to a MATLAB array LX = [0 .. 20k] Lux
  5. Save the arrays in reference.mat.
  6. Plot the reference on x-axis and LX on y-Axis.
  7. Discuss the results with Prof. Schneider.
  8. Fit the data with a curve/regression (Curve Fitter).
A Done
  • The Luxmeter has been referenced in the lab
  • The Measurement range divided into 21 measurements
  • Measured readings written to a MATLAB array
  • Arrays saved to reference.mat file
  • Plot already done
  • Regression used for the data