LAN DS18B20 WEB Temperature Monitor 1 meter Cable
www.WEB-Relays.com
www.Facebook.com/KMtronic

Arduino Manchester encoding library for RF links

Spread the love

 

https://code.google.com/archive/p/mysudoku/downloads

https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mysudoku/manchester.zip

 

Transmitter code:

#include <MANCHESTER.h>

#define TxPin 5 //the digital pin to use to transmit data

unsigned int Tdata = 0; //the 16 bits to send

void setup() 
{ 
MANCHESTER.SetTxPin(TxPin); // sets the digital pin as output default 4
}//end of setup

void loop() 
{
 Tdata +=1;
 MANCHESTER.Transmit(Tdata);
 delay(1000);
}//end of loop

 

Receiver code:

 

#include <MANCHESTER.h>

#define RxPin 2

void setup() 
{ 
 MANCHESTER.SetRxPin(RxPin); //user sets rx pin default 4
 MANCHESTER.SetTimeOut(1000); //user sets timeout default blocks
 Serial.begin(9600); // Debugging only
}//end of setup

void loop() 
{
 unsigned int data = MANCHESTER.Receive();
 Serial.println(data);
}//end of loop

 

Arduino Manchester encoding library for RF links
Arduino Manchester encoding library for RF links
Arduino Manchester encoding library for RF links
Arduino Manchester encoding library for RF links
Arduino Manchester encoding library for RF links
Arduino Manchester encoding library for RF links
Arduino Manchester encoding library for RF links
Arduino Manchester encoding library for RF links
Arduino Manchester encoding library for RF links
Arduino Manchester encoding library for RF links
Arduino Manchester encoding library for RF links
Arduino Manchester encoding library for RF links

 

KMtronic LAN WEB 8 Channel Relay board