801 vibration sensor

Viewed 17 times

Currently I’m trying to do a project using rpi 3b+ with 801s vibration sensor using this tutorial https://github.com/Shmoopty/rpi-appliance-monitor#notification-settings

I’m beginner with rpi and python so I’m having a problem to send/keep the data into firebase. I have been looking for tutorial and code for using sensor to send the sensor data to firebase but nothing that suitable for my project. If there any solution for this problem would be a big help for me. Thank you.

 New contributor
  • Ah, let me see. You tutorial is a complicated smart phone app project, getting vibration sensing module, and put it in a database. The project can be divided into two parts: (1) How to get sensor data, (2) How to store and access info in database. For part (1) You need to decide to get analog or digital data. If you want analog data, you need a ADC, analog to digital converter. You can easily find Arduino sample programs. The references are: / to continue, … – tlfong01 15 hours ago   
  • (1) AliExpress Vibration Sensor Module 801S Vibration Analog Output Sensitivity LM393 – US$2.1 fr.aliexpress.com/item/32808658968.html (2) 801S Vibration Sensor Module (SE040) User Manual – IduIno produktinfo.conrad.com/datenblaetter/1400000-1499999/… – tlfong01 15 hours ago   
  • @tlfong01 Ohh i see. I just want to send a simple data whether the machine is started or not. So i just want to know how i can send the data to firebase? I know it is sound complicated but do i need just simply install firebase and add POST to the script inside of rpi? I’m sorry for asking too much questions – QQila 2 hours ago
  • Hi @QQila, it is good to give a big picture, then zoom into details where you might expect problems. I prefer you ask as many SHORT questions as possible, as long as they are related. As I used to say, you first look at the big elephant, and then eat it, bite by bite. In your case, you might have altogether 20 or more short questions, eg: (Q1) How can Rpi3B+ read 801 sensor data? (Q2) How to store read data into an python array? (3) How to store array data to a log/text file? … (Q20) How to use smart phone to get the organized, statistical info charts, etc, in the cloud database? … – tlfong01 2 hours ago   
  • And often we look at the first and last step. First step is how to start, Last step is actually the goal, which is sort of project user requirements and functional specifications. You might also have user constraints such as eg, (1) I have only 3 weeks to finish my project, and my supervisor insists to use 801, (2) My school’s FireBase is already working, I just need to use the API’s to talk to it, … Just brainstorming, you might like to comment and make counter suggestions, … – tlfong01 2 hours ago   

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: