Coder Social home page Coder Social logo

ankushranka / openag_safe_shutdown Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openagriculturefoundation/openag_safe_shutdown

0.0 2.0 0.0 15 KB

Script for safely shutting down the raspi

License: GNU General Public License v3.0

Python 100.00%

openag_safe_shutdown's Introduction

openag_safe_shutdown

Script for safely shutting down the raspi

Software Install

Clone repo to root

cd ~
git clone

Add script to startup automaticallyby editing rc.local

sudo nano /etc/rc.local

Add line before 'exit 0'

python /home/pi/openag_safe_shutdown/safe_shutdown.py

Hardware Install

Connect RPI GPIO 11/13/15/17 plug to raspberry pi

Connect white wire to CH1 on delay relay

Program relay now, here are steps:

  1. Hold set to enter programming mode
  2. Use swi to select between digit cursors
  3. Use num+ / num- to increment / decrement digit
  4. Move through programming features (mode / t1 / t2 / nx) by quickly pressing set
  5. Save programming by holding set

Program relay mode = 10

Program relay t1 = 30

Program relay t2 = 5

Program relay nx = 0101

openag_safe_shutdown's People

Watchers

James Cloos avatar Ankush Ranka 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.