Skip to content

Firmware and hardware for a custom Nexa 433 MHz controller using ATtiny85 and STX882 RF module.

License

Notifications You must be signed in to change notification settings

perja12/nexa_remote_control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Firmware and hardware for a custom Nexa 433 MHz controller using ATtiny85 and STX882 RF module.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published