Code Snippets SIMD

C# SIMD(single instruction multiple data)

In this code snippet, we’ll take a look at SIMD(single instruction multiple data) in C#. To quote Microsoft: “SIMD (Single instruction, multiple data) provides hardware support for performing an operation on multiple pieces of data, in parallel, using a single instruction. In .NET, there’s set of SIMD-accelerated types under the System.Numerics namespace. SIMD operations can be parallelized at the hardware level. That increases the throughput of the vectorized computations, which are common in mathematical, scientific, and graphics apps.”

ESP8266 Module Programmer Connections

ESP8266 Module Programmer

In this post, I’ll show the ESP8266 module programmer I made. I need it for another project where I soldered the ESP module directly to the PCB instead of using it through the usual dev board with pins. This decreases the size of the ESP and the components needed, for example, once the programming is done, you don’t really need the USB to serial converter chip or the USB connector.

Soldering Sponge Automatic Water Dispenser Connected

Soldering Sponge Automatic Water Dispenser

In this post, I’ll show you my automatic soldering sponge water dispenser. I got tired of the soldering sponge drying out, so I built an automatic water dispenser to “water” it. The dispenser uses a sensor to measure the resistance of the sponge. If the sponge dries out too much, the resistance goes up, the microcontroller detects it and turns on the pump.

Arduino ESP826632 ISR

Interrupts And Timers

In this post, we’ll take a look at interrupts and timers in microcontrollers. I will show you how to implement it with an Arduino and with an ESP8266 or ESP32. When an interrupt is triggered, the microcontroller will pause what it’s doing and immediately run an ISR(Interrupt Service Routine) before returning to where it left off before.