Bukit Mertajam, Penang

Getting Started For ESPresso Lite v2.0

800x800-3-800x800

Introduction

In this tutorial, we will cover:

  • Board Setup (connect to network)
  • Getting Started with Arduino IDE
  • How to install the Espresso Lite V2.0 library from Github

Here is the specification for the board. For further information about the board you can visit our website.¬† ūüėȬ†

Espresso Lite V2.0 Specs and Features:
  • Features Espressif System’s ESP8266 WROOM-02 Wi-Fi module (with 4MB flash)
  • Design for IoT with free espert.io cloud and app service
  • Support the Arduino IDE (boards manager) and libraries
  • Auto program loading from Arduino IDE, using UC00A (or other compatible USB to Serial)
  • Vin: 5 to 12VDC
  • Operating Voltage: 3.3VDC
  • On board 3.3V Voltage Regulator with maximum current of 800mA continuous, 1A peak
  • One Reset button, two User Programmable buttons
  • WROOM-02 module is FCC, CE & TELEC certified
  • Breadboard friendly breakout pins
  • Ready pads for I2C Oled panel
WROOM-02 Specs and Features:
  • Operating Voltage: 3.0 to 3.6VDC
  • Operating Current: Average = 80mA
  • IEEE 802.11b/g/n at 2.4 GHz
  • WiFi mode: SoftAP/Station/SoftAP + Station
  • Security: WPA/WPA2
  • Encrytion: WEP/TKIP/AES
  • Integrated low power 32-bit MCU
  • Integrated 10-bit ADC
  • Integrated TCP/IP protocol stack
  • Integrated TR switch, balun, LNA, power amplifier and matching network
  • Integrated PLL, regulators, and power management units
  • Various interfaces available, including SDIO, HSPI, UART, I2C, I2S, IR, PWM, GPIO, etc.
  • Supports antenna diversity
  • Deep sleep power <10uA, Power down leakage current < 5uA
  • Wake up and transmit packets in < 2ms
  • Standby power consumption of < 1.0mW (DTIM3)
  • +20dBm output power in 802.11b mode
  • Operating temperature range -40C ~ 125C
  • FCC, CE and TELEC certified

 

Hardware Setup:

Espresso Lite V2.0 

ESPresoo Lite V2 Package

¬† ¬†–USB to UART Converter¬†

DHT22 Temperature and Humidity Sensor

¬† ¬†–I2C Oled Module – Blue

Getting Started                                                  

Step 1

Connect to the Internet by using AP mode(access point) method.

Step2

Assemble the Oled screen to the Espresso Lite v2.0 at 3v3,GND, SCL and SDA as the picture show: 

DSC09145

Step 3

Press the button of GPIO13 for a few second until the Espresso Lite v2.0 restart, to switch the mode to the AP mode.

  • Long blinks: SmartConfig mode
  • No flash: Connected to Wi-Fi
  • Short blinks¬†: AP mode
  • Normal blink: Trying to connect to Wi-Fi
  • No flash: Not connected to Wi-Fi


DSC09139

DSC09144       

Step 4

The Espresso Lite v2.0 is now as an access point, so connect your laptop to the access point. The SSID shown on the OLED screen is decimal, however the SSID of the access point is shown in hexadecimals, so you will need to enter the SSID on the OLED screen into a hexadecimal to decimal converter to find the correct access point to connect to on your laptop. 

server

Step 5

Open Internet browser and insert the IP address 192.168.4.1

Step 6

A box will appear, choose one of the Wifi network and press Enter.

Note: **After pressing Enter, press the button GPIO13 till the Oled screen reset. If the Espresso Lite v2.0 not connected please repeat the step or choose other networks.

webpage

Step 7

When the Oled screen show “Success”, that means the network is connected to your device.

DSC09133

 

 

 

 

Getting Started Espresso Lite v2.0 with Arduino IDE

Step 1

Install or update Arduino IDE v1.6.8

Step 2

Click on file->Prefereces->Settings->Additional Boards Manager URLs

Step 3

Copy this link:¬†http://arduino.esp8266.com/stable/package_esp8266com_index.json into the columns of¬†Additional Boards Manager URLs and click “OK”.

Preferences         

    2

Step 4

Next,click on Tools->Board->Boards Manager,install the esp8266 by ESP8266 Community latest version.

board   

1

Step 5

After install, again go to the board and click on Espresso Lite v2.0.

Step 6

After that, go to Sketch->Include Library->Manage Library, search the Library below and install it.

library 

 3 

Note: **Make sure you have installed the LATEST version for these libraries!

 

Or you can install it from github,click the link of each library to download the zip file.

How to install library from github manually?

Step 1

Download the zip file library from github and save to a folder.

4

Step 2

Go to Sketch->Include Library->Add.ZIP Library

7

Step 3

Select your zip file and open it.So the library will install in your Arduino IDE 1.6.8.

6

You may try other example.

 

Have Fun!

Reference

http://www.espressolite.com/

https://www.arduino.cc/

http://www.cytron.com.my/p-espresso-lite-v2-0

Buy

Related Posts

Comments (9)

[…] If you a first time to use this ESPresso Lite, it is recommended to do Quick Start and Getting Started tutorial […]

[…] v2.0 to enable you to get started with your own IoT project in an easier way. You can refer to the Getting Started For ESPresso Lite v2 tutorial¬†for the […]

[…] Refer to Getting Started for ESPresso Lite v2.0 to set up the WiFi connection and also the board and library setup in the Arduino […]

HI im new to this arduino and espresso world but im having trouble uploading my skech into my espresso lite 2.0

im getting this message

Arduino: 1.8.2 (Windows 10), Board: “ESPresso Lite 2.0, 80 MHz, 115200, 4M (3M SPIFFS), ck, Disabled, None”

In file included from C:\Users\user\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.cpp:22:0:

C:\Users\user\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory

#include

^

compilation terminated.

exit status 1
Error compiling for board ESPresso Lite 2.0.

i hope you can tell me whats wrong.

Hi, the error is “Adafruit_Sensor.h: No such file or directory”. I’m not sure why they separating this library. However you can download Adafruit_Sensor.h here and put it inside your Arduino libraries folder. Thanks.

[…] to Getting Started for ESPresso Lite v2.0 to set up the WiFi connection and also the board and library setup in the Arduino […]

why am i getting this error message

Arduino: 1.8.2 (Mac OS X), Board: “ESPresso Lite 2.0, 160 MHz, 115200, 4M (3M SPIFFS), ck, Serial1, WiFi”

In file included from /Users/user/Documents/Arduino/cuba_jaya/cuba_jaya.ino:3:0:
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:415:18: error: ‘_user_on_start_callback’ has not been declared
OTA_CALLBACK(_user_on_start_callback) = NULL;
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:415:49: error: invalid pure specifier (only ‘= 0’ is allowed) before ‘;’ token
OTA_CALLBACK(_user_on_start_callback) = NULL;
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:415:49: error: ISO C++ forbids declaration of ‘OTA_CALLBACK’ with no type [-fpermissive]
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:416:18: error: ‘_user_on_end_callback’ has not been declared
OTA_CALLBACK(_user_on_end_callback) = NULL;
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:416:47: error: invalid pure specifier (only ‘= 0’ is allowed) before ‘;’ token
OTA_CALLBACK(_user_on_end_callback) = NULL;
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:416:47: error: ISO C++ forbids declaration of ‘OTA_CALLBACK’ with no type [-fpermissive]
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:416:5: error: ‘int ESPert_OTA::OTA_CALLBACK(int)’ cannot be overloaded
OTA_CALLBACK(_user_on_end_callback) = NULL;
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:415:5: error: with ‘int ESPert_OTA::OTA_CALLBACK(int)’
OTA_CALLBACK(_user_on_start_callback) = NULL;
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:417:24: error: ‘_user_on_error_callback’ has not been declared
OTA_CALLBACK_ERROR(_user_on_error_callback) = NULL;
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:417:55: error: invalid pure specifier (only ‘= 0’ is allowed) before ‘;’ token
OTA_CALLBACK_ERROR(_user_on_error_callback) = NULL;
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:417:55: error: ISO C++ forbids declaration of ‘OTA_CALLBACK_ERROR’ with no type [-fpermissive]
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:418:27: error: ‘_user_on_progress_callback’ has not been declared
OTA_CALLBACK_PROGRESS(_user_on_progress_callback) = NULL;
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:418:61: error: invalid pure specifier (only ‘= 0’ is allowed) before ‘;’ token
OTA_CALLBACK_PROGRESS(_user_on_progress_callback) = NULL;
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:418:61: error: ISO C++ forbids declaration of ‘OTA_CALLBACK_PROGRESS’ with no type [-fpermissive]
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:421:19: error: ‘OTA_CALLBACK’ is not a type
void on_start(OTA_CALLBACK(fn));
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:422:17: error: ‘OTA_CALLBACK’ is not a type
void on_end(OTA_CALLBACK(fn));
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:423:22: error: ‘OTA_CALLBACK_PROGRESS’ is not a type
void on_progress(OTA_CALLBACK_PROGRESS(fn));
^
/Users/user/Documents/Arduino/libraries/ESPert/src/ESPert.h:424:19: error: ‘OTA_CALLBACK_ERROR’ is not a type
void on_error(OTA_CALLBACK_ERROR(fn));
^
exit status 1
Error compiling for board ESPresso Lite 2.0.

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

Hi, it that espresso lite support with blynk ?

what does this mean?

Arduino: 1.8.5 (Mac OS X), Board: “ESPresso Lite 2.0, 160 MHz, 115200, 4M (3M SPIFFS), ck, Serial1, WiFi”

In file included from /Users/user/Documents/Arduino/sketch_jun25a/sketch_jun25a.ino:1:0:
/Users/user/Documents/Arduino/libraries/ESPert-master/src/ESPert.h:232:5: error: ‘DynamicJsonBuffer’ does not name a type
DynamicJsonBuffer jsonBuffer;
^
exit status 1
Error compiling for board ESPresso Lite 2.0.

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

Leave a comment

Loading...