---
title: "Viet Hoang (@Hoag) | Hashnode"
description: "Viet Hoang (@Hoag) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Hoag"
---

@Hoag

# Viet Hoang

@Hoag · Joined December 2023

### [Sensor Monitoring System](https://nvh1410.hashnode.dev/sensor-monitoring-system?utm_source=hashnode&utm_medium=feed)

INTRODUCTION Cũng lâu rồi tôi không ra bài gì về mảng Embedded vì có nhiều việc bận quá. Nhưng hôm nay nhã hứng nên tôi muốn viết về một project cá nhân tôi mới làm về Linux Programming. Đó là hệ thống giám sát cảm biến. Nói chung đó là 1 project kh...

14 min read · [nvh1410.hashnode.dev](https://nvh1410.hashnode.dev/sensor-monitoring-system?utm_source=hashnode&utm_medium=feed)

[Dec 18, 2024](https://hashnode.com/posts/sensor-monitoring-system/6762ae8afaf7a495081387e5)

### [Advanced LED Control System with Dual Buttons SW1 and SW3](https://nvh1410.hashnode.dev/advanced-led-control-system-with-dual-buttons-sw1-and-sw3?utm_source=hashnode&utm_medium=feed)

Introduction 2 nút bấm SW1 và SW3, LED\_1 và LED\_2SW1: bật tắt thiết bị và chọn LED Nhấn nhanh thì chọn LED: LED\_1->LED\_2->2 LED cùng hoạt động độ sáng default khi bật lên là 50% Nhấn giữ tối thiểu 1s để bật/tắt thiết bị. Khi tắt nguồn và bật...

14 min read · [nvh1410.hashnode.dev](https://nvh1410.hashnode.dev/advanced-led-control-system-with-dual-buttons-sw1-and-sw3?utm_source=hashnode&utm_medium=feed)

[Feb 20, 2024](https://hashnode.com/posts/advanced-led-control-system-with-dual-buttons-sw1-and-sw3/65d48adb03529e5ff99c8fd7)

### [Make LED effects operate in a defined cycle through FRDM KL46z](https://nvh1410.hashnode.dev/make-led-effects-operate-in-a-defined-cycle-through-frdm-kl46z?utm_source=hashnode&utm_medium=feed)

Tôi hôm nay muốn làm 1 bài gọi là mở đầu của nhúng là code LED nhấp nháy theo chu kì xác định, đề bài là: Mode1: Nháy hiệu ứng sáng dần đến cực đại rồi tắt dần về 0%, chu kỳ = 1sTargetnháy led với tấn số 100Hz để đạt được độ mịn tốt. Mode2: Toggle LE...

6 min read · [nvh1410.hashnode.dev](https://nvh1410.hashnode.dev/make-led-effects-operate-in-a-defined-cycle-through-frdm-kl46z?utm_source=hashnode&utm_medium=feed)

[Feb 14, 2024](https://hashnode.com/posts/make-led-effects-operate-in-a-defined-cycle-through-frdm-kl46z/65cca721ab5f280a79d20811)

### [How to calculate baudrate automatically in FRDM-KL46z?](https://nvh1410.hashnode.dev/how-to-calculate-baudrate-automatically-in-frdm-kl46z-1?utm_source=hashnode&utm_medium=feed)

How it works? Như đã nói ở blog trước về khái niệm UART thì hôm nay tôi sẽ trình bày hướng giải quyết tính baudrate tự động! Về cách tính baudrate thì ta có công thức như sau Với UART ASYNCH Module Clock: Chính là clock nội (4Mhz) ta vừa cấu hình ...

5 min read · [nvh1410.hashnode.dev](https://nvh1410.hashnode.dev/how-to-calculate-baudrate-automatically-in-frdm-kl46z-1?utm_source=hashnode&utm_medium=feed)

[Jan 22, 2024](https://hashnode.com/posts/how-to-calculate-baudrate-automatically-in-frdm-kl46z-1/65ae360990e57baeba4b2116)

### [How to calculate baudrate automatically in FRDM-KL46z?](https://nvh1410.hashnode.dev/how-to-calculate-baudrate-automatically-in-frdm-kl46z?utm_source=hashnode&utm_medium=feed)

How it works? Cách triển khai khá là đơn giản vì chỉ cần tìm sai số nhỏ nhất ... Tôi lười viết quá nên để mai viết nhé! Nhưng gửi lời đến với nhưng ai xem được blog này: Chúc mừng năm mới! Mong rằng năm mới sẽ mang lại cho bạn biết bao niềm vui, sức ...

1 min read · [nvh1410.hashnode.dev](https://nvh1410.hashnode.dev/how-to-calculate-baudrate-automatically-in-frdm-kl46z?utm_source=hashnode&utm_medium=feed)

[Dec 31, 2023](https://hashnode.com/posts/how-to-calculate-baudrate-automatically-in-frdm-kl46z/65919cedde77741ae2e9eeaf)
