Wednesday, November 25, 2015

ESP8266 IoT Smart Plug with NETPIE


ESP8266 IoT Smart Plug with NETPIE
ESP8266 WiFi Module make smart plug Internet of Things Application.

System Diagram
Hardware
1.ESP8266 WiFi Module ( ESP-12E )
2.Relay Module
3.OLED Display

Wiring Diagram


ESP8266 Pin GPIO_15 to Relay
ESP8266 Pin GPIO_04 to OLED SCL pin
ESP8266 Pin GPIO_05 to OLED SDA pin




ESP8266 Source Code and Web App Source Code ( HTML5 )
https://github.com/anunpanya/tutorialNETPIE-SmartPlug

About ESP8266 Code and Web App Code
You need register and login to get APPID, APPKEY and APPSECRET.
Then Use them to your code.

ESP8266 Code

Web App Code ( html )



NetPie IoT Service https://netpie.io/


Original Project from NetPie ( in Thai Language )
https://netpie.io/smart-plug/



My Blog


My Website
email : info@softpowergroup.net   Tel .081-6452400

Facebook https://www.facebook.com/softpowergroup/

Friday, November 6, 2015

ESP8266 WiFi Development kit connect TFT LCD Display



ESP8266 WiFi Development kit connect TFT LCD Display





Wiring Diagram

TFT LCD Pin VCC
TFT LCD Pin GND
TFT LCD Pin CS  to GPIO_5
TFT LCD Pin RST to RST
TFT LCD Pin DC to GPIO_2
TFT LCD Pin MOSI to GPIO_13
TFT LCD Pin CLK to GPIO_14
TFT LCD Pin LED to +3.3 V.
TFT LCD Pin MISO ( not use )


Hardware
1.ESP8266 WiFi Module ( ESP8266 DevKit or NodeMCU )
2.TFT LCD 2.2 Inch  : TFT01-2.2SP from Electrofreak (SPI Bus )














Software Test on Arduino IDE



Goto Menu 
Files => Examples => Adafriut ILI9341 => graphictest



If you don't have that examples.
Must Include Library First
Goto Menu
Sketch => Include Library => Manage Library




Input "Adafruit ILI9341" in Filter your Search...
Your will find Adafruit ILI9341 Then Install it.
Now.Your will have Adafruit ILI9341 Examples.



Open Code and edit some pin

Changes 
#define TFT_DC 9  to 2
#define TFT_CS 10 to 5





Test TFT LCD with my ESP8266 Development Board





My Blog


My Website
email : info@softpowergroup.net   Tel .081-6452400

Facebook https://www.facebook.com/softpowergroup/