Git Product home page Git Product logo

simple_4x4_keypadcontrollerforraspberrypi's Introduction

Simple_4x4_KeypadControllerForRaspberryPi

This project make the control of 4x4 keypad very easy. It is based on the original pad4pi keypad controller with slight adjustments.

Wiring of the 4x4 keypad to the Raspberry Pi

Please refers to the following webpage to see how to connect the 4x4 keypad to your Raspberry Pi: http://fahamni.tn/how-to-connect-and-use-4x4-keypad-using-raspberry-pi/

Required libraries

Please refers to the following webpage to see how to install the required libraries to well run the 4x4 keypad controller in your Raspberry Pi: http://fahamni.tn/how-to-connect-and-use-4x4-keypad-using-raspberry-pi/

How to use this controller?

In order to use this controller, you have to navigate to the keypad controller folder containing “keypadController.py” file and add the execution permission to this file using the following command:

sudo chmod +x ./keypadController.py

Then, execute this file using the following command (in the same folder):

./keypadController.py

Note:

After finishing the modification of the behavior of various keys of the Keypad, you can add the following line to the crontab using the (crontab -e) command to launch the controller at the starting of the Raspberry Pi:

@reboot /<here type the full path to the folder containing the folder of the controller>/keypadController.py

What is the default behavior of this controller?

By pressing the keys on the keypad, the script prints the names of the various keys pressed in the terminal.

Further tutorials

To explore other useful tutorials about Raspberry Pi and Android and web development, you can subsribe to our :

simple_4x4_keypadcontrollerforraspberrypi's People

Contributors

mohamedbelhassen avatar

Watchers

James Cloos avatar  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.