Giter Club home page Giter Club logo

machine-access-node's Introduction

Machine Access Node

Machine Node (WiFi)

Hardware and firmware to provide restricted access to dangerous and delicate tools. Built around an ESP8266 (WeMos D1 mini) and RFID-RC522 breakout.

Designed to be easy to build for all levels of experience - simply order the PCB from DirtyPCBs or OSHPark and solder the through hole parts to the board. Software builds through the Arduino environment and will flash directly to the WeMos board over USB.

Hardware

Populated PCB

Faceplates for assembly

To build a machine node you simply need to acquire a PCB - gerbers are available in the hardware folder - and order the parts listed in the BOM.

Schematic.

Power Supply Options

There are three power supply options.

  • 12 V DC Power
    This is the recommended option. Populate the 12 V DC section of the schematic, and also C4 if you wish.
  • 5 V DC Power (Untested)
    Populate the 12 V DC section of the schematic, and do not fit U2 or D2. Use a jumper wire to bridge D2 and connect the solder jumper JP1.
    There is no polarity protection in this configuration.
  • 240 AC Mains Power (Untested)
    Populate the 240 V AC section of the schematic. There is a PTC fuse inside the AC-DC power supply U3 but there should be external fusing as well to protect small gauge cabling coming into the terminals.

Relay Contacts

The relay is rated for 250 V, 6 A max. If you are switching heavy loads it is recommended that you use this to trip an external contactor.

Latch Mode

The default state is "Present" mode, that is, the output will turn on when the card is present and it will turn off when it is removed. An as yet untested mode allows the node to read a card once and then keep the output enabled until an external signal is received.

Feel free to test this mode out, you can modify settings in settings.h. Remember to include a button to allow the user to cancel their session.

Faceplate

Enclosure parts are for laser cutting and will fit a deep surface mount pattress box available from LAP. You need to countersink the "solid" back plate and fit screws through into the backbox compartment to secure the PCB in place. Nylon screws & nuts are recommended to secure the PCB to minimize any interference with the RFID signal. Typical metal faceplate screws are acceptable to attach the faceplate to the backbox.

Software

Library Requirements

Modify settings-example.h and rename as settings.h.

Requires the Tool API server running somewhere accessible, at least until the cards have been cached.

machine-access-node's People

Contributors

adnbr avatar

Stargazers

Rob Lloyd avatar

Watchers

Paul Brook avatar Christopher Stanton avatar  avatar James Cloos avatar  avatar Alex Silcock avatar  avatar  avatar Alfie Foster avatar chuchu avatar Callum Snowden avatar Thomas Judd-Cooper avatar

machine-access-node's Issues

Latch input - Builtin pull-up on D4 fights with pull down

Wemos pin D4 (ESP8266 GPIO2) has a built-in pull up resistor (for boot select purposes) which fights with the pull down on the 4N25 optocoupler emitter. End result is that the input will never cross the digital signal threshold and register a change in signal.

Relay latches at startup

The output relay switches itself at startup - this is related to the way that Pin D3 on the WeMos is mapped as a special pin on the ESP8266 which determines where it should boot from. There's a brief moment when it's pulled high, and a pull down can't be used because it will interrupt boot.

The solution is to swap the status LED with the relay, as status is occupying a normal pin. Fix permanently with Revision 2.

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.