Giter Club home page Giter Club logo

servo_blik's Introduction

servo_blik

A flutter app and python scripts created as a project for Embeded Systems course. It functions similarly to BLIK as the user generates code to enter on the keyboard to move the servomechanism. After a couple of seconds the code expires and you need to generate a new one to eneter. The RPi serves as server and database and App is only required for code generation and time counting

Requirements:

  • RaspberryPi (capable of running python 3.6 or newer, we used RaspberryPI 4B)
  • An Android or iOS device comatible for development in Flutter 2.2.3 or newer
  • Membrane 4x4 keyboard
  • Servomechanism
  • i2c compatible LCD display

Getting Started

  1. Connect peripherals using the main.py code for keyboard and servo, LCD display should by connected by using adequet GPIO on RPi for i2c
  2. Run server.py on your raspberry pi
  3. Run main.py on your raspberyy pi (should coexist with server.py)
  4. If everything goes right the LCD should display a welcome message
  5. You can now use app to send the code to the server and move the servo with it

How to use

The keys on keyboard are matched as followed: 0-9 - number imputs

A - check the current code and insert an entry request into the database (Display should pop up a messaage about correctness of the code)

B - DEBUG, prints out on the CONSOLE last entry to the database

C - delete enetered by keyboard code

D - exits the app (only the main.py!)

* - deletes the last entered digit

To generate code use the app (there is only one button there "Generate code!")

servo_blik's People

Contributors

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