avatar
HiBit
1153
241 48


Getting started with the HC-06 Bluetooth module

  • avatar
  • 116 Views
  • 19 mins read
Preview image

Adding wireless communication to an Arduino project usually starts with a Bluetooth serial module, and the HC-06 is one of the most common choices. It's cheap, widely available, and does one job well: it lets a phone or computer connect to your board and exchange data as if the two were joined by a cable. Four pins, one operating mode, and a small set of configuration commands is the whole picture. That simplicity comes with a real constraint though, and knowing it upfront saves time later, since the HC-06 only accepts incoming connections and can't reach out to another device on its own.

Image optimization for the web

Available to registered members only
  • avatar
  • 257 Views
  • 18 mins read
Preview image

Images are almost always the heaviest thing on a web page. A single hero photo can weigh more than all the HTML, CSS and JavaScript of a site put together, and every extra kilobyte delays the moment a visitor finally sees something useful. Search engines notice it, and users on mobile data notice it faster. The encouraging part is that image delivery is one of the few areas where the fixes are well documented, mostly automatable, and visible in the metrics almost immediately.

SEO guidelines every website should follow

  • avatar
  • 1.5K Views
  • 14 mins read
Preview image

Search engine optimization has a reputation for being complicated, but a big part of it comes down to fundamentals. Search engines crawl millions of pages every day and reward the ones that are well structured, fast and easy to understand. The surprising part is how many websites, including professionally built ones, still fail at the basics and quietly lose positions in search results because of it.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Serial communication between two Arduino boards

Available to registered members only
  • avatar
  • 610 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
  • 857 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
  • 4.1K 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.

Keep your codebase clean with Git hooks

  • avatar
  • 710 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.6K 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.5K 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
  • 1.2K 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?



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