TOP Contributors

  1. MIKROE (2663 codes)
  2. Alcides Ramos (358 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (137083 times)
  2. FAT32 Library (70224 times)
  3. Network Ethernet Library (56097 times)
  4. USB Device Library (46424 times)
  5. Network WiFi Library (42040 times)
  6. FT800 Library (41381 times)
  7. GSM click (29109 times)
  8. mikroSDK (26558 times)
  9. PID Library (26487 times)
  10. microSD click (25486 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
mikroSDK Library

OOK TX click

Rating:

5

Author: MIKROE

Last Updated: 2018-05-17

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Sub-1 GHz Transceivers

Downloaded: 4717 times

Not followed.

License: MIT license  

OOK TX click is a simple wireless transmitter that operates at the frequency of 433MHz (sub-GHz). This device allows realization of a simple, low-speed wireless ad hoc communication network between a transmitter and compatible receiver, such as the OOK RX click.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "OOK TX click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "OOK TX click" changes.

Do you want to report abuse regarding "OOK TX click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

OOK TX click

OOK TX click

Native view of the OOK TX Click board.

View full image
OOK TX click

OOK TX click

Front and back view of the OOK TX Click board.

View full image

Library description

This library contains functions required to setup OOK communication.

Key functions

uint8_t ooktx_communicationInit(uint8_t calibration, uint8_t configuration, uint16_t configurationSettings) - Initializes communication with the click

uint8_t ooktx_communicationTransmit(uint8_t transmitData) - Transmits data via OOK

uint8_t ooktx_communicationStop() - Sends a stop condition

The application is composed of three sections :

  • System Initialization - Initializes output pins.
  • Application Initialization - Initializes click driver.
  • Application Task - Code snippet - Sends a data byte that is incremented after every transmission. Data byte is prefixed by preambule bytes and start packet bytes that help the receiver to differentiate received data from glitches.
void applicationTask()
{
    uint8_t i;
    uint8_t j;

    i = 1;
    while(1)
    {
        //Signals the device to start ook communication
        ooktx_communicationInit(_OOKTX_CALIBRATION_ENABLE, 
        _OOKTX_CONFIGURATION_ENABLE, _OOKTX_CFG_DEFAULT);

        //Sends a sufficiently long preambule - 8 bytes of "01010101" sequence
        for (j = 0; j < 8; j++)
        {
            ooktx_communicationTransmit(_OOKTX_PREAMBULE);
        }

        /*
         * Sends 2 "Start packet" bytes - To help the receiver to differentiate
         * actual data packages from signal glitches. These bytes can be any
         * random number, as long as receiver knows what to expect.
         */
        ooktx_communicationTransmit(0xCE);
        ooktx_communicationTransmit(0x35);

        //Data byte to be transmitted
        ooktx_communicationTransmit(i);

        //Stops ook communication
        ooktx_communicationStop();
        delay_ms(1000);
        i ++;
    }

}

ALSO FROM THIS AUTHOR

Ambient 7 click

0

Ambient 7 Click is a light intensity-sensing and measuring Click board™, which features an accurate light-intensity sensor labeled as SFH 5701 A01, made by Osram Opto Semiconductors.

[Learn More]

FAT32 Library

61

FAT32 Library with LFN support. File features: -open, read, write, rename, delete, existence check, multiple file operation -file cursor manipulation -swap file creation, sector-level and file-level access Directory features: -create, rename, delete, change current directory -folder content listing -card format (MMC/SD only)

[Learn More]

CAN Receive Demo

0

The application demonstrates CAN receive functionality.

[Learn More]