การรีเซ็ท esp8266
มา ทำความสะอาด mini-NodeMCU กันดีกว่า
ใครที่ใช้ บอร์ด mini-NodeMCU หรือ บอร์ดอื่นๆ ในตระกูล ESP8266
พอ upload เปลี่ยน ค่ากำหนดเกี่ยวกับ Wifi ไปได้สักพัก
บางครั้งการเปลี่ยนค่า AP mode , Station mode
การเปลี่ยนชื่อ (แบบไม่ดีพอ) อาจทำให้การตกค้างชื่อเดิมๆได้
เรามาทำ Factory Reset บอร์ด ESP8266 กัน
ด้วย code นี้ครับ
File Download at:
https://github.com/TridentTD/ESP8266FactoryReset
-------------------------------------------------------------------------
ตัวอย่างจากเว็บ
Blynk
Saytoyou
Random Nerd
Thaieasy
ตอนที่ 1 ติดตั้ง Arduino IDE ลงบน ESP8266 NodeMCU
การอบรม
การติดตั้ง ESP32 ของ Random Nerd
Topic
sub
3.ตัวอย่างการทำงาน
How to use ESP8266 NodeMCU post update status on facebook and Twitter using IFTTT service
สอน-วิธี-ใช้งาน-arduino-wi-fi-module-esp8266-ทำสวิตช์-wifi-ใน-3-นาที
รู้จักคำสั่งติดดับLEDผ่านWIFIโดยใช้Node MCU ESP8266 (Devkit0.9) ตอนที่ 4
วัฒนชัย วงศ์ประเสริฐ DHT22 ผมต่อตามนี้ แต่ว่า library ผมใช้ของ adafruit ครับ ส่วนการรับส่งกับ server อยู่ที่ว่าจะทำ Server เองหรือว่าส่งขึ้น Server ที่มีอยู่แล้ว เช่น thinkspeak ครับ
เฮชสีดีบี ทีเฮช ยิง Methol get แล้วให้ฝั่ง server ใช้ php รับ คราวนี้จะเก็บใน db หรือทำอะไรก็อิสระ เป็นวิธีที่ง่าย แต่ความปลอดภัยต่ำ ถ้าให้ดี ปลอดภัย อาจจะมีการเข้ารหัส บราๆ ก็ว่าไป
ESP8266 - 01 Slave Modbus TCP IP (Ethernet) for industrial applications
Google sheet
ESP8266 and DS18B20 (Temperature) OneWire to Google Sheets : PDA_Control
4. คำสั่งและฟังก์ชั่น
http://www.nodemcu.com/docs/index/ เพจของ NodeMCU
ตัวอย่างคำสั่ง NodeMCU ที่น่าสนใจ
คู่มือคำสั่ง One wire อยู่ที่ https://www.pjrc.com/teensy/td_libs_OneWire.html
5.Tools
6. Web Connection
How to Make an Interactive TCP Server with NodeMCU on the ESP8266
ESP8266 ล็อกอิน Wifi Hotspot สำหรับผู้ที่ติดปัญหาเรื่อง Login *******
ใช้ OpenHab
Interface : openHab run บน pc เชื่อมต่อกับ my.openhab.org
openHab ios, android connect ผ่าน my.openhab.org ควบคุมผ่านอินเตอเน็ต
7. Controlling Arduino with Android using Processing.
สำหรับผู้ที่สนใจการใช้งาน Android สั่งงานผ่าน USB นะครับให้เข้าไปดูใน Link นี้ http://developer.android.com/guide/topics/connectivity/usb/host.html ซึ่งเป็นข้อมูลอย่างเป็นทางการจาก Google ครับ
แล้วสำหรับผู้ที่ต้องการใช้งาน OpenCV ซึงเป็นชุดคำสั่งสำหรับ Computer Vision ก็ให้ดูที่ลึงนี้ครับ http://opencv.org/platforms/android.html อันนี้เป็นเวอร์ชั่นสำหรับ Android ครับ หากทีข้องสงสัยอย่างอื่นก็ถามมาได้เลยครับผม ขอบพระคุณข้อมูลจากคุณ Gear Walker ที่เผยแพร่ครับ เจอกับตัวเป็นๆคุณ Gear Walker วันงาน Googleที่กำลังจะจัดล่าสุดนี้ได้ครับ
Controlling Arduino with Android using Processing. Android+Arduino+Processing use USB
Accessory Development Kit (ADK ของ Android) มีคู่มือการใช้งาน
Use your android phone sensors on the arduino ผ่าน Bluetooth
8. PID Controller
Easy PID Tuning Presented by FRC Team 2168 - Part 4 of 4 (Test and Tune)
จาก Choopong Chuaypen ถึง Arduino Thailand
ว่าด้วยการ PID tune ด้วย Ziegler–Nichols method
1. เริ่มต้นด้วยการค่อยๆ เพิ่มค่า Kp ไปจนผลตอบสนองเริ่มสั่นอย่างต่อเนื่องไม่หยุด เราจะใช้ค่านี้เป็นค่า Ku ในตาราง (เขาเรียกค่านี้ว่า ultimate gain)
2. การสั่นของผลตอบสนองจากข้อที่ 1 เอามาหาคาบเวลาการสั่นด้วย (อาจจะใช้วิธีจับค่า peak ต่อ peak ที่เกิด) ค่าคาบการสั่นนี้(วินาที) ก็คือค่า Tu ในตาราง
3. จากข้อ 1 และ 2 ก็ง่ายหละครับ แทนค่าในตารางได้เลย
4. Ki = Kp/Ti, Kd = Kp*Td
ปล.1 ค่าในตารางเป็นเพียงค่าแนะนำเท่านั้นนะครับ เราอาจจะต้องมีการปรับจูนค่าเกณฑ์เองตามความเหมาะสม
ปล.2 cr. ตารางจาก https://en.m.wikipedia.org/w…/Ziegler%E2%80%93Nichols_method
8. Sming
ตัวอย่างการใช้งาน Sming โดยปรับปรุง Code จาก HttpServer_AJAX อ่านค่าจาก DS18S20 แสดงผลแลบ realtime ในตัวอย่างจะทำการสร้าง class ขึ้นมาใหม่สำหรับ reuses ไฟล์ HttpServer_AJAX.zip
9. ESP8689 = low cost 802.11b/g/n + Bluetooth + BLE combo chip เตรียมหาข้อมูลมาศึกษา
ในแง่ฟีเจอร์ Zephyr มีฟีเจอร์เหนือกว่าเฟิร์มแวร์ดิบๆ เช่น Arduino หลายอย่าง เช่น
- มีตัวจัดการเธรดทำให้รันหลายแอปพลิเคชั่นพร้อมกันได้
- มีการจัดการอินเทอร์รัปต์
-กระบวนการซิงก์ข้ามเธรด (mutex, semaphore),
- กระบวนการสื่อสารข้ามเธรด,
- ระบบจัดการหน่วยความจำ,
- ระบบจัดการพลังงาน,
- รวมไปถึงไดร์เวอรือุปกรณ์ภายนอก เช่น Bluetooth LE, 6lowPAN, I/O ต่างๆ
เวอร์ชั่น 1.0.0 รองรับ x86, ARM Cortex M3 และ M4, ARC สามารถดาวน์โหลดมาใช้ได้แล้ว ส่วนบอร์ดที่รองรับแล้วได้แก่
Arduino 101,
Arduino Due,
Intel Galileo 2,
NXP FRDM-K64F FaceOff Freedom
ทำไมผมถึงใช้ NodeMcu Dev kit 1.0 (ESP 12-E)
มาเล่น ESP8266 บน Arduino IDE กันเถอะ AYARAFUN
จากลิงค์ AYARAFUN ใช้ Arduino 1.6.1 ของเราใช้ 1.6.7 แล้วการเพิ่มบอร์ด esp8266 ทำตามขั้นตอน https://github.com/esp8266/arduino ซึ่งสรุปได้ดังนี้
Install Arduino 1.6.5 from the Arduino website.
Start Arduino and open Preferences window.
Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
Open Boards Manager from Tools > Board menu and install esp8266 platform (and don't forget to select your ESP8266 board from Tools > Board menu after installation).
สอน วิธี ใช้งาน Arduino Wi-Fi Module ESP8266 โดย arduino all มีหลายรุ่นต้องเลือกดีๆ อ่านก่อนว่ารุ่นใหนใช้สะดวกที่สุด
อบรม พื้นฐานการใช้งาน Arduino และ ESP8266 เดือน โดย Soft Power Group
ปฐมบทการส่งข้อมูลขึ้น Thingspeak และ Sparkfun โดยใช้ ESP8266 + Arduino IDE (Native) เป็นเว็บรับข้อมูลจาก espwfh
รู้จักกับ Arduino ESP8266 (NodeMCU)
NodeMCU V3 Lua WIFI development board
บทความ Internet of Things: ความฝันถึงโลกที่แตกต่างในยุคต่อไป
ร้านค้า