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
 
(3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 23: Zeile 23:
* 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 || In progress ||
|| A || Done ||
*On/Off button logic implemented (Arduino complete, Simulink partial).  
*On/Off button logic implemented (Arduino complete, Simulink partial).  
* Simulink model saved to SVN.
* Simulink model saved to SVN.
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 || In progress ||
|| A || Done ||
*LCD display implemented in Arduino and in simulink.  
*LCD display implemented in Arduino and in simulink.  
*Button added both for Tare and power button  
*Button added both for Tare and power button  
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 || In progress ||
|| B || Done ||
* Each button has to be connected to an [[Arduino:_Interrupts|interrupt]].    (Done)
* Each button has to be connected to an [[Arduino:_Interrupts|interrupt]].    (Done)
* The button has to be debounced in the ISR.    (Done)
* The button has to be debounced in the ISR.    (Done)
Zeile 64: Zeile 64:
* Do not calculate the mean. Use the LPF-result instead.
* Do not calculate the mean. Use the LPF-result instead.
* Calculate the STD from the last 5 values.
* Calculate the STD from the last 5 values.
* Finish this task ASAP so you can work with the next sensor.
* Finish this task ASAP so you can work with the next sensor.  


|  A || Done ||
|| 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