Code Monkey home page Code Monkey logo

rpi-irtransceiver-ws-server's Introduction

RPi-IRTransceiver-WS-Serrver

Cette librairie Python fournie un server websocket qui permet de recevoir et envoyer des codes infrarouge à l'aide des ports GPIO d'un raspberry.

La librairie utilise les librairies :

L'utilisation de BCM2835 permet une meilleur gestion du PWM (Pulse With Modulation) pour l'émission du code infrarouge.

Ce code modifié est disponible ici : https://github.com/Nico0084/RPi-GPIO_BCM2835-IR_TOOLS Il est à installer comme dépendance en lieu et place de RPi.GPIO.

Pour l'instant il ne travail en PWM que sur le GPIO 18 (Channel 0) et pour une fréquence de 38Khz

Le Raspberry ne permettent pas de contrôle temps réel, le code ne peut garantir l'émission et réception de façon sur.

Il ni a aucune garantie sur le bon fonctionnement.

Installation :

git clone http://github.com/Nico0084/RPi-IRTransceiver-WS-Server.git
cd RPi-IRTransceiver-WS-Server
sudo python setup.py install

Ajouter le démarrage du serveur au boot :

sudo update-rc.d irtransceiver defaults 99

Démarrage manuel du serveur :

sudo /etc/init.d/irtransceiver start

ou

irtransceiver

pour développer un client voir le script tests/wsclient_test.py ainsi que l'entête du script bin/ir_transceiver.py

rpi-irtransceiver-ws-server's People

Contributors

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