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
 
(8 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{| class="wikitable"
{| class="wikitable"
|-
|-
! #   !! date !! plan for this week !! progress
! # !! date !! plan for this week !! Priority !! progress !! Comment
|-
|-
| 1 || 03.03.26 ||   
| 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 ||
* hello world
 
* b
 
* c
*Mass measurement using HX711 implemented in Arduino fully  and partially in Simulink.
|-
|-
| 2 || 10.03.26 ||   
| 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 ||
* a
*On/Off button logic implemented (Arduino complete, Simulink partial).
* b
* Simulink model saved to SVN.
* c
*Documentation of simulink model is in progress
|-
|-
| 3 || 17.03.26 ||   
| 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 ||
* a
*LCD display implemented in Arduino and in simulink.
* b
*Button added both for Tare and power button
* c
*Documentation in progress in wiki
|-
|-
| 4 || 24.03.26 ||   
| 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)
* b
* The button has to be debounced in the ISR.    (Done)
* c
* 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).
|  A <br> A <br> A <br> B <br>||  ||
|}
|}

Aktuelle Version vom 16. April 2026, 13:57 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).
A
A
A
B