TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (385 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 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 (139845 times)
  2. FAT32 Library (72209 times)
  3. Network Ethernet Library (57392 times)
  4. USB Device Library (47740 times)
  5. Network WiFi Library (43364 times)
  6. FT800 Library (42700 times)
  7. GSM click (29980 times)
  8. mikroSDK (28440 times)
  9. PID Library (26989 times)
  10. microSD click (26398 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: 2481 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

UV 4 Click

0

UV 4 Click is a powerful Ultra Violet (UV) sensing device and Ambient Light Sensor (ALS) Click board�, featuring a sensor with a very wide dynamic range of detectable light intensity, across two ADC range settings.

[Learn More]

TILT-n-SHAKE Click

0

TILT-n-SHAKE Click carries Freescale’s MMA8491Q IC. It’s a multifunctional 3-axis digital accelerometer that can also be configured as a 45-degree Tilt sensor.

[Learn More]

USB Device Library

5

USB Device Library presents the user set of functions required to handle USB device peripheral. A embedded user application program uses API defined in this library to access USB device peripheral.

[Learn More]