[EN] Arduino: STM32F030F4P6

This article is about using a 32-bit microcontroller board under the Cortex-M0 architecture RISC that is economical but the performance is considerably better than the 8-bit board. However, our team has created an alternative for those who are interested in reading. The article starts with the content about the features of microcontrollers, board installation for Arduino IDE to know and example code to toggle LED, traffic through the USART communication port and Prime numbering test to see the processing speed in an iterative loop.

(Figure. 1 STM32F030F4P6)

[EN] Arduino:ET-BASE AVR EASY4809

This article is the use of ETT‘s ET-BASE AVR EASU4809 board based on Microchip’s ATMEGA4809 microcontroller, which is used as an Arduino board running at 20MHz with 40KB FLASH ROM, 256 bytes EEPROM, 6KB of RAM, and a 10-bit ADC, which is said to have significantly higher features than the ATmega 368P used with the Arduino Uno or Arduino Nano. In addition, the board selected this time has more features than basic Arduino boards which you can read further from the web page of the board.

(Figure. 1 ET-BASE AVR EASY4809)

[EN] Arduino: LGT8F328P

This article discusses how to use Arduino with the LGT8F328P microcontroller, a microcontroller similar to the Atmel AVR atmega328P used on the Arduino Uno and Arduino Nano family, but with additional capabilities such as higher speed and has a higher resolution for converting analog signals and having a digital-to-analog converter as well, so this article will start from properties, board installation and example of using the features of this microcontroller.

(Figure. 1 LGT8F328P QFP32L)

[EN] Digital Compass Sensor

This article describes the MicroPython GY-271 digital compass sensor for use with the ESP8266 or ESP32 (we have experimented with STM32F411CEU6 with Raspberry Pi 3B+ and 4B and found that it can be used as well) to set the operation and read the X,Y and Z axis values from the sensor, then calculate it as the degree of north.

(Figure. 1 GY-271 usage)

[EN] ESP8266 and OLED

This article is about connecting the ESP8266 to an OLED, which is a two-color graphic LED, where 0 represents blank and 1 represents color dot. It is connected to the microcontroller via the I2C bus. How to use it and its functions are discussed as a guide and reference material for further implementation.

(Figure. 1 OLED usage)

[EN] ESP-IDF Ep.1: ESP-IDF on Raspberry Pi

This article is a step-by-step guide to installing ESP-IDF on a Raspberry Pi 3 or 4 board with the Raspbian operating system (Or can be applied to other operating systems with AMD/Intel processors) to be used as a C++ interpreter for developing programs for the ESP32 board, which is called bare metal or used to compile MicroPython, in particular mpy-cross, a translator from Python (.py) to bytecode (.mpy), which protects source code, allowing faster execution of instructions. (because it has been translated before) and the file size is smaller.

(Figure. 1 Terminal)

[EN] Arduino : repetition

Programming is an instruction for the processor to execute an instruction received. At a time, there is one instruction to process (in the case of non-parallel processing), once the instruction is completed, it saves the results of the commands in the working status register and prepares the next commands to be executed. This allows the operation to be performed individually from the first statement to the next, and the programmer can place the condition to separate the execution, for example, when a condition is true some instruction will be executed or any condition is not true, do not have to do or do something, etc. And finally, the function of the program can be repeated by the condition of iteration. For this reason, the basic programming principles consist of 3 types of work:

  • Execute one command at a time from top to bottom.
  • Able to add conditions of order processing.
  • Able to repeat the desired command.