TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 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 (136724 times)
  2. FAT32 Library (69939 times)
  3. Network Ethernet Library (55940 times)
  4. USB Device Library (46265 times)
  5. Network WiFi Library (41886 times)
  6. FT800 Library (41169 times)
  7. GSM click (28982 times)
  8. PID Library (26412 times)
  9. mikroSDK (26358 times)
  10. microSD click (25362 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 3 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: 4075 times

Not followed.

License: MIT license  

SigFox 3 click is a device which carries the SN10-13, 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 3 click" changes.

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

Do you want to report abuse regarding "SigFox 3 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 3 click

SigFox 3 click

Native view of the SigFox 3 click board.

View full image
SigFox 3 click

SigFox 3 click

Front and back view of the SigFox 3 click board.

View full image

Library Description

The library contains basic functions for controlling the click board.

Key functions:

  • int32_t sigfox3_init() - Function for initializing the sensor.
  • int32_t sigfox3_wakeUp() - Function for waking up the sensor from the sleep mode.
  • int32_t sigfox3_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 = sigfox3_wakeUp();
 if(_status == _SIGFOX3_STATUS_SUCCESS)
 {
 mikrobus_logWrite("Wakeup succesfull",_LOG_LINE);
 _status = sigfox3_testSpicon(&spiFrameACK);
 if(spiFrameACK == 1)
 {
 mikrobus_logWrite("SPI test finished succesfully",_LOG_LINE);
 mikrobus_logWrite("Sending data to sigfox network",_LOG_LINE);
 _status = sigfox3_receiveMessage(&sendPayload[0],&rData[0]);
 if(_status == _SIGFOX3_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 = sigfox3_sleep();
 if(_status == _SIGFOX3_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

SwipeSwitch click

5

SwipeSwitch click is capacitive touch, gesture, and proximity sensing Click board, which is equipped with the IQS266, an integrated trackpad controller circuit which features ProxSense® and IQ Switch® technologies.

[Learn More]

POT click

5

POT Click is a Click board with the accurate selectable reference voltage output. By employing a high-quality 10mm carbon potentiometer, this Click board can provide very accurate voltage output.

[Learn More]

LTE IoT 9 click

0

LTE IoT 9 Click is a compact add-on board containing a cellular IoT Module that supports 3GPP Release 14 and all LTE bands.

[Learn More]