Plot Clock using ESP8266 WeMos D1 mini and WiFi network time

Plot Clock 아크릴 부품 구입하기… Github Source Code of ESP8266: https://github.com/usemodj/esp8266-plotclock_v1 Setting #define SERVOPINLIFT 5 //GPIO 5 #define SERVOPINLEFT 4 //GPIO 4 #define SERVOPINRIGHT 0 //GPIO 0 // WIFI const char* WIFI_SSID = “baobab”; const char* WIFI_PWD = “”; const float UTC_OFFSET = 9; //South Korea (Seoul) Calibration

Read More

Install Raspbian jessie into Raspberry Pi 3

Install Raspbian jessie into Raspberry Pi 3 ref. https://www.raspberrypi.org/documentation/installation/installing-images/linux.md On Ubuntu, $ df -h … /dev/sdc1 60M 20M 41M 33% /media/jinny/6A3C-7884 /dev/sdc2 7.2G 4.4G 2.4G 66% /media/jinny/bb313ceb-7b4e-4d67-97af-5d6fa Unmount /dev/sdc: $ sudo umount /dev/sdc1 $ sudo umount /dev/sdc2 copy raspbian jessie img file to /dev/sdc: $ sudo dd bs=4M if=2016-05-27-raspbian-jessie.img of=/dev/sdc waiting…. Desktop GUI Auto login…

Read More

mysql 5.7 access denied for user ‘root’@’localhost’

$ killall -9 mysqld $ sudo mysqld_safe –skip-grant-tables & $ mysql -u root mysql> use mysql; mysql> select user,host from user where user=’root’; mysql> update user set plugin = ‘mysql_native_password’ where user=’root’; mysql> update user set authentication_string = password(‘<newPassword>) where user=’root’; mysql> flush privileges; mysql> exit $ killall mysqld $ sudo service mysql start $…

Read More

ESP8266 240×320 LCD Brain Stroke Index (뇌졸중가능지수)

2.8 inch 240×320 TFT LCD Touch Panel 구입하기 >> 보건기상지수 www.data.go.kr OPEN API 기후변화에 능동적으로 신체를 대처할수 있는 보건기상지수(뇌졸중가능지수, 피부질환가능지수, 감기가능지수, 꽃가루농도위험지수 등 5종)를 특정위치(지점번호)별로 조회할 수 있는 서비스 입니다. Github Code: https://github.com/usemodj/ESP8266_UTFT_Brain_Stroke_Index Required libraries Unzip or git clone the libraries into ‘~/Arduino/libraries/’ directory and restart Arduino IDE XPT2046: https://github.com/spapadim/XPT2046 ESP8266_UTFT: https://github.com/usemodj/ESP8266_UTFT Modify: XPT2046.cpp void…

Read More

Make Meteocons font file for ESP8266 Arduino UTFT library

2.8 inch TFT LCD SPI 240×320 Touch Screen Panel PCB board 구입하기>> Github Code: https://github.com/usemodj/ESP8266_UTFT_MeteoconsFont Make Meteocons font file for ESP8266 Arduino UTFT library Download and install Meteocons truetype font(*.ttf): http://www.alessioatzeni.com/meteocons/ Download and install BMFont.exe (Bitmap Font Generator): http://www.angelcode.com/products/bmfont/ First, Generate Bitmap font file(Meteocons_32.png) from Meteocons.ttf file using BMFont.exe Run BMFont.exe and open Menu Options/Load…

Read More

ESP8266 UTFT 320×240 LCD Display Arduino Code

Required libraries Unzip or git clone the libraries into ‘~/Arduino/libraries/’ directory and restart Arduino IDE UTFT-ESP8266: https://github.com/gnulabis/UTFT-ESP8266 ESP8266 UTFT 320×240 LCD Arduino Code UTFT_Demo_320x240_Serial_SW.ino // UTFT_Demo_320x240_Serial_SW // Copyright (C)2015 Dimitris Lampridis. All right reserved // // based on original UTFT_Demo_320x240_Serial: // Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved // web: http://www.RinkyDinkElectronics.com/ // //…

Read More

[ESP8266] Display 2.8 inch Touch LCD with WeMos D1 mini board

2.8 inch 240×320 TFT LCD Touch Panel 구입하기 >> 2.8″ Touch LCD SPI for esp8266 (nodemcu), NailBuster Software Inc. Instructions: You will need to install the adafruit gfx library into Arduino from here: https://github.com/adafruit/Adafruit-GFX-Library You will need to install the XP2046 driver from here: https://github.com/spapadim/XPT2046 download source zip files here: http://nailbuster.com/nailcode/tft28esp.zip You will find in…

Read More

ESP8266 WeMos D1 mini Relay shield blinks LED at 5VDC

ESP8266 WeMos D1 mini Examples Relay Shield, use relay to control other equipment. * NO: 5A(250VAC/30VDC), 10A(125VAC), MAX:1250VA/150W * NC: 3A(250VAC/30VDC), MAX:750VA/90W WeMos D1 mini Relay shield blinks LED at 5VDC Install WeMos D1 mini Examples of Relay shield Unzip download file or git clone to Arduino IDE sketchbook location. if Sketchbook Location is “~/Arduino”,…

Read More