avatar
HiBit
844
197 39


GeoDetect: PHP package for IP-based country detection

  • avatar
  • 4.1K Views
  • 1 Like
  • 3 mins read
Preview post image

The ability to gather and analyze data about users' geographical locations has become increasingly vital for numerous applications. Whether it's personalizing content, tailoring marketing strategies, or implementing region-specific features, having accurate geolocation information can significantly enhance the user experience. To facilitate this process, GeoDetect package detects the country associated with an IP address.

Connecting tilt sensor with Arduino

  • avatar
  • 1.7K Views
  • 1 Like
  • 5 mins read
Preview post image

A tilt sensor is a type of sensor that can detect the orientation or tilt of an object relative to the force of gravity. It works by measuring the change in angle of the object with respect to the vertical axis.

Tilt sensors can be found in various forms, such as simple mechanical switches, mercury switches, and electronic sensors. They are commonly used in applications that require the detection of tilting or changes in orientation, such as in construction equipment, automotive safety systems, robotics, and gaming controllers.

Create Laravel 10 project from scratch

  • avatar
  • 8.3K Views
  • 2 Likes
  • 5 mins read
Preview post image

Laravel is an open-source PHP web application framework designed for building web applications following the Model-View-Controller (MVC) architectural pattern. It was created in 2011 and become one of the most popular PHP frameworks used for web development.

Laravel provides developers with a number of powerful features and tools, including a simple and expressive syntax, built-in database migration and schema management, automated testing, and a robust ecosystem of third-party packages. Some of the key features of Laravel include its powerful routing engine, which allows developers to easily define application routes using a simple and intuitive syntax, and its comprehensive ORM (Object-Relational Mapping) system, which makes working with databases and models a breeze.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Communication protocols: UART, I2C and SPI

  • avatar
  • 8.2K Views
  • 6 Likes
  • 9 mins read
Preview post image

Digital communication between devices is an essential part of modern technology. There are several protocols available for this purpose, each with their own strengths and weaknesses. Three of the most commonly used protocols are UART, I2C, and SPI. In this article, we will examine these three protocols, their advantages and disadvantages, and how they compare to each other.

How to control servo motor with Arduino

  • avatar
  • 6.7K Views
  • 3 Likes
  • 8 mins read
Preview post image

A servo motor is a type of motor that is designed to provide precise control of position and speed. It is a rotary actuator that can rotate to a specified angle with a high degree of accuracy. Servo motors are commonly used in a wide variety of applications, including robotics, factory automation, camera stabilization systems, and remote-controlled vehicles, to name a few.

Comprehensive cheatsheet of Docker commands

  • avatar
  • 1.4K Views
  • 3 Likes
  • 7 mins read
Preview post image

In this post, we examine various Docker commands and concepts that are frequently used to manage Docker containers in local development environment. We provide a detailed analysis of how these essential tools function and give integration examples. Whether you're a novice or an experienced Docker user, our post can offer valuable insights and tips for effectively managing Docker containers on your machine.

Customize Laravel pagination views

  • avatar
  • 10.5K Views
  • 3 Likes
  • 4 mins read
Preview post image

Laravel is a powerful PHP framework that has gained popularity due to its simplicity and flexibility. One of the features that make it stand out is pagination. Pagination is a technique used to break large datasets into smaller, more manageable pieces, allowing users to navigate through them with ease. By default, Laravel provides a pagination system that works well for most use cases. However, sometimes you may need to customize it to meet specific requirements. In this post, we will explore how to customize pagination in Laravel.

DIY - Remote control car running on Arduino

  • avatar
  • 4.1K Views
  • 3 Likes
  • 18 mins read
Preview post image

Radio control cars are small vehicles powered by electric or gas motors that can be remotely controlled by a transmitter. The transmitter sends signals to a receiver on the car, allowing the operator to control the car's speed, direction, and steering. Radio control cars are available in a variety of sizes, from miniature models that can fit in the palm of your hand to large off-road vehicles that can climb over rough terrain.

Running PHP8.2 with Nginx on Ubuntu

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

PHP is a general-purpose scripting language geared towards web development. PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or as a Common Gateway Interface (CGI) executable.

By default Nginx is not capable of processing dynamic web pages with PHP so it requires the use of specific additional plugins for this purpose. One of these plugins is FPM (FastCGI Process Manager). FPM is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites. It is the preferred method of processing PHP pages with Nginx and is faster than traditional CGI based methods.

DIY - Remote control car running on Arduino: code

  • avatar
  • 3.3K Views
  • 3 Likes
  • 9 mins read
Preview post image

The physical assembly of the car has been completed with all the components properly installed and ready for use. The next steps involve reprogramming the Arduino Nano with the appropriate software to enable all the features, including pairing the car with the AirControl joystick via the NRF24L01 module.



Playing popular songs with Arduino and a buzzer

avatar

HiBit

Yung Kai - Blue has been added.

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

First day out has been added.

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Vanilla Ice - Ice ice baby has been added.

Enjoy!

Getting real-time position using MPU9250

avatar

HiBit

We used an existing library for this. You can see how it was implemented in the code snippet above.

It is also accessible in our GitHub repository.

Reading MPU9250 sensors with Arduino

avatar

HiBit

The article Getting Real-Time Position Using MPU9250 explains how to calculate real-time position using sensor data.

Complementary filter and relative orientation with MPU9250

avatar

HiBit

You can learn how we calculate pitch and roll using a complementary filter in this project; the file is available on GitHub.

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Assassin's Creed 2 - Ezio's Family has been added!

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Livin' on a prayer has been added.

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Crystal Castles Kerosene has been added.

Enjoy!

How to use the NRF24L01 module with Arduino

avatar

HiBit

The D10 pin has a specific function; it must be set as an output for the Arduino to operate as the master in an SPI communication protocol. In the provided wiring and code, the pin is already functioning as an output.

How to use the NRF24L01 module with Arduino

avatar

HiBit

I suggest verifying the wiring to confirm that all components are correctly connected, followed by re-uploading the code. The examples provided in the post have been tested and are operational. Please consider that there might be a physical problem, such as a damaged or defective module.

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Coldplay - Hymn for the weekend has been added.

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Was wollen wir trinken has been added.

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

The board has built-in memory. If additional memory is needed, an alternative board can be used.

Playing popular songs with Arduino and a buzzer

avatar

HiBit

The Doom melody requires more memory than others, so make sure your board can handle that amount. If not, you will usually encounter an error during compilation.

As a workaround, you can try removing some of the notes (along with their respective durations) to fit the melody on the board.

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!


HiBit community member since December 2020