Skip to content

Welcome! I am going to build a "Motion Sensor System" - Working with micro-controllers and IOT devices. Using Micro Python programming to alert its user through its local network, the Raspberry Pi Pico W provides its own IP Address to send & receive date via MicroPython.

Notifications You must be signed in to change notification settings

CNJ-FsDev/MotionSensor-RaspberryPICO-IOT

Repository files navigation

Motion Sensor

Welcome! I am going to build a "Motion Sensor" - Working with micro-controllers and IOT devices. Using Micro Python programming with a Raspberry Pi Pico W, PIR sensor, buzzer and RGB LED. With these electronic components I am striding to build a reliable and efficient remote access alarm system.

The aim of this project is to activate an alarm system, manually, automatically or remotely. The project is able to make an alarm noise to ward off trespassers, when activated. Once the alarm has been tripped it then alerts the users when motion is detected via a local web server as well as control the sensor's functionality within the web server, every time motion is detected it will record the Date and Time of the detection by logging data into a .txt file and/or cloud file.

This project is ideal for monitoring pet in/out goings. From birds nest, cat flaps, hamster wheel. A various range of ideas to be hosted by this motion sensing project.

** Raspberry Pi Pico W (Current Project) **

Storage info

Storage space on this drive or filesystem:

total space: 848.0 kB
used space: 36.0 kB
free space: 812.0 kB



Hardware Requirements:
  • 1x Raspberry Pi PICO W
  • 1x SunFounder Breadboard Power Bank (Power Supply Module)
  • 1x Medium Breadboard
  • 1x PIR Sensor (Motion Sensor)
  • 1x RGB LED
  • 1x Buzzer
  • 10x Dupont Line
  • 10x Male-Male short line

Port connection:

Raspberry PICO W RGB LED BUZZER PIR Sensor
GP0 S
GP2 R
GP3 G
GP4 B
GP14 Buz
3V3 +
GND - - -

Current Project Issues: whilst working on this project i have encountered a few issue, here i will state the current issues with my project and upadate my read me on my resolve. - wifi connection - make sure to turn the PICO on and off for a fresh restart, this makes it easier to connect to the wifi with out any errors occuring. - buzzer - recieves electricty causing the buzzer to be triggered when the alarm system is in occurence with the 'else' statment and 'buzzer.deinit()' is declared but proves not to work.

Stage 1 - Circuit-Board:

PIR sensor, also known as pyro-electric infrared sensor, is a sensor that uses infrared light for data processing. Since the human body has a constant body temperature, generally around 37 degrees, it emits infrared rays with a specific wavelength of about 10um. The infrared light emitted by the human body is enhanced by the Philippine filter and then concentrated on the infrared induction source.

Detecting whether someone was present in the sensor detection area through the Raspberry Pi Pico W. If a person is detected, the light will be turned on, and in acordance the buzzer will activate making a noise that will last the duration of the PIR sensor motion detection which is set to detect motion at the value of '1', then buzzer and LED will activate simultaneously. Once the PIR sensor has detected motion, from a green static RGB LED it will then change colour to red and the buzzer will activate. The buzzer is set to a frequency of '750' and reset after three seconds, unless motion is detected again. (Upon simulating the usage of this product, the buzzer is noticeably heard from the next room over or within a quiet multi-level household.)

Stage 2 - Web Server:

Now that the project's main programming and circuit board are completed Web server hardware is connected to the internet and allows data to be exchanged with other connected devices. Remote control access needs to be established for the alarm system to be useful when;

  • Activation.
  • Control.
  • Disabling.
  • Time Sensitive.
  • Easy Customisation.

Stage 3 - Data Logging - .txt file:

The Next stage will cover data logging to a (txt) file, part of the project will consist of recording data and logging this data in a txt file. The web server will also come in handy to view data remotely.


About

Welcome! I am going to build a "Motion Sensor System" - Working with micro-controllers and IOT devices. Using Micro Python programming to alert its user through its local network, the Raspberry Pi Pico W provides its own IP Address to send & receive date via MicroPython.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages