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.
Read MoreTag: English
English version
[EN] Hi, MaixPy
This article introduces the features of the Sipeed M1w dock suit board, which is a board designed to process AI on edge devices, enabling IoT applications to support artificial intelligence computing by using the KPU K210 chip as the core of computing.
Read More[EN] ESP8266+ST7735s TFT LCD 0.96″ 80×160 RGB
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.
Read More[EN] ST7735s 0.96″ 80×160 TFT LCD
This article introduces 0.96 “IPS TFT LCD with a resolution of 80×160 dots, providing RGB565 or 16-bit color by controlling the operation of the LCD module with the ST7735s chip via the SPI bus. The examples use TTGO T8 ESP32 and ST7735 library with python language.
Read More[EN] ESP8266 MicroSD-Card Reader (Adapter)
This article is an example of using an SD-Card Read/Write module to store and read data in JSON format, which is a guideline for readers to use in the future.
Read More[EN] ESP8266 Control Relay
This article is an example of a python programming language to command a relay module to turn on/off an LED via WiFi with the ESP8266’s AP mode.
Read More[EN]Review TTGO T8 ESP32
TTGO T8 ESP32 is an ESP32-powered board. Supports programming for ESP-IDF, Arduino and MicroPython. In addition, the highlight of this board is Built-in memory, 4MB external RAM available, TF Card reader slot, can read/write SD card, turn on/off switch, reset button, 3D antenna, external antenna socket, charging circuit and using a rechargeable battery.
Read More[EN] ESP8266 time Library
This article is a compiled article about time library usage related to the time delay of the ESP8266 along with an example of connecting to an NTP Server for synchronization.
Read More[EN] ESP8266+Soil Moisture Sensor
This article uses the ESP8266 to read the values from the soil moisture sensor. The appearance of the selected sensor is shown in Figure 1. The circuit of the sensor is shown in Figure 2 which there’s a part for the conversion of resistance from current flow to analog and digital values. In which the digital sector has to be rotated to adjust the resistance from the variable resistor. After that, the voltage obtained by adjusting the resistance is used as a comparator of the voltage obtained by the sensor circuit and output the data as a digital signal as a value of 0 or 1, but in this article choose to read the value from analog signal via A0, which is 10 bits analog to digital converter (ADC) consequently the value read from analog signal will be integer start from 0 to 1024. The example program is written in Python along with showing the converted values from the ADC displayed on the web page.
Read More[EN] ESP8266 WiFi
The ESP8266 is a device with a built-in WiFi connection system that can operate in both AP (Access Point) mode and client mode connected to an existing WiFi network or STA. The developer can set the name of the device (ESSID) or use the name according to the value set by the system to MicroPython-xxxx, where x represents the MAC Address of the device, the password is micropythoN (the developer can define a new one) with the IP address (IP Address) of 192.168.4.1.
Read More