0
\$\begingroup\$

How would I be able to send a notification or email/msg of some sort to my computer after an event has taken place from elsewhere. To be more specific, when a tripwire is tripped, (LDR/Laser beam) how would i be able to send a signal to my computer over wifi that it has been tripped? Sorry if my question doesn't really make sense, I'm very new to electronics.

\$\endgroup\$

closed as too broad by brhans, Hearth, pipe, Scott Seidman, Chris Stratton Jan 16 at 3:49

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

0
\$\begingroup\$

I suggest using an Arduino-style microcontroller platform. A microcontroller is a chip that you can program to do many things. Many of them have a built-in USB serial port, so you can send data from the chip and receive it on the computer. You can even write your own computer program to process the data, easily enough.

Note that you don't just want the chip, you want the whole board that's already set up and ready to program. The Arduino boards are examples of this, or the Blue Pill, or the Teensy.

You would connect your sensor to the microcontroller board and program the microcontroller to send data to the computer when the sensor trips. You would write another program for the computer, to play an alarm sound (or whatever you want it to do) when it receives data from the microcontroller.

If you want to send data across a large distance, you can find an add-on board (probably designed for an Arduino, but usable with other boards too) that will let you insert a SIM card and send data through the Internet using the cellphone network. That will be more complicated to set up.

\$\endgroup\$
  • \$\begingroup\$ Thanks, this was the answer i was looking for, i thought of doing it using an arduino but wasn't sure if this was the simplest way. \$\endgroup\$ – This Is The End Of Pineapples Jan 17 at 1:43
-1
\$\begingroup\$

Numato Lab https://numato.com/ is a company that designs and manufactures various I/O boards for connection to computers. I once purchased the GP80001 model which connects to a computer by USB and was able work with arbitrary I/O bits using the Python language. Once you move those bits that represent activities going on outside the computer into the computer, you can work with this data programmatically and move this data to other computers by many available methods.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.