[EN] Stack data structure with Singly Linked List.

This article describes a stack data structure to write programs in C on various platforms using a single linked list data structure as a stack data store with examples of the array as storage and test the operation with the microcontroller board LGT8F328P, SAM-D21, ESP8266, ESP32 and ESP32-S2 as shown in Figures 1 and 2. In case of wanting to use with other platforms, you can still modify the code for use such as the same.

Figure 1 ESP32, LGY8P326P and SAM-D21
Read More

[EN] Scanning a QR Code and displaying 3D objects in Unity3D

As for the ultimate game creation program like Unity3D, it has a lot to offer as mentioned before. One of which is that the program can create games on almost every platform such as computer or mobile. This article will talk about the use on mobile phones. Of course, there must be a component that the computer does not have, such as a camera, which will discuss how to scan a QR Code to operate according to the text that can be extracted and ordered it to be rendered as a 3D object.

QR Code

Introductory bit for everyone to understand that QR Code is similar to Barcode, that is, the text is converted into a specified format which looks like a square. There are three direction points to know which side is the top and use the program to scan to extract text which can be letters, numbers, various characters, links, etc.

To decode a QR code to text, you can either scan it with a camera or save an image and use a decoder.

Figure 1 QR code of text “Hello world!! we are Jarutex!!”
Read More

[EN] PIC18F458/PIC16F877 Ep.1 Related Devices

This article is about the use of an 8-bit PIC family of PIC microcontrollers PIC18F458 and PIC16F877 which are RISC type microcontrollers like AVR family microcontrollers and we have published a book on PIC using BASIC language (or order from Shoppee). This article, will be in C language and the board used as shown in Figures 1 and 2, but for the laboratory of the Faculty of Information Technology Phetchaburi Rajabhat University, choose a board for learning in the course of computer architecture as shown in Figure 2, and use a set of chip programs as shown in Figure 3. Article part 1 (Board CP-PIC V3/458 or CP-PIC V3/877), is an introduction to the features of the microcontroller and appearance of the laboratory test board. The use of the different parts of the PIC will be discussed in the next article.

Figure 1 CP-PIC V3/458 and CP-PIC V3/877
Read More