Skip to content

zeitgeist87/RFTransmitter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

RFTransmitter

433 MHz modules

This is an Arduino library for low-cost 433 MHz transmitter modules with a focus on reliable one-way communication and forward error correction. It has no dependencies and works any digital output pin.

The corresponding RFReceiver library for the 433 MHz receiver modules can be found here.

Usage

433 MHz module connection

#include <RFTransmitter.h>

#define NODE_ID          1
#define OUTPUT_PIN       11

// Send on digital pin 11 and identify as node 1
RFTransmitter transmitter(OUTPUT_PIN, NODE_ID);

void setup() {}

void loop() {
  const char *msg = "Hello World!";
  transmitter.send((byte *)msg, strlen(msg) + 1);

  delay(5000);

  transmitter.resend((byte *)msg, strlen(msg) + 1);
}

About

An Arduino library for low-cost 433 MHz transmitter modules with with a focus on reliable one-way communication and forward error correction

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages