WiFi ESP Click

Price:
Sale price A$26.40   Inc. GST
SKU:
MIKROE-2542
Out Of Stock

We will notify you when this product becomes available.

WiFi ESP click carries the ESP-WROOM-02 module that integrates ESP8266EX. The click is designed to run on a 3.3V power supply. It communicates with the target microcontroller over UART interface and the following pins on the mikroBUS™ line: RST, CS.

Access point and WiFi client mode

WiFi ESP click can function in both AP (Access Point) WiFi mode, as well as in WiFi client mode. The click brings easy implementation and usage.

The module supports the following network protocols: IPv4/TCP/UDP/HTTP/FTP. Thanks to this the click can operate as a client device requesting a file from a file server device (FTP - file transfer protocol) in local network systems, or request a web page via internet (IP/TCP/HTTP). It can also be used as a small web server, for example a wireless weather station prototype, etc. 

Station mode is default when the click is in WiFi client mode.

ESP-WROOM-02 module features

ESP-WROOM-02 carries ESP8266EX highly integrated Wi-Fi SoC solution to meet the continuous demands for efficient power usage, compact design and reliable performance in the industry.

Besides the Wi-Fi functionalities, ESP8266EX integrates an enhanced version of Tensilica’s L106 Diamond series 32-bit processor and on-chip SRAM. As well as antenna switches, RF balun, power amplifier, low noise receiver amplifier, filters and power management modules.

With the complete and self-contained Wi-Fi networking capabilities, it can perform as either a standalone application (WROOM module itself) or the slave to an MCU host which is the primary intention of the click board as a whole. So, this click board is applied to any microcontroller design as a Wi-Fi adaptor through UART interface (RX,TX lines on mikroBUS pin socket).

For more information see the datasheet.

Advanced usage

There are additional pad headers onboard (HSPI/GPIO interface of the module) for advanced usage.

For more information see the Documentation tab.

Specifications

TypeWiFi
ApplicationsCreate smart appliances, home automation systems, wireless data loggers, etc
On-board modulesESP-WROOM-02 carries ESP8266EX highly integrated Wi-Fi SoC
Key FeaturesProtocols: IPv4, TCP/UDP/HTTP/FTP, 802.11 b/g/n standard, UART interface, 3.3V power supply
InterfaceGPIO,UART
CompatibilitymikroBUS
Click board sizeM (42.9 x 25.4 mm)
Input Voltage3.3V

Pinout diagram

This table shows how the pinout on WiFi ESP click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

NotesPinMikrobus logo.pngPinNotes
 NC1ANPWM16NC 
HW ResetRST2RSTINT15NC 
Chip enable (active high)EN3CSTX14TXUART0_TXD / Transmit end in UART download (program) mode
 NC4SCKRX13RXUART0_RXD / Receive end in UART download (program) mode
 NC5MISOSCL12NC 
 NC6MOSISDA11NC 
Power supply+3.3V73.3V5V10NC 
GroundGND8GNDGND9GNDGround

Additional pins

NameI/ODescription
CLKIOHSPI_CLK / GPIO14
SDOIOHSPI_MISO / GPIO12
SDIIOHSPI_MOSI / GPIO13
CSIOHSPI_CS / GPIO15
IO0IOGPIO0 (UART download mode - pull down, Flash boot - pull up)
GND GND

Buttons and LEDs

DesignatorNameType (LED, BUTTON…)Description
LD1PWRLEDPower Supply ON

Programming

Code examples for WiFi ESP click, written for MikroElektronika hardware and compilers are available on Libstock.

Code snippet

This code snippet configures GPIO ports, initializes the display and prepares the WiFi module. In an endless loop, LED is enabled or disabled by a button, and that information is then sent to the server.

01 void main() {02 03   // Initialize variables04   length = 0;05   state = 0;06   response_rcvd = 0;07   responseID = 0;08   response = 0;09   i = 0;10 11   // GPIO Direction12   GPIO_Digital_Input( &GPIOA_IDR, _GPIO_PINMASK_4 );13   GPIO_Digital_Output( &GPIOD_BASE, _GPIO_PINMASK_13 );14   GPIO_Digital_Output( &GPIOC_BASE, _GPIO_PINMASK_2 );15   GPIO_Digital_Output( &GPIOA_ODR, _GPIO_PINMASK_0 );16 17   // UART Initialization18   UART3_Init_Advanced( 115200, _UART_8_BIT_DATA,19                              _UART_NOPARITY,20                              _UART_ONE_STOPBIT,21                              &_GPIO_MODULE_USART3_PD89);22 23   // Enable Interrupts24   RXNEIE_USART3_CR1_bit = 1;25   NVIC_IntEnable( IVT_INT_USART3 );26   EnableInterrupts();27 28   display_init();29   30   // Initialize WiFI module31   WiFi_Init();32 33   // Setting WiFi Mode - SoftAP + station mode34   WiFI_Configure();35 36   state = 100;37   i = 0;38 39   TFT_Write_Text("Please connect to your STAIP...", 50, 100);40   Delay_ms(20000);41   WiFi3_Send();42   TFT_Write_Text("Entering button toggling loop.", 50, 150);43 44   LED_switching = 1;45 46     while( 1 )47     {48       // detect logical one on PA4 pin49       if (Button(&GPIOA_IDR, 4, 1, 1))50       {51        oldstate_A4 = 1;52       }53       // detect logical one-to-zero transition on PA4 pin54       if (oldstate_A4 && Button(&GPIOA_IDR, 4, 1, 0))55       {56         if ( !strcmp(txt_state_A0, "OFF</p>" ))57         {58           strncpy( txt_state_A0, "ON </p>", 8 );59           GPIOA_ODR.B0 = 1;60         }61         else62         {63           strncpy( txt_state_A0, "OFF</p>", 8 );64           GPIOA_ODR.B0 = 0;65         }66         oldstate_A4 = 0;67         A0_change = true;68         WiFi3_Send();69       }70     }71 }

Shipping rates Australia wide and New Zealand

Please add the items in cart and proceed to checkout to calculate shipping cost. We have range of shipping options once goods are ready to dispatch. 
1. Regular shipping: Goods will be shipped using Australia post regular shipping service. 
2. Express shipping: Goods will be shipped using Australia post EXPRESS shipping service. 
3. Express split shipping: Local stock from Melbourne will be shipped ASAP (1 business day) using EXPRESS shipment while remaining items from overseas stock when arrived in Melbourne shipped using second EXPRESS shipment. 
4. Pick up from Thomastown, Melbourne is available on appointment between 9 am to 3 pm during business days. 

  

FAQ:

  • How do I estimate shipping for my order?
    • Add products in the shopping cart and head to the checkout page to estimate the shipping.

Dispatch time

Unless expressly agreed otherwise with you, we will not commence delivery of an order until we have received cleared payment of the purchase price in full.

All orders placed before 11 am AEST (Monday to Friday) will ordinarily be processed on the same day.

We will endeavour to ship the Products by the applicable time indicated on the website, but all times are indicative only.  All shipping times are dispatch times only, and actual delivery dates will depend on the shipping method chosen, delivery address and delivery service provider. 

Note- Please make a note during purchase if you require any item urgently. However we cannot guarantee that we will be able to comply with any request

*Go to Australia post delivery time calculation to get various Australia post service in your area please use our shipping postcode Thomastown, 3074 as the "from" address - https://auspost.com.au/parcels-mail/delivery-times.html?ilink=tools-open-deliv-times.

Shipping Destinations

We ship all products throughout mainland Australia, Tasmania and New Zealand - Including Darwin, Melbourne, Sydney, Tasmania, Adelaide, Brisbane, Perth, all metro and regional areas but do not deliver to areas in Australia where the Australia Post delivery network is not available. 

Check Express shipping delivery coverage area at - http://auspost.com.au/parcels-mail/delivery-areas.html

Receipt of deliveries

Deliveries to post office boxes are not permitted where delivery is by courier. If delivery is by courier and nobody is available at the delivery address to accept delivery when delivery is attempted then the courier may either:

  • leave the relevant parcel at the unattended address (the courier will do so if specified in your delivery requirements); or
  • re-attempt delivery at a later time or date, in which case we may charge you an additional re-delivery fee. 

Note that if a delivery is left unattended at the shipping address and is subsequently stolen then the theft is your responsibility, not ours.

Payment & Security

Apple Pay Google Pay Mastercard PayPal Shop Pay Visa

Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.

You may also like