-
-
Notifications
You must be signed in to change notification settings - Fork 345
Examples
Very basic example of UART communication. Sming allows you to work in an Arduino-like style.
Simple blink example. We use Timer instead of a loop because we want to allow WiFi communications to work in the background.
WiFi network connection and scanning functionality. Software Access Point.
Classic Arduino I2C scanner with adaptations for Sming framework.
ESP8266 DHT22 sensor reader.
ESP8266 DS1820/DS18B20 sensor reader.
ESP8266 LiquidCrystal screen I2C connection example.
ESP8266 BMP180 sensor reader.
ESP8266 HMC5883L sensor reader.
Example of HttpClient and direct ESP8266 ThingSpeak data pushing.
ESP8266 embedded web server.
At start ESP will download all requried files from remote server. All content, including JQuery and Bootstrap will be saved on device (and can work offline). Static files stored in GZIPed mode.
ESP8266 BH1750 sensor reader.
Example of direct work with SSD1306 OLED screen on ESP8266.
Minimal requirements: ESP-03
Example of direct work with ILI9163C 1.44" TFT screen on ESP8266.
Minimal requirements: ESP-03
More complex example of Internet of Things device. Can read humidity and temperature data from sensor and output it to screen with actual time. Time loaded directly from Google. Also with device can automatically control any external load.
Features:
- temperature
- humidity
- actual time from internet
- build-in display
- web control interface
- automatically control external load
- HTTP API for data reading & writing
- initialization from internet at first run
How web interface looks like: