Effortlessly Send Data via Motion Sensors with WIFI Technology

Click For Summary

Discussion Overview

The discussion revolves around the integration of motion sensors with WiFi technology to send data to an online database. Participants explore various methods and technologies for achieving this, including the use of commercial sensors versus DIY solutions, as well as the software requirements for data manipulation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant inquires about sending information to the web through motion sensors, prompting a request for clarification.
  • Another participant suggests using devices like Arduino, ESP2866, or Raspberry Pi to read sensor data and forward it online.
  • A participant specifies the need for tracking entries and exits in a room, indicating a desire to send uptick data to a database.
  • There is a preference expressed for using a commercial WiFi sensor due to liability concerns associated with building a system from scratch.
  • One participant mentions the availability of a Python database API and lists several compatible database interfaces for use with Raspberry Pi.
  • Concerns are raised about configuring sensor sensitivity and managing data upload frequency to avoid database overload.
  • Another participant suggests that data manipulation would typically occur in a smartphone app that receives the data.
  • Questions arise about whether the challenges lie in data manipulation, connecting the sensor to a database, or the sensor's ability to send information.
  • A later reply emphasizes the complexity of the question regarding data retrieval from the Internet, suggesting that programming courses may be necessary for further understanding.

Areas of Agreement / Disagreement

Participants express differing views on whether to use commercial sensors or build a system from scratch. There is no consensus on the best approach to connect the sensors to a database or manipulate the data effectively.

Contextual Notes

Participants highlight various technical aspects and potential limitations, including the need for programming knowledge and the complexity of integrating sensors with databases. Specific assumptions about the capabilities of commercial sensors and the requirements for data manipulation are also present.

Who May Find This Useful

This discussion may be useful for individuals interested in IoT applications, motion detection systems, and those seeking to integrate sensors with online databases for data analysis.

Somali_Physicist
Messages
117
Reaction score
13
Does anyone know how i can send information to the web through motion sensors?
 
Engineering news on Phys.org
Please elaborate, this is rather ambiguous so far.

In general you should connect the sensor to something capable of both reading the sensor state and forwarding the information. Arduino with WiFi shield, ESP2866 module, Raspberry Pi (Zero should be enough) - something like that.
 
  • Like
Likes   Reactions: davenn
Borek said:
Please elaborate, this is rather ambiguous so far.

In general you should connect the sensor to something capable of both reading the sensor state and forwarding the information. Arduino with WiFi shield, ESP2866 module, Raspberry Pi (Zero should be enough) - something like that.
I want to basically check if someone walked into a room, so if X enters or leaves a room , uptick 1.If X leaves a room uptick -1. However i want the upticks to be sent to an online database.
 
OK.

My advice still holds.
 
Borek said:
OK.

My advice still holds.
but i want to use a commercial wifi sensor.Building it my self would involve liabilities since i am selling a system.
 
I believe there is a python database API that you could possibly make use of, if you choose to use a raspberry pi. Which should be quite familiar if you've worked with databases before. Here are some popular compatible database interfaces:
- GadFly
- mSQL
- MySQL
- PostgreSQL
- Microsoft SQL Server 2000
- Informix
- Interbase
- Oracle
- Sybase

Once you've got all that set up, it should just be a case of uploading the motion sensor's data to the database. You would also need to configure the sensor's sensitivity, possibly write a bit of code that will upload the data when a certain condition is met such as a time interval or you'll just over load the database with data. And then if you wanted to, make it log the data so you can see what's triggering it throughout the day. And then you should have a fairly good Internet motion sensor.

Additional information about the python database API can be found here:
https://www.python.org/dev/peps/pep-0249/

Hope this helps, I'm no expert but this would be my best approach!
 
Somali_Physicist said:
but i want to use a commercial wifi sensor.Building it my self would involve liabilities since i am selling a system.

Do you mean something like this? https://www.amazon.com/dp/B07F7D557R/?tag=pfamazon01-20

If you don't already know how to design it, it may make sense to become a retail reseller of a product that other people already make.
 
anorlunda said:
Do you mean something like this? https://www.amazon.com/dp/B07F7D557R/?tag=pfamazon01-20

If you don't already know how to design it, it may make sense to become a retail reseller of a product that other people already make.
Kind of , i want to be able to manipulate the data.Also i want to be for small rooms , thus if it shouldn't detect motion past a limited angle.(The latter could probably be fixed with just fancy cardboard.
 
Somali_Physicist said:
Kind of , i want to be able to manipulate the data.

Manipulation would typically be done in the smart phone app that received the data.
 
  • #10
So is the problem with manipulating the data, connecting existing WiFi sensor to the database on some computer, or about making a sensor that is able to send the information to the database?

Or is it all at the same time?
 
  • #11
anorlunda said:
Manipulation would typically be done in the smart phone app that received the data.
Borek said:
So is the problem with manipulating the data, connecting existing WiFi sensor to the database on some computer, or about making a sensor that is able to send the information to the database?

Or is it all at the same time?
The software part, how could i send raw data into my computer so i can manipulate with a database software.
 
  • #12
Somali_Physicist said:
The software part, how could i send raw data into my computer so i can manipulate with a database software.

You have a lot of learning to do. The question is, "How can my program get data from the Internet?" That's too big a question for a forum. Instead, you need some programming courses.
 
  • Like
Likes   Reactions: TechTree

Similar threads

  • · Replies 34 ·
2
Replies
34
Views
5K
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
Replies
3
Views
1K
  • · Replies 7 ·
Replies
7
Views
7K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K