Code Monkey home page Code Monkey logo

pico-alarm-system's Introduction

Pico-Alarm-System

Overview

This simple alarm system features 2 LEDs, a PIR sensor, an LCD display, a buzzer, and a 7-segment display that acts as a countdown timer; all done on the Raspberry Pi Pico.

Credit for the "rpiPicoSegDisplay.py" code goes to peppe8o and can be found at https://peppe8o.com/7-segment-display-and-raspberry-pi-pico-wiring-and-setup-with-micropython/

Credit for the "lcd_api.py" and "pico_l2c_lcd.py" programs goes to Tom's Hardware and can be found at https://www.tomshardware.com/how-to/lcd-display-raspberry-pi-pico

PXL_20230721_201701636 33477 PXL_20230721_201757947 33478 PXL_20230721_202017080 33479 PXL_20230721_202223045 33476

Components

  1. 1 Raspberry Pi Pico
  2. 1 solderless breadboard
  3. 1 solderless mini-breadboard
  4. 2 LEDs (1 red, 1 green)
  5. 8 220 Ω resistors
  6. 2 330 Ω resistors
  7. 1 active buzzer
  8. 1 I2C LCD 1602
  9. 1 PIR sensor
  10. 1 7-segment-display

Instructions

  1. Design the circuit based on the provided breadboard image and schematic below:

Pico_Alarm_System_bb Pico_Alarm_System_schem

  1. Download and install Thonny. (https://thonny.org/)
  2. Open Thonny and install Micropython on the Pico.
  3. Copy the files in this repository to the Pico.
  4. Open Pico_Alarm_System.py
  5. Run the code.
  6. Sleep soundly knowing your items will be safe from intruders.

pico-alarm-system's People

Contributors

mvinza34 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.