Arduino Learning Record: Ultrasonic Sensor and Light Alarm

Arduino Learning Record: Ultrasonic Sensor and Light Alarm

Ultrasonic Sensor + Light Alarm /* Ultrasonic Module Distance Measurement http://shop34791330.taobao.com/ // Defy Lai Flagship Store http://qixingchong.tmall.com/ // Qixing Insect Flagship Store http://www.doflye.net // Defy Lai Technology Forum http://www.doflye.net/forum-98-1.html // Defy Lai Forum Arduino Section Ultrasonic Distance Measurement: Trigger Signal Trig: Trigger high level pulse greater than 10us Feedback Signal Echo: The length of the … Read more

CFD Calculations on Raspberry Pi: A Comprehensive Guide

CFD Calculations on Raspberry Pi: A Comprehensive Guide

I love finding project inspiration anywhere. While many ideas are fleeting, generally lasting no more than a day or two, there are always some ideas that linger in my mind and eventually materialize into interesting projects. Let me introduce one of those ideas: Performing CFD calculations on my handheld device. Back in October, I got … Read more

Getting Started with Arduino IDE: A Comprehensive Guide

Getting Started with Arduino IDE: A Comprehensive Guide

Hardware Performance Parameters① Main Control Chip: ATmega328P② Digital Input/Output Pins: 14③ PWM Pins: 6④ Storage (Code Space) 32KB⑤ RAM (Runtime Storage) 2KB; EEPROM (Power-off Storage Space) 1KB⑥ Crystal Oscillator 16MHzSimulation Online Simulation: https://wokwi.com/ 1. What is Arduino IDE? Arduino IDE is a cross-platform software used for writing, compiling, and uploading code to Arduino development boards … Read more

Getting Started with MicroPython on BPI-UNO32

Getting Started with MicroPython on BPI-UNO32

MicroPython is a well-known lightweight version of Python designed specifically for embedded modules. It allows you to execute necessary functions with simple commands. To use MicroPython on embedded modules, you need to download the MicroPython firmware. Only with the firmware installed can the chip parse Python statements. Currently, chips that support MicroPython firmware include ESP32, … Read more

Arduino Uno External Interrupt Tutorial with Exercises

Arduino Uno External Interrupt Tutorial with Exercises

Performance Parameters① Main Control Chip: ATmega328P② Digital Input/Output Pins: 14③ PWM Pins: 6④ Storage (Code Space): 32KB⑤ RAM (Runtime Storage): 2KB; EEPROM (Power-off Save Space): 1KB⑥ Crystal Oscillator: 16MHz Online Simulation: https://wokwi.com/ Arduino Uno Tutorial ①: Installing Arduino IDE Arduino Uno Tutorial ②: Development Board and LED Test Arduino Uno Tutorial ③: Button Control LED, … Read more

UDP Network Communication Between VxWorks 6.8 and Windows

UDP Network Communication Between VxWorks 6.8 and Windows

Click “Read the original text” to access more VxWorks resources Overview This article discusses the key points of UDP network communication between VxWorks 6.8 and Windows. Code Description On the Windows side, we ran a UDP server program named win_udpServer.ext, designed by vxbus.com. On the VxWorks 6.8 side, we designed a UDP client program code … Read more

FreeRTOS Queue Usage Example

FreeRTOS Queue Usage Example

FreeRTOS Queue Usage Example This article aims to demonstrate the usage of queues in FreeRTOS. According to the description in this article, a simple usage of queues can be implemented. Experimental conditions: Basic knowledge of C language, with an integrated development environment such as Keil uVision5. Design Experiment In this experiment, we will continue to … Read more

FreeRTOS Coding Standards and Data Types

FreeRTOS Coding Standards and Data Types

Scan to FollowLearn Embedded Together, let’s learn and grow together FreeRTOS introductory tutorial has been delayed for too long. Recently, I plan to complete this series, while organizing my knowledge, I hope to help beginners quickly get started and master the basic principles and usage methods of FreeRTOS. Previously published two articles about FreeRTOS: FreeRTOS … Read more

Developing an Operating System for Raspberry Pi with Rust

Developing an Operating System for Raspberry Pi with Rust

1 – OrbTk 0.3.1-alpha2 Rust UI toolkit OrbTk has released a new version. The goal of OrbTk is to be fast, easy to use, and cross-platform. It is inspired by Flutter, React, and Yew. https://github.com/redox-os/orbtk 2 – Blog: Using wgpu-rs in the Web gfx-rs is a Rust project dedicated to low-level GPU programming. wgpu-rs is … Read more

C# 24 Point Game Solution Algorithm

C# 24 Point Game Solution Algorithm

↓Recommended Follow↓ Introduction I often play the 24-point game with my son. Sometimes it’s quite challenging, and after a while, we can’t solve it, so we just give up, treating it as unsolvable. With my mathematical ability, generally speaking, if we can’t solve it, it’s likely unsolvable. However, when encountering particularly tricky ones, it’s possible … Read more