Giter Club home page Giter Club logo

fastlogic's Introduction

fastLOGIC! open-source (industrial) logic controller

banner image

An affordable Arduino-based board designed for straightforward (industrial) logic control, ideal for building small-scale automation and control solutions.

FastLOGIC! is designed to cater to the automation needs of various applications, especially those with modest logic requirements. Its purpose is to streamline smaller projects by eliminating the need for excessive error-prone breadboarding while retaining flexibility and adaptability.

Use cases could be one of these:

  • a programmable fridge controller
  • water level-dependent pump controller
  • a timer that is triggered by a button
  • an actuator that activates and moves to an end stop upon receiving a triggering input
  • some sensor data you need to display
  • a water level sensor/alarm
  • you get the idea

description image

Software

The Arduino library can be used to get started. A few example sketches show what fastLOGIC! is capable of, how to read sensor data and how to write outputs to the LEDs and relays.

The library covers most cases, but if you want to write or read directly from or to the pins:

// fastLOGIC! pin mapping
DIGITAL_IN_A = D2;
DIGITAL_IN_B = D3;
RELAY_A_OUT = D5;
RELAY_B_OUT = D4;
TM1637_SCK = D6;
TM1637_DIO = D7;
DS18B20_DATA = D9;
LED_B_OUT = D10;
LED_A_OUT = D13;
VOLTAGE_SENS_IN = A0;
BUTTONS_IN = A1;
ANALOG_IN_A = A2;
ANALOG_IN_B = A3;

If you want to use the 7-segment display, use this library.

The part numbers in the KiCAD files are LCSC part numbers. This means you can order directly from JLCPCB using the manufacturing files in the production folder. I typically opt for SMT parts exclusively due to the high cost associated with THT assembly and also because not all the required parts are readily available in stock.

perspective photo

Hardware

The placement is largely self-explanatory. If you find yourself uncertain, you can refer to the images provided below or utilize the 3D view feature in KiCAD for further clarification.

The only hardware parts you need:

Optional:

Assembly

assembly case 3D

layout screenshot

Video:

LINK TO VIDEO

Follow the project on hackaday.io!

Enjoy the project, but keep in mind:

  • The project is still under development and is currently in the prototype stage! Keep an eye out for updates!
  • This also implies that not all functions are guaranteed to work flawlessly and may not be entirely safe
  • Avoid unsupervised usage in a production environment. Utilize at your own risk
  • Ensure input voltage is between the range of 12 to 25V. (Currently lacking reverse polarity protection)
  • Do not use the relay to switch mains voltage! It's suitable only for low voltage and currents below 5A

Happy building + coding!

fastlogic's People

Contributors

mratzka93 avatar neumi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fastlogic's Issues

add library support for settings menu

write methods for an universal 7-segment and button input menu to change parameters that get stored in EEPROM.

it has to:

  • be easy to use
  • be easy to adapt for other use cases
  • save data in EEPROM and read on start
  • should be controlled using the three button inputs

the menu could have a tree structure like this:
-> baud
-> 2400
-> 4800
-> 9600
-> rs485
-> 1
-> 0

see the temperature controller example.

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.