avatar
HiBit
498
136 14


DIY - Automated plants watering system

  • avatar
  • 139 Views
  • 17 mins read
Preview post image

In the world of do-it-yourself (DIY) projects, few activities match the practicality of constructing your own Arduino-powered automatic watering system. Imagine a setup where technology integrates effortlessly with nature, allowing you to take control of your plant care routine. We'll break down the fundamental components of this project, highlighting the vital role of the DS1302 timekeeping module and Arduino-compatible pumps. Get ready for a hands-on approach that not only enhances your technical skills but also transforms the way you care for your plants, whether they are in the corners of your home or under the open sky.

Using Laravel with an SQLite database

  • avatar
  • 1.0K Views
  • 3 Likes
  • 5 mins read
Preview post image

The fast-paced world of web development requires selecting tools that balance efficiency and scalability. The choice of a suitable database management system plays a pivotal role. SQLite, a lightweight yet powerful database engine, often remains overlooked. When integrated with Laravel, a popular PHP web application framework, SQLite offers developers a reliable solution for building efficient applications.

DIY - Automated plants watering system: code

  • avatar
  • 259 Views
  • 1 Like
  • 8 mins read
Preview post image

Having outlined the concept of automated watering and successfully assembled the physical components, our attention now turns to the real wizardry - the code. This article explores the intricate lines of Arduino code that transform theory into reality, breathing life into our DIY plant care project. As we step into the heart of our automated watering system, let's unravel the details that make our green vision a reality.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

DIY - Automated plants watering system: mounting

  • avatar
  • 262 Views
  • 1 Like
  • 10 mins read
Preview post image

As we transition into the practical implementation of our Arduino-powered automatic watering system, the focus shifts from theory to the tangible. This section of the guide will meticulously guide you through the steps of physically mounting the components, integrating sensors, and establishing the necessary connections between modules. It's an opportunity to transform conceptual understanding into hands-on reality. Prepare to immerse yourself in the practical aspects of this project, where we navigate through the nuances of placing each module and executing the precise wiring required to bring your plants care system to life.

Running PHP8.3 with Nginx on Ubuntu

  • avatar
  • 392 Views
  • 1 Like
  • 6 mins read
Preview post image

PHP is a scripting language widely used for web development, with code processed on a web server through a PHP interpreter, implemented as a module, daemon, or CGI executable. Nginx lacks the default ability to handle dynamic web pages with PHP and requires specific additional plugins for this purpose. One such plugin is FPM (FastCGI Process Manager), an alternative PHP FastCGI implementation offering additional features, particularly advantageous for high-traffic sites. FPM stands out as the preferred method for PHP page processing with Nginx, surpassing traditional CGI-based methods in terms of speed.

Play The Simpsons theme song with Arduino and a buzzer

Available to registered members only
  • avatar
  • 298 Views
  • 1 Like
  • 5 mins read
Preview post image

The Simpsons, that legendary animated series we all know and love, has become a cultural phenomenon. With its hilarious take on family life in Springfield, it's an absolute classic. We decided to have a bit of fun and recreate the show's iconic theme song using a piezo buzzer.

Buzzer is used to generate sound, beep or even melody of a song. It can be found in alarm devices, computers, timers and confirmation of user input such as a mouse click or keystroke. A piezo buzzer is not like a regular speaker that you might think of. It uses a material that actually changes shape when you apply electricity to it which in turn creates noise. The faster you bend the material, the higher the pitch of the noise that is produced.

What's new in PHP 8.3

  • avatar
  • 681 Views
  • 6 mins read
Preview post image

PHP 8.3 was released as scheduled on November 23, introducing numerous new features and improvements since the PHP 8.2 release. We'll go through most important features, performance improvements, changes and deprecations one by one.

PHP 8.3 and subsequent versions now enable the declaration of types for PHP class constants. This guarantees type compatibility for constants when overridden by child classes and interface implementations. Before PHP 8.3, there was no way to enforce type compatibility programmatically.

How to use a buzzer with Arduino

  • avatar
  • 381 Views
  • 4 mins read
Preview post image

A piezo buzzer is a small device that converts electrical signals into sound waves. Unlike traditional speakers, piezo buzzers operate on the piezoelectric effect. When a voltage is applied, the buzzer's piezoelectric crystal deforms, producing sound waves. This simplicity makes piezo buzzers cost-effective, lightweight, and ideal for applications where the space is limited.

Merry Christmas and a Happy New Year!

  • avatar
  • 344 Views
  • 1 Like
  • 1 min read
Preview post image

Wishing you a festive Christmas filled with warmth, laughter, and the company of loved ones. May the spirit of the season bring peace and happiness to your heart. As the year concludes, welcome the promise of a fresh start and a new chapter in the coming year. May the New Year be adorned with success, good health, and countless moments of happiness. Merry Christmas and a Happy New Year to you and your loved ones!

How to install Apache Kafka

  • avatar
  • 282 Views
  • 3 mins read
Preview post image

Apache Kafka, a distributed streaming platform, has emerged as a cornerstone for managing real-time data feeds and streaming applications. At its core, Kafka efficiently handles the flow of information between applications in real-time. Its strength lies in managing large streams of data, ensuring the integrity of information throughout the process. In this article, we will explore into the fundamental aspects of Kafka and provide a step-by-step guide on how to install it on your system.



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.

How to use the NRF24L01 module with Arduino

avatar

HiBit

Hi JimS and thanks for your feedback.

We always try to use ubiquitous language so the code is self-explanatory. In this concrete case we also have comments to show available setup options and some of the limitations. Besides, output printing can be useful to better understand what each variable contains.

Whatever the case may be, any specific doubt can be asked and answered here in the comments.

Domain Driven Design with Laravel 9

avatar

HiBit

Thanks for the feedback! We already work on DDD using Laravel framework sequel. As always it will include practical examples and use cases.


HiBit community member since December 2020
Hey visitor! Unlock access to featured articles, remove ads and much more - it's free.