Comments (1)
Sure! If there aren't any requirements about shared ground (say, to use an existing switch in a piece of equipment) this is straightforward:
- Hardware, using the switch inputs documented at https://github.com/google/makerspace-auth/tree/master/hardware/pi-hat-1#user-content-pinouts
- Software, using a pullup oin the gpio and reading current state/an interrupt. If using our framework, the ThreePosSwitch does this in a pretty safe way with bounded delay that doesn't require debouncing, and can be used as a guide.
Were you suggesting this for the tool's case, or the authbox's case? The box we spec'd doesn't have a good way to mount things near the lid, but we're still looking for something better.
I worry about removing power to the authbox as a way around that; we don't currently have a battery backup.
from makerspace-auth.
Related Issues (20)
- Octoprint plugin for enabling buttons
- C2 capacitor sizing HOT 2
- v1.0 Errata: R5 Removal
- Consider migration to Open/Common Parts Library HOT 1
- Inquiry: Hookup of additional devices HOT 2
- Convert PCB to KiCad, Tag New Version
- Chore: Update for python3 HOT 1
- Update README.md - photos, better sourcing info HOT 1
- Update docs - add integrations for CNC mills
- Fix module overloading for python2 on Raspbian HOT 1
- Consider dropping py2 compatbility
- Generate pi-hat Gerber files as part of automated build process
- Electrical improvements to pi-hat board
- Security Policy violation Binary Artifacts HOT 2
- RPi.GPIO module is unmaintained and incompatible with latest Raspberry Pi OS HOT 2
- Document piezo buzzer connection HOT 2
- Client: Include a door control script
- Server: Write sample server
- Board: Make the hardware cheaper HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from makerspace-auth.