Giter Club home page Giter Club logo

i2crotaryencoder's Introduction

Tasmota-I2cRotaryEncoder

This code is experimental and a work in progress - please do not ask for it to be included in Tasmota at this time.

You are welcome to test, but in order to do this you need to be able to compile Tasmota.

Once you can do this you can add the file: https://github.com/andrethomas/I2cRotaryEncoder/blob/master/Tasmota%20Driver/xsns_92_I2cRotary.ino to the /tasmota/ source code folder which will allow it to be included during compilation.

activate the Driver within your User_Config_Override.h with (it won't work if your "Use_I2C" is deactivated, too. For making a minimal Firmware for OTA):

#define USE_I2C_ROTARY

The rotary encoder needs only the Arduino sketch: https://github.com/andrethomas/I2cRotaryEncoder/blob/master/I2CRotaryEncoder/I2CRotaryEncoder.ino

This needs to be flashed to an Arduino UNO, Arduino Pro-Mini, or compatible and then connected via I2C bus to the ESP8266 on which the Tasmota firmware is running.

TO-DO LIST

  • Implement PWM support on at least one PWM capable output pin
  • Implement zero cross detection so that PWM can also be used for AC dimming.

i2crotaryencoder's People

Contributors

andrethomas avatar feedbagg avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

i2crotaryencoder's Issues

optimization

Hi!
I've otinmized your code a little, and want to share it.
MQT will only be sent when a Change happened;
updateFrequency set to 100mSeconds
Driver Name changed to 92 (Because Tasmota does have now 91 already in V8.2.0)

any questions please ask :)

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.