Giter VIP home page Giter VIP logo

nexa_remote_control's Introduction

Nexa remote control

Hardware and firmware for creating custom Nexa remote control. This project uses ATtiny85 and a STX882 ASK module as the RF module. It can be used to control various Nexa devices that uses 433 MHz.

One of the goals was to minimize the power usage so that it can run from a battery like CR2032.

Final circuit

Installing NexaCtrl library

The firmware uses the NexaCtrl library and this be installed in your Arduino folder:

cd ~/Arduino/libraries
git clone [email protected]:calle-gunnarsson/NexaCtrl.git

Building the firmware and uploading it to ATtiny85

To build the firmware, use the provided Makefile:

make

This project uses an Arduino Uno to program the ATtiny85: https://create.arduino.cc/projecthub/arjun/programming-attiny85-with-arduino-uno-afb829

Once you have the setup ready you can upload the firmware with the command:

make upload

Hardware

See the hardware folder for schematic and board layout files from Eagle. And also the list of parts. Note that it can use either a coin cell battery (CR2032) or f.ex. 2xAA batteries connected to the battery terminal.

Schematic

Board

The RF module used here is https://www.aliexpress.com/item/10pcs-lot-ASK-RF-module-433mhz-transmitter-module/32238392004.html

Resources

How to pair with a Nexa device

In order to use the controller with a device (like a plug-in receiver) you need to either find the existing id of your device and use that in CONTROLLER_ID. Or you can configure the device to listen for the id set in CONTROLLER_ID (self learning). Disconnect the device from mains and then plug it back in. Then, within 5 seconds, press the "on" button on the controller. You should then hear the relay switching a couple of times. If nothing happens, the device memory can be full and you have to reset it with a "group off" command during that 5 seconds start up. You probably have to do this with a paired remote. Consult the user manual of the device.

Questions or found a bug?

Please raise an issue or a new pull request if you have some code changes.

nexa_remote_control's People

Contributors

perja12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

maalouf

nexa_remote_control's Issues

(Not Issue)Power consumption of this hardware?

Hello,
I appreciate you for this nice project.
Can you share the following information for the reference only?

  1. Battery Type?
  2. Battery voltage range?
  3. Current consumption in active mode?
  4. Current consumption in sleep mode?
  5. The total life of a battery?

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.