avatar
HiBit
596
156 24


How to use a vibration motor with Arduino

  • avatar
  • 175 Views
  • 1 Like
  • 4 mins read
Preview post image

The integration of components with Arduino opens a world of possibilities. One often overlooked but incredibly useful component is the vibration motor. Vibration motors are compact, motorized devices designed to generate vibrations. This device, often found in smartphones and game controllers, can add a tactile dimension to your projects, providing physical feedback that enhances user experience. In this article, we'll explore the basics of vibration motors and explore into how you can effortlessly connect them to Arduino for a wide range of applications.

Boost Laravel performance with OPCache

  • avatar
  • 170 Views
  • 9 mins read
Preview post image

Enhancing the performance of Laravel applications brings a smoother and faster user experience. One powerful tool for achieving this is OPCache. OPCache is a PHP extension that stores precompiled script bytecode in memory, which reduces the overhead of parsing and compiling scripts with each request. This results in faster execution and improved overall efficiency.

Introduction to SOLID principles

  • avatar
  • 180 Views
  • 1 Like
  • 4 mins read
Preview post image

In software development, crafting code that is easy to understand, maintain, and extend is a high priority. One of the most effective ways to achieve this is by following the SOLID principles, a set of five design principles intended to improve the robustness and quality of object-oriented code. These principles, introduced by Robert C. Martin, are essential for developers aiming to produce clean and efficient code.

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

We never send SPAM nor unsolicited emails

Wi-Fi Integration made easy with ESP8266WiFi library

Available to registered members only
  • avatar
  • 249 Views
  • 2 Likes
  • 12 mins read
Preview post image

The ESP8266 is a low-cost Wi-Fi microchip with full TCP/IP stack and microcontroller capability, created by Espressif Systems. It's popular among hobbyists and developers for its affordability and ease of use, making it a go-to choice for various IoT projects. When paired with the ESP8266WiFi library, this tiny module becomes even more powerful, simplifying the process of connecting devices to Wi-Fi networks and enabling a multitude of creative applications.

Boosting PHP performance with OPCache

  • avatar
  • 1.2K Views
  • 7 mins read
Preview post image

OPCache is a robust tool that enhances PHP performance, making web applications faster and more efficient. Included as an extension in PHP, OPCache stores precompiled script bytecode in shared memory. This eliminates the need for PHP to load and parse scripts with each request, significantly reducing execution overhead and improving server response times. This not only enhances the user experience but also reduces server load, allowing it to handle more requests at once. OPCache's benefits are especially noticeable in high-traffic environments where performance and efficiency are critical.

ESP8266 Firmware update

Available to Premium members only
  • avatar
  • 338 Views
  • 12 mins read
Preview post image

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.

Maximizing MongoDB performance with indexes

Available to registered members only
  • avatar
  • 264 Views
  • 3 mins read
Preview post image

MongoDB proves itself as a robust solution for efficiently managing extensive datasets. A critical aspect contributing to MongoDB's effectiveness is its skillful use of indexes. Indexing acts as a meticulously organized roadmap for your data, enabling MongoDB to swiftly retrieve information. In this article, we will explore MongoDB indexes, shedding light on the diverse types and deciphering the nuances between ascending (asc) and descending (desc) indexes.

Wi-Fi Integration with ESP8266 module

  • avatar
  • 375 Views
  • 11 mins read
Preview post image

The ESP8266 has become an essential component in electronics, offering an affordable and compact means to integrate Wi-Fi connectivity into various projects. This tiny module has attracted a broad spectrum of users all aiming to implement smart home systems, IoT devices, and remote monitoring solutions. With its compact size, low power consumption, and seamless integration with Wi-Fi networks, the ESP8266 empowers innovators to create groundbreaking solutions in the digital age. The ESP8266 offers a user-friendly platform to bring your ideas to life. In this article, we will examine a particular variant of ESP8266 modules, specifically the ESP-01.

The Complete Handbook of AT Commands

  • avatar
  • 570 Views
  • 1 Like
  • 11 mins read
Preview post image

AT commands, short for Attention commands, are a set of instructions used to control modems. These commands originated from the Hayes command set and have become essential for IoT (Internet of Things) devices, especially for managing WiFi modules. They allow users to perform functions such as connecting to a network, sending data, and configuring device settings, making them crucial for IoT applications.

JWT authentication using Laravel middleware

  • avatar
  • 2.1K Views
  • 1 Like
  • 6 mins read
Preview post image

Security is crucial in web development, and one widely used method for securing APIs and web applications is JSON Web Token (JWT) authentication. Laravel, a powerful PHP framework, offers robust support for JWT authentication, making it a popular choice among developers. In this guide, we'll explore the intricacies of JWT authentication in Laravel, from grasping the basics of JWT to implementing token decoding within Laravel middleware.



Playing popular songs with Arduino and a buzzer

avatar

HiBit

We couldn't find notes for that song that will sound good with a buzzer.

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Right Here Waiting has been added.

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Never Gonna Give You Up has been added.


Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

We just added End of Beginning by Djo.

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

It's you song by Max feat Keshi has been added.

Happy anniversary!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Subway Surfers theme song has been added!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Fast & Furious: Tokyo Drift has been added.

Getting real-time position using MPU9250

avatar

HiBit

It's quite possible that there's something wrong with the module. We've seen other people run into the same problem before, and it turned out that there was a problem with one of the chips inside. You might want to try using a different module to see if that resolves the issue for you.

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Kaleo's Way down we go song has been added!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Imagine Dragons Enemy has been added!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Maroon 5 Memories has been added.

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

The Simpsons theme has been added!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

The Nightmare Before Christmas has been added.

Enjoy!

Domain Driven Design with Laravel 9

avatar

HiBit

I lack the full context, but I would likely merge the use case and service into a single class.

Domain Driven Design with Laravel 9

avatar

HiBit

The choice of where to place the validation for incoming data depends on your preferred approach. You can opt to use Laravel form requests, which should be integrated as a framework dependency within the Infrastructure layer. Alternatively, you have the option to use Value Objects (VOs) for direct validation.

Domain Driven Design with Laravel 9

avatar

HiBit

Appreciate your feedback!

Let's explore those questions further:
1. Adding use cases and services within the application layer is advisable. However, service providers are closely tied to Laravel framework, which is why they should be placed in the infrastructure layer.
2. Usually, the Laravel upgrade guide offers comprehensive instructions on which files to modify or the specific sections within a file that need changes. When performing the upgrade, your primary focus should be on following the guide and ensuring that you update the namespaces and file locations accordingly.

Containerizing Laravel Application using Docker

avatar

HiBit

Laravel Sail is a good choice for initiating a project and getting started quickly. If you are working on a project that involves multiple technologies or if you require advanced container management capabilities, using Docker directly will give you more flexibility. Docker allows you to customize your container environment to suit your specific requirements and provides a broader ecosystem of tools and resources.

Reading MPU9250 sensors with Arduino

avatar

HiBit

To troubleshoot the issue, ensure that the wiring is correctly connected and consider replacing the cables. If the issue persists, it is possible that the module is defective or broken. Try using a different module to determine if the issue is resolved.

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Chevelle's - The Red has been added. Make sure to update pitches library as we introduced new constants.

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Hi ApexNick,

It's one of the constants defined in the pitches library:

#define REST 0

You should download and import the library to be able to use these constants. Please check the Pitches library section of the post.


HiBit community member since December 2020