[TH] Arduino: ESP32/ESP8266
บทความนี้อธิบายการติดตั้งเฟรมเวิร์ก Arduino สำหรับบอร์ด ESP32 และ ESP8266 เพื่อใช้งานกับ Arduino IDE ทำให้สามารถใช้ C++ กับบอร์ดทั้ง 2 ได้ โดยบทความจะบอกขั้นตอนการติดตั้งเพื่อเป็นแนวทางสำหรับผู้ที่สนใจ

บทความนี้อธิบายการติดตั้งเฟรมเวิร์ก Arduino สำหรับบอร์ด ESP32 และ ESP8266 เพื่อใช้งานกับ Arduino IDE ทำให้สามารถใช้ C++ กับบอร์ดทั้ง 2 ได้ โดยบทความจะบอกขั้นตอนการติดตั้งเพื่อเป็นแนวทางสำหรับผู้ที่สนใจ
This article introduces the use of motion sensors or digital 3-axis shifting using MMA7660FC IC, which lets us know if this module shifts left/right or forward/backward or up/down, or rotates left/right or front/back and up/down. A library has been created to enable the sensor, set the sampling rate (sample rate), and display the converted value obtained from the module.
This article writes a library to operate character LCD modules using I2C bus operation, which uses a PCF8574 module designed to connect to the LCD. This makes it possible to use 2 command pins from ESP8266 to command the LCD module’s 8 pins, namely RS, R/W, EN, A, D0, D1, D2 and D3 simultaneously enable/disable the module backlight of LCD and the LCD module character sharpness can be adjusted from the variable resistor located on the PCF8574 module.
This article is an example of the implementation of the servo motor driven robot car mentioned in the previous article. Motion is used to define the motion rules under the factor of distance read from a distance sensor such as an ultrasonic sensor.
This article is an example of programming in Python to operate a DC electric motor called a servo motor, and when a servo motor is used to drive the wheels on the left and right, it can easily work as a wheeled robot. Also, an example program of this article is to commands the movement of a wheel-driven robot to move forward, backward, turn left, turn right and stop.
From the article ST7735S 0.96 ″ 80 × 160 TFT LCD, the features and functions of the pins are discussed with an example of how to connect to the TTGO T8 ESP32. In this article, an example of how to implement a display module with the ESP8266, which has lower memory than ESP32, thus we had to solve the problem by compiling the library to bytes with mpy extension code.
บทความตอนที่ 8 เป็นตอนสุดท้ายของชุดไลบรารี ulab ที่เป็นไลบรารีคำนวณทางคณิตศาสตร์ที่สามารถนำมาใช้กับ AI ได้ โดยในบทความตอนนี้กล่าวถึงโมดูลย่อย poly, fft และ filter ซึ่งได้อธิบายการทำงานของแต่ละฟังก์ชันพร้อมยกตัวอย่างการใช้งานเพื่อเป็นแนวทางในการประยุกต์ใช้ต่อไป
บทความตอนที่ 7 ของชุดไลบรารี ulab เป็นเรื่องของโมดูลย่อย approx ที่ใช้สำหรับการประมาณค่าของตัวเลข ผลลัพธ์ของฟังก์ชัน หรือหารากของฟังก์ชันด้วยวิธี bisect หรือ newton และการหาค่าด้วย trapz โดยในนบทความนี้กล่าวถึงบทบาทหน้าที่ของแต่ละฟังก์ชันพร้อมวิธีการใช้งาน และตัวอย่างโปรแกรมเพื่อเป็นแนวทางสำหรับการศึกษาการใช้งานและประยุกต์ใช้ต่อไป
บทความตอนที่ 4 ของไลบรารี ulab เป็นเรื่องของโมดูลย่อย linalg ที่ใช้สำหรับการคำนวณพีชคณิตเชิงเส้น ซึ่งถูกนำไปประยุกต์ใช้เพื่อแก้ปัญหาแบบเชิงเส้น และเป็นเครื่องมือในการทำนายหรือศึกษาลักษณะของสิ่งที่เกิดขึ้นแบบเชิงเส้น โดยในบทความนี้กล่าวถึงฟังก์ชันต่าง ๆ ของโมดูลย่อย linalg และตัวอย่างการใช้งานเบื้องต้น
ในบทความเกี่ยวกับ ulab ในตอนที่ 3 นี้ เป็นเรื่องของโมดูลย่อย vector ของ ulab ที่ใช้สำหรับการคำนวณทางคณิตศาสตร์เช่นเดียวกับไลบรารี math ของ MicroPython โดยในเนื้อหาได้แสดงรายการฟังก์ชันที่ ulab บน ESP32 และ ESP8266 รองรับ พร้อมคำอธิบายหน้าที่ของฟังก์ชันนั้น ๆ