Bit by Bit operations (Bitwise)

Today I bring you a tutorial about how to use the bit by bit operations, lso called bitwise. This kind of operations are very useful programming, because it will allow us to do some operations like for example: Save memory packing multiple booleans inside every byte Work with microcontroller registers (wich I’ll talk later on … Read more

Button debounce with Arduino, ESP8266 o STM32

If you’ve ever used buttons with the Arduino, you may have noticed that the keystrokes were sometimes doubled, and that’s where the button debounce comes in. This is because a button works by joining two mechanical elements (contacts), to close the flow of current, which can cause false contacts. Arduino being very fast, it detects … Read more

STM32F103 Bootloader and programming

This time I bring you a guide about STM32F103 (Bootloader and programming). This microcontroller has the advantage of having more capacity on almost everything compared with an Arduino (ATMega328p), having more SRAM, program memory, ADC and DAC resolution… for a little more money. More info into the Datasheet. Furthermore also we can take a look … Read more

Overload and short circuit protection

Today I leave you a protection circuit against overload and short circuit, which is homegrown, and can be used to protect power supplies or similar against overvoltage. It’s my first circuit, so there will surely be better ones, but you have to start with something: P This circuit can be used together with other protections, … Read more

Linear Regulators vs Switching Regulators

Today I’m going to talk a little bit about regulators, and the differences between linear regulators and switching regulators. Knowing the differences we can choose the regulator that best suits our project. Transistor Zones The first thing I am going to talk about is the transistor zones. Basically, because both regulators rely on transistors to … Read more