Git Product home page Git Product logo

arduino's Introduction

Test Bench Listener

Reads signals from the test bench (PLC) every time the trigger pin is activated by the same PCL and sends them to the remote server. It is divided in 7 files just for the sake of readability:

ETHERNET

  • Initialize the ethernet module.

  • Read MAC address from the RTC.

  • Check if the device is online.

FSM

  • Simple implementation of a finite state machine.

  • Transition between offline, connecting, connected and active states:

  • offline. Device is not connected to the network.

  • disconnected. Remote server is not responding UDP messages.

  • connected. Device is waiting for the PLC's trigger.

  • active. Device send TCP message to remote server and awaits response.

IO

  • Pin setup.

  • Monitor trigger pin used by PLC.

  • Read inputs from PLC.

  • Write result to output pins.

LCD

  • Initialize LCD screen.

  • Centralize messages displayed.

  • Control brightness changes.

TCP

  • Send TCP message to remote server.

  • Awaits remote server response.

UDP

  • Initialize UDP client.

  • "Ping" remote server.

To be able to build the project you will need to

  1. Install Arduino IDE (https://www.arduino.cc/en/software)

< Version used during development is 1.8.15 >

  1. Copy content in libraries directory to the Arduino directory (My Documents\Arduino\libraries)

  2. More Documentation in oficial GitHub page

arduino's People

Contributors

raptor057 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.