TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (392 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (140535 times)
  2. FAT32 Library (73023 times)
  3. Network Ethernet Library (58026 times)
  4. USB Device Library (48212 times)
  5. Network WiFi Library (43821 times)
  6. FT800 Library (43293 times)
  7. GSM click (30354 times)
  8. mikroSDK (28984 times)
  9. PID Library (27115 times)
  10. microSD click (26717 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

RF Relay Control

Rating:

0

Author: Shawon Shahryiar

Last Updated: 2016-02-25

Package Version: 1.0.0.0

Category: Communication

Downloaded: 688 times

Followed by: 1 user

License: MIT license  

AVR-AVR RF communication using low cost RF modules.

https://www.youtube.com/watch?v=i6FnK8dfE74
https://www.youtube.com/watch?v=hmsoojNCE3k
https://www.youtube.com/watch?v=j92d6KPrgFM

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "RF Relay Control" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "RF Relay Control" changes.

Do you want to report abuse regarding "RF Relay Control".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

Data pattern

Data pattern

Data pattern.

View full image

There are various methods for sending data between multiple MCUs. Of these the most common methods are custom UART-based protocol, Manchester code and time slotting protocol. In time slotting protocol, 1s and 0s are sent as pulses with variable on time. Logic one is represented with 2ms high followed by 1ms low while logic zero is represented as 1ms high followed by 1ms low. Thus data encoded and decoded using these infos.

When idle, most low cost 315/433MHz RF modules receive ambient RF noise and so constant on/off signals are never recognized by them. However they seem to work properly with high frequency on-off signals. To reliably send data, bursts of relatively high frequency pulses are send out before broadcasting actual data and its CRC. These trigger the receiver RF module to reduce its gain and get ready to catch up data. After responding to these sync bits actual data and CRC are retrieved. The CRC is simply the logical AND of the actual 8 bit data and 0xAA.

Time slotting techniques just like Manchester code doesn't depend on whether a MCU has a UART or not. Any I/O pin can be used and the coding for such is not too large and complex. 

ALSO FROM THIS AUTHOR

I2C LCD

5

PCF8574 I/O port expander-based I2C serial LCD. Examples with MikroC for AVR and CCS PIC C. https://www.youtube.com/watch?v=dBjV9LTCY1c

[Learn More]

AD9850 DSS

0

AD9850 Digital Signal Synthesizer. https://www.youtube.com/watch?v=01tnvL2MCTw

[Learn More]

ILI9341 320x240 TFT Touch Display 16-bit Parallel (8080) Mode Demo with ATMega2560

0

This is a library demo for ILI9341 TFT display controller using 16-bit parallel port/8080 interface. Although MikroE compilers support for this TFT controller and many others, I coded this library for anyone using any compiler. I used an Arduino Mega2560 and TFT shield but the code is written with MikroC for AVR.

[Learn More]