06-01-2024 03:43 AM
Hello
I am learning LabView in South Korea. And I'm a beginner.
The reason I'm writing this is because I need your help.
The program I'm going to make this time is Dorm Room Alarm System.
To explain the algorithm of the alarm system, Use a magnetic sensor to recognize that the door opens and closes, and send this signal to Arduino.
It's a system that takes the signal and sends an alarm if the door opens and doesn't close for a certain period of time. (for the elderly living alone)
So, I have to study both Arduino and Lapview. I am having a hard time with both subjects because they are not good.
Please help me with what to do. Thank you. If you need an e-mail, please send it here > n8518@naver.com
I use a translator because my English is not good. I hope you understand. Thank you for reading.
06-02-2024 10:46 AM
@lilchanho wrote:
So, I have to study both Arduino and Lapview. I am having a hard time with both subjects because they are not good.
If they are "not good", why do you even want to do this? Unless this is homework for some course, you don't have to.
There are several approaches and it is not clear what the best approach would be once you are done with #1 ... #3.
To figure out the required logic, I recommend to start with a simulation. Create a VI running on the PC where you can trigger sensors using virtual buttons on the front panel and see if it reacts correctly, maybe display time since last trigger for each sensor and turn on a virtual LED if the elapsed time is above a certain value. If you run into problems, post the code you made so far and ask specific questions. I am sure we will be able to offer helpful suggestions.
06-02-2024 12:03 PM
@altenbach wrote:
@lilchanho wrote:
So, I have to study both Arduino and Lapview. I am having a hard time with both subjects because they are not good.
If they are "not good", why do you even want to do this? Unless this is homework for some course, you don't have to.
There are several approaches and it is not clear what the best approach would be once you are done with #1 ... #3.
- Learn LabVIEW (there are plenty of learning resources listed at the top of the forum).
- Learn Arduino and how to read digital signals.
- Learn about reed sensors. They are not "magnetic", but sense the presence of a nearby magnet.
- Decide if the entire code should run on the Arduino or if you want to run the controller on the PC, using Arduino to read the signals.
- Decide how the UI should look like, if any.
To figure out the required logic, I recommend to start with a simulation. Create a VI running on the PC where you can trigger sensors using virtual buttons on the front panel and see if it reacts correctly, maybe display time since last trigger for each sensor and turn on a virtual LED if the elapsed time is above a certain value. If you run into problems, post the code you made so far and ask specific questions. I am sure we will be able to offer helpful suggestions.
I'm guessing the OP wants to get better?