avatar
HiBit
1140
238 48


Serial communication between two Arduino boards

Available to registered members only
  • avatar
  • 200 Views
  • 9 mins read
Preview image

Getting two Arduino boards to talk to each other opens up projects that a single board can't handle on its own. You might have one board reading sensors in one corner of a room and another driving a display somewhere else, and the two need to share what they know. Serial communication is one of the simplest ways to make that happen, and it works with almost any Arduino model you have lying around. This article walks through connecting two Arduino Nano boards and passing data back and forth over their serial ports.

Getting started with the HC-05 Bluetooth module

  • avatar
  • 502 Views
  • 1 Like
  • 16 mins read
Preview image

The HC-05 is one of the most popular Bluetooth modules in the Arduino ecosystem, and for good reason. It's affordable, well documented, and flexible enough to handle a wide range of use cases. It can operate as both a master and a slave device, meaning it can initiate connections to other Bluetooth devices as well as wait for them. For projects where you just need a phone to talk to an Arduino, that distinction doesn't matter much. But for anything more involved, like two Arduino boards communicating wirelessly, the HC-05 is the right tool for the job.

Handling file uploads in Laravel 13

  • avatar
  • 3.0K Views
  • 9 mins read
Preview image

Handling file uploads is one of those things that sounds simple at first but has plenty of moving parts: storage drivers, validation, security, public access, multiple files. Laravel 13 ships with a solid, well-rounded set of tools to deal with all of this without pulling in third-party packages. This article walks through the full lifecycle of a file upload in a Laravel 13 application, from the HTML form to retrieving files from storage, with practical examples along the way.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Keep your codebase clean with Git hooks

  • avatar
  • 560 Views
  • 9 mins read
Preview image

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

  • avatar
  • 1.3K Views
  • 11 mins read
Preview image

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.

Custom authentication in Laravel

  • avatar
  • 1.2K Views
  • 10 mins read
Preview image

Laravel ships with a solid authentication system out of the box, and most projects are well served by it. But there are situations where you need to authenticate users against something completely different: a legacy database, an external API, an LDAP server, or some other custom data source. Laravel's authentication system is built around a set of contracts and driver hooks that make this surprisingly straightforward to implement.

Story points in Agile teams

  • avatar
  • 933 Views
  • 12 mins read
Preview image

Story points are one of those concepts that sound simple on paper but can cause a surprising amount of confusion, debate, and occasionally heated arguments in practice. Yet despite all the drama surrounding them, they remain one of the most widely used tools for planning and estimating software work. So what exactly are they, how do they work, and why does everyone seem to have a slightly different take on them?

Getting started with Arduino

  • avatar
  • 926 Views
  • 1 Like
  • 9 mins read
Preview image

Arduino is a small programmable board that lets you control real electronic components with code. You can connect sensors, buttons, motors, LEDs, displays, and many other modules, then write a few lines in C or C++ to decide how everything should behave. The board reads inputs, processes them in real time, and reacts through its output pins. To start building solid projects, it is important to understand how the boards work, how to choose the right model, how to set up the development tools, and how key electronics concepts such as resistors, transistors, communication protocols, and PWM fit together in a practical circuit.

The complete guide to Claude Code skills

  • avatar
  • 1.9K Views
  • 2 Likes
  • 16 mins read
Preview image

Claude Code is already capable of doing a lot. But out of the box, it has no idea how you work. It doesn't know your stack, your standards, or what a good output looks like for your specific project. Skills are what bridge that gap. They let you define exactly how Claude should behave for any recurring task, and once that's in place, the quality and consistency of what you get back changes completely.

On-the-fly image resizing with Nginx

Available to Premium members only
  • avatar
  • 1.2K Views
  • 9 mins read
Preview image

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.



Playing popular songs with Arduino and a buzzer

avatar

HiBit

Imagine Dragons - Bones has been added.

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Dandadan - On the way has been added.

Enjoy!

Playing popular songs with Arduino and a buzzer

avatar

HiBit

Attack on Titan - The Rumbling has been added.

Enjoy!

Reading MPU9250 sensors with Arduino

avatar

HiBit

The repository shows how to read all three sensors from the MPU9250, including the magnetometer. Although some examples only print roll and pitch, the quaternion-based code fuses the full 9-axis data and represents the complete orientation.

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!


HiBit community member since December 2020