TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 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 (142022 times)
  2. FAT32 Library (75253 times)
  3. Network Ethernet Library (59472 times)
  4. USB Device Library (49492 times)
  5. Network WiFi Library (45268 times)
  6. FT800 Library (44880 times)
  7. GSM click (31415 times)
  8. mikroSDK (30402 times)
  9. microSD click (27778 times)
  10. PID Library (27614 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

WiFi 11 click

Rating:

5

Author: MIKROE

Last Updated: 2020-09-21

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: WIFI

Downloaded: 3361 times

Not followed.

License: MIT license  

WiFi 11 Click is a compact add-on board that contains a WiFi and Bluetooth module that has dual bands for WiFi communication. This board features the BW16, a single-chip low-power dual bands Wireless LAN (WLAN) and Bluetooth Low Energy SoC module from Shenzhen B&amp;amp;T Technologies Co., Ltd.

No Abuse Reported

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

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

Do you want to report abuse regarding "WiFi 11 click".

  • mikroSDK Library 2.0.0.0
  • 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

WiFi 11 Click

WiFi 11 Click

Native view of the WiFi 11 Click board.

View full image
WiFi 11 Click

WiFi 11 Click

Front and back view of the WiFi 11 Click board.

View full image

Library Description

The library contains a basic functions for using WiFi 11 click.

Key functions:

  • void wifi11_set_conect_to_ap( char *username, char *password ) - Connect to AP
  • void wifi11_send_command ( uint8_t *cmd ) - Send command

Examples description

The application is composed of three sections :

  • System Initialization - Initializes UART module and all necessary GPIO pins
  • Application Initialization - Initializes driver module and stert sends AT comands.
  • Example : TCP client - Please, before the uploaded program you should write network parameters and TCP server parameters.
void application_init ( )
{
    wifi11_uart_driver_init
    ( 
        ( wifi11_obj_t )&_MIKROBUS1_GPIO,
        ( wifi11_obj_t )&_MIKROBUS1_UART 
    );
    Delay_ms( 200 );
    wifi11_reset_device( );
    Delay_ms( 5000 );
    
    mikrobus_logWrite( "---- Start test command -----", _LOG_LINE );
    wifi11_send_command( &WIFI11_CMD_AT[ 0 ] );
    Delay_ms( 200 );
    wifi11_send_command( &WIFI11_CMD_ATSV[ 0 ] );
    Delay_ms( 200 );
    mikrobus_logWrite( "---- WiFi configuration -----", _LOG_LINE );
    wifi11_send_command( &WIFI11_CMD_ATPW[ 0 ] );
    Delay_ms( 1000 );
    wifi11_set_conect_to_ap( &wifi11_net_username[ 0 ], &wifi11_net_password[ 0 ] );
    Delay_ms( 10000 );
    wifi11_send_command( &WIFI11_CMD_ATW[ 0 ] );
    Delay_ms( 1000 );
    mikrobus_logWrite( "---- TCP example (Client) -----", _LOG_LINE );
    wifi11_send_command( &WIFI11_CMD_ATPC[ 0 ] );
    Delay_ms( 10000 );
    wifi11_send_command( &WIFI11_CMD_ATPT[ 0 ] );
    Delay_ms( 1000 );
    wifi11_send_command( &WIFI11_CMD_ATPK[ 0 ] );
    Delay_ms( 1000 );
}

Other mikroE Libraries used in the example:

  • UART Library

Additional notes and informations

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

EERAM 2 Click

0

EERAM 2 Click is a standalone serial SRAM memory that includes shadow non-volatile backup. EERAM uses a small external capacitor to provide the energy needed to move the contents of the SRAM to the non-volatile cells when system power is lost.

[Learn More]

USB SPI click - Example

0

This is a sample program which demonstrates the use of USB SPI click This device accepts commands from SPI Terminal and sends appropriate bytes via SPI interface. It is very desirable tool for designing SPI slave devices such as sensors...

[Learn More]

4x4 Key Click

0

4x4 Key Click carries a 16 button keypad. The design of the board — inputs are read by a pair of connected 8-bit parallel-in serial-out shift registers — allows for multiple key presses at the same time.

[Learn More]