This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * SenEYE เซนเซอร์สำหรับวัดคุณภาพน้ำตู้ปลา นำมาแสดงผลบนบอร์ด BlynkGO + จอ 3.5" | |
| */ | |
| #include <BlynkGO.h> | |
| #include <WiFi.h> | |
| #include <TridentTD_SENEYE.h> | |
| #define BLYNKGO_KEY "--------------------" // Key สำหรับบอร์ด BlynkGO | |
| #define SSID "--------------------" // SSID ของ WiFi | |
| #define PASSWORD "--------------------" // Password ของ WiFi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <BlynkGOv2.h> | |
| #include "esp_wpa2.h" | |
| #define SSID "---------------" | |
| #define EAP_IDENTITY "---------------" //username | |
| #define EAP_PASSWORD "---------------" //password | |
| #define LINE_TOKEN "---------------" | |
| GWiFiManager wifi_manager; | |
| GLabel lb_clock; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| initial.energy=10000000 | |
| allow.reading.widget.without.active.app=false | |
| user.message.quota.limit=100 | |
| logs.folder=./logs | |
| user.dashboard.max.limit=100 | |
| lcd.strings.pool.size=6 | |
| server.ssl.key= | |
| webhooks.response.size.limit=96 | |
| hardware.mqtt.port=8440 | |
| table.rows.pool.size=100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mail.smtp.starttls.enable=true | |
| mail.smtp.port=587 | |
| mail.smtp.auth=true | |
| mail.smtp.host=smtp.gmail.com | |
| mail.smtp.username=xxxxxxxxxx@gmail.com | |
| mail.smtp.password=xxxxxxxxxx | |
| mail.smtp.timeout=120000 | |
| mail.smtp.connectiontimeout=30000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| java -jar /root/blynk/server-0.41.16-java8.jar -dataFolder /root/blynk/data -serverConfig /root/blynk/server.properties -mailConfig /root/blynk/mail.properties |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <BlynkGOv2.h> | |
| #include <TridentTD_EasyFreeRTOS32.h> // https://github.com/TridentTD/TridentTD_EasyFreeRTOS32 | |
| #include <SparkFun_AS7265X.h> // https://github.com/sparkfun/SparkFun_AS7265x_Arduino_Library | |
| #define TASK_MEM 2048 | |
| GButton btn; | |
| void setup() { | |
| Serial.begin(115200); Serial.println(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <BlynkGOv2.h> | |
| GWiFiManager wifi_manager; | |
| GLabel lb_clock; | |
| GButton btn; | |
| void setup() { | |
| Serial.begin(115200); Serial.println(); | |
| BlynkGO.begin(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <BlynkGOv2.h> | |
| #include <CircularBuffer.h> // ติดตั้งไลบรารี่โดยโหลดได้จาก https://github.com/rlogiacco/CircularBuffer | |
| #define Y_MAX 400 // ค่า Y MAX | |
| #define Y_MIN 200 // ค่า Y MIN | |
| #define POINT_CNT 20 // จน.จุด ที่ต้องการให้แสดง ใน chart | |
| GChart chart; | |
| serie_t serie1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <BlynkGOv2.h> | |
| #define ThaiID_Reader Serial2 | |
| #define THAIID_RX 22 // กำหนดขา Serial2 RX | |
| #define THAIID_TX 25 // กำหนดขา Serial2 TX | |
| uint8_t CMD_THAINAME[2] = { 0x33, 0x0D }; | |
| GLabel label; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <BlynkGOv2.h> | |
| char tis620_byte_1[] = {0x33, 0x33, 0x2F, 0x35, 0x20, 0x20, 0x20, 0x20, 0xB6, 0xB9, 0xB9, 0xA8, 0xC3, 0xD4, 0xA7, 0xA8, 0xD4, 0xB5, 0xC3, 0x20, 0xB5, 0xD3, 0xBA, 0xC5, 0xB7, 0xD1, 0xBA, 0xE0, 0xB7, 0xD5, 0xE8, 0xC2, 0xA7, 0x20, 0xCD, 0xD3, 0xE0, 0xC0, 0xCD, 0xE0, 0xC1, 0xD7, 0xCD, 0xA7, 0xB5, 0xC3, 0xD1, 0xA7, 0x20, 0xA8, 0xD1, 0xA7, 0xCB, 0xC7, 0xD1, 0xB4, 0xB5, 0xC3, 0xD1, 0xA7, 0x00}; | |
| char tis620_byte_2[] = {0x31, 0x31, 0x31, 0x2F, 0x32, 0x32, 0x32, 0x20, 0xCB, 0xC1, 0xD9, 0xE8, 0x20, 0x33, 0x33, 0x20, 0xB6, 0xB9, 0xB9, 0xCD, 0xD8, 0xB7, 0xD4, 0xC8, 0x20, 0xB5, 0xD3, 0xBA, 0xC5, 0xCB, 0xB9, 0xCD, 0xA7, 0xB9, 0xE9, 0xD3, 0xE0, 0xA2, 0xD5, 0xC2, 0xC7, 0x20, 0xCD, 0xD3, 0xE0, 0xC0, 0xCD, 0xBB, 0xE8, 0xD2, 0xCA, 0xD1, 0xA1, 0x20, 0xA8, 0xD1, 0xA7, 0xCB, 0xC7, 0xD1, 0xB4, 0xCD, 0xD8, 0xB4, 0xC1, 0xBA, 0xD8, 0xC3, 0xD5, 0x00}; | |
| char tis620_byte_3[] = {0x34, 0x34, 0x34, 0x2F, 0x35, 0x35, 0x35, 0x20, 0xB6, 0xB9, 0xB9, 0xC7, 0xD4, 0xB7, 0xC2, 0xD2, 0xB8, 0xC3, 0x20, 0xB5, 0xD3, 0xBA, 0xC5, 0x |
OlderNewer