Giter Site home page Giter Site logo

espert's Introduction

Build Status

ESPert

Welcome to the ESPert Arduino library for users of the ESPresso Lite. Please proceed to follow the procedures as prescribed in the ESPresso Lite tutorial (http://espressolite.com).

Setup

Arduino Software

ESP8266 Board Manager

  • Start Arduino and open Preference
  • Enter the URL http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. If you have multiple URLs, separating them with commas.
  • Open Boards Manager from Tools > Board > Board Manager then install esp8266 by ESP8266 Community (current version is 2.2.0)
  • From menu Tools > Board select Generic ESP8266 Module

Install dependency for ESPert

Open Library Manager (menu Sketch > Include Library > Manage Libraries…) then install the following libraries

  • ESPert by Jimmy (current version 1.3.0)
  • DHT sensor library by Adafruit (current version 1.2.3) *
  • PubSubClient by Nick O'Leary (current version 2.6.0)
  • ArduinoJson by Benoit Blanchon (current version 5.8.3)
  • HttpClient by Adrian McEwen (current version 2.2.0)
  • ESP8266 Oled Driver for SSD1306 display by Daniel Eichborn, Fabrice Weinberg (current version 3.2.5)
  • Adafruit NeoPixel by Adafruit (current version 1.0.6)

Run examples from ESPert

  • Open Arduino IDE, try examples of ESPert library

espert's People

Contributors

codenuke avatar esp-ai avatar mozeal avatar nazt avatar pheeraphat avatar willhooi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

espert's Issues

Need BLE examples

Hi,

I saw that you had written a BLE class, but without any usage example
Does it mean that the new Espresso Lite can act as a BLE device, without any extra hardware?
That would be awesome !!

Thanks,
Matthias

__0012_ADC

The following lines in setup are unnecessary

pinMode(LED_BUILTIN, OUTPUT);
pinMode(A0, INPUT);

Multiple Buttons

How to implement multiple buttons using your library? I have Lite V2.0

Run sketch without OLED

Hi,
sorry to disturb you, but i started using your wonderful library on an ESPRESSO LITE V2 board.
At the moment i'm writing some sketches without the OLED and DHT components attached to the board. Instead of that component i need to use pin 4 and 5 as standard general purpose digital_output, and pin 12 as PWR and not for DHT sensor.

If i don't initialize the OLED component, unfortunately, i can compile and upload the sketch succesfully, but when i open the serial monitor i see that the espresso board continue to dump memory and reset, in an infinite loop.
On the other way, if I initialize the OLED component ( espert.oled.init(); ) the sketch compile and could be uploaded succesfully, but the pin 4 and 5 seems to have a strange behaviour and sometimes i cannot set a stable level (HIGH or LOW)... they simply seems to be "resetted" in a way or another.

I could I "deactivate" the OLED component and be free to use the pin 4 and 5 for cutom business?
Does you oversee problem in using pin 12 as standard PWR output if i simply don't use the espert.dht.init(); line ?

thanks in advance, best regards,

      g.

SSL connection

any idea to connect to the https connection and get json, or in in more deep, login using Oauth2

Core Firmware - 2000 Espert Workshop

It would seem that the "User Button", centre button or GPIO 13 has dual function

  1. used as input button for MQTT test
  2. Mode switch into smartconfig mode

Problem is that because the MQTT stuff shows both press and release, users are tempted to hold it
longer leading to it disconnecting the wifi!

NB: Haven't yet checked what GPIO 0 does but that goes into scary land for a beginner too.

_2000_ESPert_workshop gets error on build

Hi Jimmy,

I was trying to rebuild the demo software, to change the MQTT server name, because the mqtt.espert.io doesn't seem to be running anymore.

When adding the required libraries I couldn't find the required version:
ESP8266 Oled Driver for SSD1306 display by Daniel Eichborn, Fabrice Weinberg version 3.2.6
The version 3.2.6 isn't available, only 4.1.0 shows up.

When I do the build it fails with:
C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.cpp:891:53: error: invalid conversion from 'const char*' to 'const uint8_t* {aka const unsigned char*}' [-fpermissive]

 display->drawXbm(x, y, w, h, (const char*)bitmap);

                                                 ^

In file included from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays\src/SSD1306Wire.h:34:0,

             from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays\src/SSD1306.h:33,

             from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.h:20,

             from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.cpp:1:

C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays\src/OLEDDisplay.h:225:10: error: initializing argument 5 of 'void OLEDDisplay::drawXbm(int16_t, int16_t, int16_t, int16_t, const uint8_t*)' [-fpermissive]

 void drawXbm(int16_t x, int16_t y, int16_t width, int16_t height, const uint8_t *xbm);

      ^

C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.cpp: In member function 'void ESPert_OLED::drawBitmap(int16_t, int16_t, int16_t, int16_t, const uint8_t*, bool)':

C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.cpp:901:53: error: invalid conversion from 'const char*' to 'const uint8_t* {aka const unsigned char*}' [-fpermissive]

 display->drawXbm(x, y, w, h, (const char*)bitmap);

                                                 ^

In file included from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays\src/SSD1306Wire.h:34:0,

             from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays\src/SSD1306.h:33,

             from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.h:20,

             from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.cpp:1:

C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays\src/OLEDDisplay.h:225:10: error: initializing argument 5 of 'void OLEDDisplay::drawXbm(int16_t, int16_t, int16_t, int16_t, const uint8_t*)' [-fpermissive]

 void drawXbm(int16_t x, int16_t y, int16_t width, int16_t height, const uint8_t *xbm);

MQTT

Hi,

I'm unable to run MQTT samples. Every time the code arrive to espert.wifi.init() it crash (exception 28) and then restart. I tried also the original code ... but still the same!
There are some updates available for this board or the development is stopped and the project is dead ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.