TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 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 (136618 times)
  2. FAT32 Library (69823 times)
  3. Network Ethernet Library (55883 times)
  4. USB Device Library (46221 times)
  5. Network WiFi Library (41859 times)
  6. FT800 Library (41074 times)
  7. GSM click (28942 times)
  8. PID Library (26401 times)
  9. mikroSDK (26315 times)
  10. microSD click (25328 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: 4677 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

VREG 2 click

5

VREG 2 click is a voltage regulator click, with outstanding performances. It has a steady output voltage with the ripple lower than 5mV, short circuit protection with the LED indicator, and high efficiency with minimal power dissipation.

[Learn More]

FT click

5

FT Click is a compact smart transceiver add-on board that helps you add a Free Topology (FT) interface to any host board with the mikroBUS socket.

[Learn More]

Libraries for CEC_1302 peripherals

1

Package contains libraries and examples for all CEC1302 peripherals. Declarations of functions are compatible with functions that are provided from MCHP for other C compilers. Package contains sources of libraries so user can debug and adapt them.

[Learn More]