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 (141803 times)
  2. FAT32 Library (74940 times)
  3. Network Ethernet Library (59303 times)
  4. USB Device Library (49299 times)
  5. Network WiFi Library (45095 times)
  6. FT800 Library (44657 times)
  7. GSM click (31275 times)
  8. mikroSDK (30205 times)
  9. microSD click (27654 times)
  10. PID Library (27561 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: 3251 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

ADC 9 Click

0

ADC 9 Click is 8th channel analog to digital converter expansion board, for projects where you have demand for multi channel ADC conversion such as microcontrollers with small number or none analog inputs. This Click board is based on MCP3564 a 24-bit Delta-Sigma Analog-to-Digital Converter with programmable data rate of up to 153.6 ksps from Microchip.

[Learn More]

Charger 2 click

5

Charger 2 click is a LiPo battery charger with the additional monitoring IC onboard. This Click board as a whole, offers unpreceded LiPo battery charging and monitoring solution for 4.2V LiPo batteries, with the capacity up to 7000 mAh.

[Learn More]

Pressure 18 Click

0

Pressure 18 Click is a compact add-on board that contains a board-mount pressure sensor. This board features the BMP384, a robust barometric pressure sensor delivering market-leading accuracy in a compact package from Bosch Sensortec. The BMP384 provides a relative accuracy of ±9Pa and typical absolute accuracy of ±50Pa with ultra-low noise, low power consumption, and a temperature coefficient offset of ±1Pa/K. It converts output data into a 24-bit digital value and sends the information via a configurable host interface that supports SPI and I2C serial communications. It measures pressure from 300hPa to 1250hPa over a wide operating temperature range.

[Learn More]