Frage zu meinen System
Hallo zusammen,
Ich habe einen Frage zu meinen Programm. Dies will einfach nicht laufen und ich finde keinen Fehler mehr. Ich habe mein Programm bei Simulink geschriebenen den Code bei Maltab Function. Das Board ist ein Adruino Uni Board. Ein Ultrasonic Sensor soll die Füllstände ich Wäschekörben messen. Dabei wird unter voll oder halbvoll entschieden. Anschließend wird ein Motor angesprochen, der entweder 15 oder 30 Sekunden laufen soll. Überwacht wird der Motor von einem Thermistor (den habe ich hier PT100 genannt) und einen Vibrationsschalter. Dazu soll der Vibrationsschalter über einen Resetknopf zurückgesetzt werden. Ich hoffe ihr könnt mir weiterhelfen.
Vielen Dank:)
if true
% code
end
5 Comments
Time DescendingHello everyone,
I have a question about my program. It just won't run, and I can't find any more errors. I wrote my program in Simulink and the code in a MATLAB Function block. The board is an Arduino Uno board. An ultrasonic sensor is supposed to measure fill levels in laundry baskets. It determines whether it is full or half-full. Then, a motor is triggered to run for either 15 or 30 seconds. The motor is monitored by a thermistor (which I've named PT100 here) and a vibration switch. Additionally, the vibration switch should be reset using a reset button. I hope you can help me out. Thank you very much! :)
I dont think the model you shared made it, perhaps you can try again? Can you localize where it fails, or make a simpler model with just the thermistor or just the vibration switch? Also perhpas a version that only trns the motor on and off?
Sign in to participate