Skip to content

Raspberry Pimote Energenie Controller on Arduino

License

Notifications You must be signed in to change notification settings

j-dohnalek/Arduino_Energenie_Pimote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Pimote Library

Example Usage

https://github.com/learn2develop/Central_Heating_Module_Firmware

Power

3.3-5V

Configuration

Include the library

#include <Pimote.h>
Pimote socket;

Define the pins as connected to the Pimote

socket.setESD0(int p);    // set Encoded Signal D0
socket.setESD1(int p);    // set Encoder Signal D1
socket.setESD2(int p);    // set Encoder Signal D2
socket.setESD3(int p);    // set Encoder Signal D3
socket.setMODSEL(int p);  // set MODSEL mode select signal (OOK/FSK)
socket.setCE(int p); // set CE modular enable (Output ON/OFF)

Include the begin method

socket.begin();

Usage

Socket 0 includes all sockets, individual sockets can be addressed using integers between 1-4.

Turn socket on

socket.on(int s);

Turn socket off

socket.off(int s);

About

Raspberry Pimote Energenie Controller on Arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages