[EN] Improve st7735 blue-tab/red-tab 0.96 ” library

This article is an update of the st7735 library file for Micropython by Billy Cheung (accessed 2021-09-07) published on github. It is a library that has been updated by Guy Caver to support ST7735s. The required libraries include st7735.py and sysfont.py Guy Carver implements esp8266 and esp32 to provide better display speed through the principle of display buffering for pixel storage and additional instructions for sending data from buffer to TFT module via SPI bus.

(Figure. 1 dCore-miniML board with ST7735 0.96″ display module installed)

[EN] Cytron Maker Pi PICO with CircuitPython

This article is an introduction to Cytron’s Maker Pi PICO Board (Figure 1) equipped with a Raspberry Pi PICO microcontroller, as well as an expansion board with the basic equipment needed to practice programming and use, such as tubes, LED, memory card reader (micro SD-Card) or speakers, etc. In addition to the introduction of the board, this article discusses the installation and use CircuitPython which is Python that has adapted MicroPython for use with Adafruit and other third-party devices. For those interested in articles on MicroPython, we recommend consulting Dr. Rawat Siriphokaphirom’s website which has much more complete details than ours.

  1. MicroPython for RP2040 Pico
  2. RPi Pico RP2040 Code Examples
  3. PIO Programming
  4. PIO Signaling and Measurement
  5. There is also a section CircuitPython in the article CircuitPython for Pico RP2040
(Figure. 1 Maker Pi PICO)

[EN] Collecting flags in a maze

This article is an example of writing a game. Move the character to walk in the maze to collect flags that are randomly positioned as shown in Figure 1, where the character will walk in the specified channel and can’t penetrate the wall. With a warning sound when trying to walk in an impossible location and when walking in any direction will change the image of the character to turn the face to that direction. In addition, pressing A will randomize the position of the new flag, pressing B will randomize the player’s position, and pressing D will exit the program. The board for use is still dCoreML4M as before, let’s get started.

(Figure. 1 The game in this article)

[TH] Blender : Animation Tab

บทความนี้กล่าวถึงการทำเอนิเมชันแบบพื้นฐานจากโปรแกรม Blender (ผู้เขียนใช้รุ่น 3.0) ในการสร้างการเคลื่อนไหวของแขนกลดังภาพที่ 1 โดยเนื้อหาของบทความนี้แนะนำเกี่ยวกับ Animation Tab, การเตรียมโมเดล, การใส่โครงกระดูก และการทำเอนิเมชันแบบ Key Frame เพื่อเป็นแนวทางพื้นฐานสำหรับผู้ที่สนใจสร้างเอนิเมชันต่อไป

ภาพที่ 1 ตัวอย่างแขนกล

[EN] The dCore-espWST

This article recommends using the esp8266 to read temperature and humidity from the DHT11 sensor, the voltage from the LDR sensor, received from the switch, and display via OLED with MicroPython’s Python language, this feature is the dCore-espWST board we are using (Which in the previous article we used the dCore-esp32WST with the same design, but using esp32, but the program code can still be used with the model board) and is a board for use in teaching IoT subjects. The prototype structure of the board is as shown in Figure 1, which is normally used with a battery power supply unit with a solar panel charging circuit.

(Figure. 1 dCore-espWSTprototype)

[EN] The MicroPython Internal File System.

This article is an implementation of the MicroPython file system using the esp8266 and esp32 microcontroller boards as an experimental board. The file system usage involves directories and files including connecting the device to be seen as a MicroPython file system, for example, connecting to an SD-Card to see it as a system directory, etc. It uses the os class to create, open, access, write data and disable files which will be part of MicroPython’s file class.

[TH] Unity3D สุดยอดโปรแกรมสร้างเกม

บทความนี้แนะนำเกี่ยวกับโปรแกรม Unity3D ซึ่งเป็นโปรแกรมสร้างเกมที่ได้รับความนิยมอย่างมาก เนื่องจากมีสิ่งอำนวยความสะดวกที่จำเป็นในการสร้างเกมอย่างมากมาย เรียกได้ว่าครบถ้วนเลยทีเดียว เช่น การจัดการวัตถุสามมิติ ระบบแรงโน้มถ่วง การเคลื่อนที่ของวัตถุ สร้างเกมได้หลายแพลตฟอร์ม เป็นต้น แต่อย่างไรก็ดี การควบคุมวัตถุต่างๆจำเป็นต้องใช้ความรู้ทางด้านภาษาโปรแกรม ซึ่งสามารถฝึกฝนได้

ภาพที่ 1 Unity

[EN] Client/Server Programming for Weather Stations via Wireless Networking

This article is a client/server programming example for a wireless network weather station (Client/Server Programming for Weather Stations via Wireless Networking) using two esp32 microcontrollers communicate over a wireless network. By setting the DHT22 and LDR sensor installed as a server working in AP mode and another esp32 microcontroller board working as a client and media via a custom port to read the temperature, humidity and digital values ​​obtained from the LDR sensor as shown in Figure 1.

(Figure. 1 Our board)

[EN] ESP8266/ESP32 WiFi

The ESP8266 and ESP32 boards are equipped with built-in WiFi connectivity. They can work in both self-application mode (Access Point) and client mode connected to an existing WiFi network or STA. Developers can set the device name (ESSID) or use the default name from the system as MicroPython-xxxx, where x represents the MAC Address of the device, the password is micropythoN (developers can assign new) and the IP Address (IP Address) is 192.168.4.1.

(Figure. Our ESP8266+Uno)