TOP Contributors

  1. MIKROE (2659 codes)
  2. Alcides Ramos (356 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 (136951 times)
  2. FAT32 Library (70064 times)
  3. Network Ethernet Library (56015 times)
  4. USB Device Library (46333 times)
  5. Network WiFi Library (41954 times)
  6. FT800 Library (41265 times)
  7. GSM click (29050 times)
  8. mikroSDK (26479 times)
  9. PID Library (26446 times)
  10. microSD click (25411 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: 4084 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

Brushless 23 click

0

Brushless 23 Click is a compact add-on board suitable for controlling BLDC motors with any MCU. This board features the TC78B011FTG, a three-phase sine-wave PWM pre-driver realized with six external MOSFETs to drive sensorless brushless motors from Toshiba Semiconductor. Some of the main features are a built-in closed-loop speed control function with internal non-volatile memory (NVM) for speed profile setting and the ability to set other features such as rotation direction selection, brake, Standby mode, and others. It also has a wide operating voltage range of 11V to 27V with an output current capacity of 5A and several built-in error detection circuits.

[Learn More]

Charger 8 click

0

Charger 8 Click is an intelligent Li-Ion battery charger, system power manager, and a battery fuel gauge Click board™.

[Learn More]

MAC Address click

1

MAC Address click provides a unique node address for your application. It also has 1Kbit of writable EEPROM memory. MAC Address click carries the 24AA025E64 2K I2C Serial EEPROM with EUI-64 node identity. The click is designed to run on either 3.3V or 5V power supply.

[Learn More]