Diskussion:Sensorinbetriebnahme mit Arduino und Simulink

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen
# 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