avatar
HiBit
926
213 44


Comprehensive cheatsheet of Docker commands

  • avatar
  • 1.6K Views
  • 4 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
  • 11.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
  • 5.0K 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.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Running PHP8.2 with Nginx on Ubuntu

  • avatar
  • 20.6K 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.9K 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.

DIY - Remote control car running on Arduino: mounting

  • avatar
  • 3.3K Views
  • 4 Likes
  • 8 mins read
Preview post image

With the idea of making a remote-controlled car in mind, we began our investigation by disassembling the frame to uncover its internal components and understand how they work. By gaining a clear understanding of the car's original configuration, we were able to approach the modifications with greater confidence, knowing what changes were necessary and how they would integrate with the existing system.

DIY - Remote control car running on Arduino: concept

  • avatar
  • 2.2K Views
  • 3 Likes
  • 4 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.

Complementary filter and relative orientation with MPU6050

  • avatar
Preview post image

The MPU-60X0 is the world's first integrated 6-axis MotionTracking device that combines a 3-axis gyroscope, 3-axis accelerometer and a Digital Motion Processor (DMP) all in a small package. It helps to measure velocity, orientation, acceleration, displacement and other motion like features

The MPU-6050 features three 16-bit analog-to-digital converters (ADCs) for digitizing the gyroscope outputs and three 16-bit ADCs for digitizing the accelerometer outputs. For precision tracking of both fast and slow motions, the parts feature a user-programmable gyroscope full-scale range and a user-programmable accelerometer full-scale range.

Getting started with ChatGPT

  • avatar
  • 2.2K Views
  • 2 Likes
  • 2 mins read
Preview post image

ChatGPT is a cutting-edge technology that brings new possibilities to the world of natural language processing. It can help users automate conversations, answer frequently asked questions, provide personalized recommendations, and improve customer engagement. With its cost-effectiveness, accessibility, and scalability, ChatGPT can be a valuable tool for any individual, organization, or developer looking to leverage the power of AI-powered conversation.



Playing popular songs with Arduino and a buzzer

avatar

HiBit

Dr. Dre ft Snoop Dogg - Still D.R.E. has been added.

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

It's not possible to make a direct MP3 to buzzer decoder because a buzzer (especially a typical piezo buzzer) can only produce simple tones at specific frequencies, not complex audio like speech or music. MP3 files contain compressed, multi-frequency audio data far beyond what a buzzer can reproduce. At best, you could extract a basic melody or rhythm if the MP3 is extremely simple (like single-tone music), but decoding full MP3 audio into something a buzzer can play accurately isn't feasible.

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Jujutsu Kaisen - Specialz has been added.

Enjoy!

Complementary filter and relative orientation with MPU6050

avatar

HiBit

Thank you, very appreciated!

The issue is likely that the MPU6050 isn't properly initialized after power-up. Make sure the setup() function runs completely each time the device is powered on, and consider adding a small delay before using the sensor.

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.


HiBit community member since December 2020