The L298N Motor Driver is a controller that uses an H-Bridge to easily control motors direction and PWM to control the speed. This module allows you to independently manage two motors of up to 2A each in both directions. Supply range may vary between 5V and 35V, enough for most DC motor projects.
Trending Now
How to setup Nginx server blocks (virtual hosts)
Nginx logically divides the configurations in order to serve different content into blocks. A server block is a subset of Nginx’s configuration that defines a virtual server used to handle requests of a defined type. Administrators often configure multiple server blocks and decide which block should handle which connection based on the requested domain name, port and IP address.
Google OAuth 2.0 access for server side web apps
Google is a popular platform that is commonly used on websites as registration or login option. It allows us to register with our Google account with just a few clicks and skip the process of email validation. It saves us a lot of time and makes the life easier as we don't need to remember all those credentials for different websites anymore.
Premium articles
On-the-fly image resizing with Nginx
If you've ever managed a web server that serves images to thousands of users, you've probably run into the problem of serving the right image size to the right context. A 1200x800 hero image looks great on a desktop, but it's pure waste on a mobile screen or a thumbnail grid. The traditional answer to this has been generating multiple image variants at upload time, but that approach gets messy fast. A cleaner and more flexible solution is to resize images directly at the server level, on demand, using nothing more than nginx and its built-in image filter module. This guide walks you through setting that up from scratch, including caching so your server isn't processing the same image twice.
Tag-based cache inside Laravel repositories
Working with cache can drastically improve the performance of an application, especially when dealing with data that doesn't change too often. While Laravel provides solid support for caching through multiple drivers, it doesn't offer native support for cache tags. To work around this limitation, we'll integrate Symfony's Cache component, which brings tag support and fits well into the repository pattern we've already established. In this article, we'll build on the existing structure and focus on using cache tags to group and clear related data more efficiently.
ESP8266 Firmware update
The ESP8266 is a popular Wi-Fi module used in many IoT projects. Keeping its firmware up-to-date ensures you have the latest features, security patches, and bug fixes. Updating the firmware might seem difficult, but it's quite straightforward once you understand the steps involved. In this article, we'll explore how to update the firmware of the ESP8266 module, a crucial task for maintaining optimal performance and security. This update process can be carried out either locally, using a USB connection, or remotely via cloud. We'll examine both methods to provide a comprehensive understanding of how to keep your ESP8266 up-to-date with the latest firmware version.
Recent articles
8 EMS PCB Manufacturers in China for Complete Manufacturing
Choosing a PCB supplier is one thing. Choosing an EMS PCB manufacturer is another.
A traditional PCB supplier may only deliver bare circuit boards. A PCB assembly company may only place components onto the board. But an EMS PCB manufacturer is expected to handle a broader manufacturing chain: PCB fabrication, component sourcing, SMT and through-hole assembly, testing, cable integration, enclosure assembly, packaging, and sometimes even product-level engineering support.
Keep your codebase clean with Git hooks
Every developer has been there: you push a commit, CI fails, and it turns out there was a linting error, a forgotten debug statement, or a test that nobody ran. Pre-commit hooks are the safety net that catches these problems before they ever leave your machine. They are not a complex feature or an advanced Git topic. They are just scripts, and once you understand how they work, you will find yourself reaching for them on every project.
Low power consumption mode in Arduino
Battery-powered Arduino projects have one common enemy: a board that drains power even when it has nothing to do. By default, Arduino runs at full speed continuously, burning through battery charge whether it's actively doing something or just waiting. Low power mode solves this by putting the microcontroller to sleep when it's idle, waking it up only when there's actual work to do. The concept is straightforward: the microcontroller spends most of its time asleep, wakes up to do something useful (take a sensor reading, send data, check a button), then goes back to sleep immediately.