TOP Contributors

  1. MIKROE (2653 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 (136708 times)
  2. FAT32 Library (69919 times)
  3. Network Ethernet Library (55932 times)
  4. USB Device Library (46258 times)
  5. Network WiFi Library (41883 times)
  6. FT800 Library (41144 times)
  7. GSM click (28979 times)
  8. PID Library (26408 times)
  9. mikroSDK (26355 times)
  10. microSD click (25351 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

SigFox click

Rating:

5

Author: MIKROE

Last Updated: 2018-10-23

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Sub-1 GHz Transceivers

Downloaded: 4790 times

Not followed.

License: MIT license  

SigFox click is a device which carries the SN10-11, a fully integrated Sigfox certified module by InnoComm, allowing connection to a low power wide area network (LPWAN) that enables communication utilizing the Industrial, Scientific, and Medical (ISM) radio frequency band.

No Abuse Reported

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

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

Do you want to report abuse regarding "SigFox click".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC 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
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

SigFox click

SigFox click

Native view of the SigFox click board.

View full image
SigFox click

SigFox click

Front and back view of the SigFox click board.

View full image

Library Description

The library contains basic functions for controlling the click board.

Key functions:

  • int32_t sigfox_init() - Function for initializing the sensor.
  • int32_t sigfox_wakeUp() - Function for waking up the sensor from the sleep mode.
  • int32_t sigfox_sleep() - Function for placing sigfox to the low power mode.

Example description

Click board wakes up from sleep. Some tests are performed. After the tests and after the data has been sent and received from the network the click board is placed into the sleep mode to its low power mode. All events that are executed inside of the application task are printed to the serial port.

void applicationTask()
{
 char spiFrameACK = 0;
 char rData[20];
 uint8_t sendPayload[12] = "Test msg";

 _status = sigfox_wakeUp();
 if(_status == _SIGFOX_STATUS_SUCCESS)
 {
 mikrobus_logWrite("Wakeup succesfull",_LOG_LINE);
 _status = sigfox_testSpicon(&spiFrameACK);
 if(spiFrameACK == 1)
 {
 mikrobus_logWrite("SPI test finished succesfully",_LOG_LINE);
 mikrobus_logWrite("Sending data to sigfox network",_LOG_LINE);
 _status = sigfox_receiveMessage(&sendPayload[0],&rData[0]);
 if(_status == _SIGFOX_STATUS_SUCCESS)
 {
 mikrobus_logWrite("Data received",_LOG_LINE);
 mikrobus_logWrite(&rData[0],_LOG_LINE);
 }
 else
 {
 mikrobus_logWrite("Network error",_LOG_LINE);
 }
 }
 else
 {
 mikrobus_logWrite("Error in echo frame",_LOG_LINE);
 }
 }
 else
 {
 mikrobus_logWrite("Error in wakeup",_LOG_LINE);
 }
 _status = sigfox_sleep();
 if(_status == _SIGFOX_STATUS_SUCCESS)
 {
 mikrobus_logWrite("Sleep entered",_LOG_LINE);
 }
 else
 {
 mikrobus_logWrite("Error entering sleep",_LOG_LINE);
 }
 Delay_ms(5000);

}


Other MikroElektronika libraries used in the example:

  • SPI Library
  • UART Library
  • Conversions Library
  • C_String Library

Additional notes and information

Depending on the development board you are using, you may need USB UART clickUSB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
 

ALSO FROM THIS AUTHOR

NFC Tag 4 click

5

NFC Tag 4 Click is NFC RFID tag device, offering 16 Kbit of electrically erasable programmable memory (EEPROM). This Click Board offer two communication interfaces. The first one is an I2C serial link and can be operated from a DC power supply.

[Learn More]

Matrix R click

2

Matrix R click is a mikroBUS add-on board with two 5x7 matrices driven by two MAX7219 8-bit LED Display Drivers.

[Learn More]

Waveform click

5

Waveform Click is a precise sine/triangle/square waveform generator, capable of reproducing frequencies up to 12MHz.

[Learn More]