Diskussion:Sensorinbetriebnahme mit Arduino und Simulink: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| (31 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! # | ! # !! date !! plan for this week !! Priority !! progress !! Comment | ||
|- | |- | ||
| 1 | | 1 || 03.03.26 || | ||
* Send the signed contract to administration. | * Send the signed contract to administration. | ||
* Safety briefing | * Safety briefing | ||
* Workplace preparation (login, etc.) | * Workplace preparation (login, etc.) | ||
| Zeile 13: | Zeile 13: | ||
* Transponder issuance | * Transponder issuance | ||
* Measure Weight with Simulink | * Measure Weight with Simulink | ||
|| | | A || Done || | ||
* | *Mass measurement using HX711 implemented in Arduino fully and partially in Simulink. | ||
|- | |- | ||
| 2 | | 2 || 10.03.26 || | ||
* Save Simulink model to SVN. | * Save Simulink model to SVN. | ||
* Document Simulink model according to this [[Regeln_für_Simulink-Modelle|article]]. | * Document Simulink model according to this [[Regeln_für_Simulink-Modelle|article]]. | ||
* Add button like a real Weighing Scale. See chapter [[DMS_load_cell_with_measuring_amplifier_HX711AD#Requirements|requirements]]. | * Add button like a real Weighing Scale. See chapter [[DMS_load_cell_with_measuring_amplifier_HX711AD#Requirements|requirements]]. | ||
* Document progress within your [[DMS_load_cell_with_measuring_amplifier_HX711AD|article]]. | * Document progress within your [[DMS_load_cell_with_measuring_amplifier_HX711AD|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 | | 3 || 17.03.26 || | ||
* Document your progresse here (A). | * Document your progresse here (A). | ||
* Document Simulink model according to this [[Regeln_für_Simulink-Modelle|article]] (A). | * Document Simulink model according to this [[Regeln_für_Simulink-Modelle|article]] (A). | ||
| Zeile 35: | Zeile 35: | ||
* Use the LCD-Display and order an I2C-Segment-Display (A). | * Use the LCD-Display and order an I2C-Segment-Display (A). | ||
* Meet all the [[DMS_load_cell_with_measuring_amplifier_HX711AD#Requirements|requirements]] (B). | * Meet all the [[DMS_load_cell_with_measuring_amplifier_HX711AD#Requirements|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 | | 4 || 24.03.26 || | ||
* Each button has to be connected to an [[Arduino:_Interrupts|interrupt]]. | * Each button has to be connected to an [[Arduino:_Interrupts|interrupt]]. | ||
* The button has to be debounced in the ISR. | * The button has to be debounced in the ISR. | ||
| Zeile 49: | Zeile 49: | ||
* Use the software of [[Escape_Game:_Die_Bombe|this project]] as a starting point. Weight cell and LCD-Display are working fine. | * Use the software of [[Escape_Game:_Die_Bombe|this project]] as a starting point. Weight cell and LCD-Display are working fine. | ||
* Document progress within your [[DMS_load_cell_with_measuring_amplifier_HX711AD|article]] (A). | * Document progress within your [[DMS_load_cell_with_measuring_amplifier_HX711AD|article]] (A). | ||
|| | || B || Done || | ||
* a | * Each button has to be connected to an [[Arduino:_Interrupts|interrupt]]. (Done) | ||
* | * The button has to be debounced in the ISR. (Done) | ||
* | * Please comment every source code line. (Done) | ||
* Add a [[Header_Beispiel_für_C|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 [[DMS_load_cell_with_measuring_amplifier_HX711AD|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 [[Ambient_Light_Lux_Sensor_VEML7700|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 [[Ambient_Light_Lux_Sensor_VEML7700|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 <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 |
|
A | Done |
|
| 2 | 10.03.26 |
|
A | Done |
|
| 3 | 17.03.26 |
|
A | Done |
|
| 4 | 24.03.26 |
|
B | Done |
|
| 5 | 31.03.26 |
|
A | Done |
|
| 6 | 14.04.26 |
|
A | Done | The .mat file has been saved in the project workspace and versioned in SVN for further analysis |
| 7 | 28.04.26 |
|
A | In Progress |
|
| 8 | 30.04.26 |
|
A | In Progress |
|
| 8 | 06.05.26 |
|
A | In Progress |
|
| 9 | 12.05.26 |
|
A | Done |
|