LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dorm Room Alarm System Using Arduino Uno

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. 

0 Kudos
Message 1 of 3
(299 Views)

@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.

 

  1. Learn LabVIEW (there are plenty of learning resources listed at the top of the forum).
  2. Learn Arduino and how to read digital signals.
  3. Learn about reed sensors. They are not "magnetic", but sense the presence of a nearby magnet.
  4. 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.
  5. 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.

0 Kudos
Message 2 of 3
(246 Views)

@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.

 

  1. Learn LabVIEW (there are plenty of learning resources listed at the top of the forum).
  2. Learn Arduino and how to read digital signals.
  3. Learn about reed sensors. They are not "magnetic", but sense the presence of a nearby magnet.
  4. 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.
  5. 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?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 3
(237 Views)