ampheoelectronic.hashnode.devHow to delay in Arduino?In Arduino, “delay” usually means one of two things: 1) Simple blocking delay: delay() / delayMicroseconds() Milliseconds delay(1000); // waits 1000 ms = 1 second Microseconds delayMicroseconds(200); // waits 200 µs Notes delay() blocks: nothin...Jan 14·1 min read
ampheoelectronic.hashnode.devHow to run microcontroller program in Keil?To run a microcontroller program in Keil µVision, you usually do one of two things: Run on real hardware (flash + debug via ST-LINK/J-LINK/ULINK) Run in the simulator (only for some MCUs, with limitations) Here’s the practical workflow. A) Run o...Jan 13·3 min read
ampheoelectronic.hashnode.devHow to add source file in STM32CubeIDE?Here’s how to add source files to an STM32CubeIDE project (the “right” Eclipse way), plus the common gotchas. Add a new .c/.h file inside CubeIDE In Project Explorer, expand your project. Right-click the folder you want (usually Core/Src for .c and...Jan 12·2 min read
ampheoelectronic.hashnode.devHow to evaluate and improve the resource utilization of FPGA?Evaluating (and improving) FPGA resource utilization is mostly a repeatable flow: Measure accurately (what is used, where, and why) Find the true drivers (logic vs memory vs DSP vs routing/congestion) Change architecture / RTL / tool directives wi...Jan 9·5 min read
ampheoelectronic.hashnode.devHow to know Wi-Fi adapter driver installed in Raspberry Pi 5 or not?Here’s a reliable way to tell whether a Wi-Fi adapter has a driver installed and loaded on a Raspberry Pi 5 (works for both the built-in Wi-Fi and USB Wi-Fi dongles). You’re basically checking 4 things: device detected → driver bound → firmware loade...Jan 8·3 min read