avatar
HiBit
847
197 39


Reading MPU9250 sensors with Arduino

  • avatar
Preview post image

MPU-9250 is one of the most advanced combined accelerometer, gyroscope and compass small size sensors currently available. It replaces the popular MPU-9150 lowering the power consumption, improving gyro noise and compass full scale range performance. It has many advanced features, including low pass filtering, motion detection and even a programmable specialized processor.

Conventional commits

  • avatar
  • 2.7K Views
  • 15 Likes
  • 3 mins read
Preview post image

The Conventional Commits specification is a lightweight convention on top of commit messages. It provides an easy set of rules for creating an explicit commit history; which makes it easier to write automated tools on top of.

The commit message should be structured as follows:

<type>[optional scope]: <description>

[optional body]

[optional footer]

Decimal, binary and hex representations

  • avatar
  • 4.0K Views
  • 7 Likes
  • 5 mins read
Preview post image

When working with any kind of digital system in which numbers are being represented, it is important to understand the different ways numbers are represented in these systems.

In electronics, almost without fail, numbers are represented by two voltage levels which can represent a one or a zero. The number system based on ones and zeroes is called the binary system: because there are only two possible digits. In HTML programming, colors can be represented by a 6-digit hexadecimal number: FFFFFF represents white whereas 000000 represents black.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Using switch buttons with Arduino

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

Let's speak now about switch buttons, the wiring and how to implement the code for this circuit elements in Arduino. Switch buttons connect two points in a circuit when you press them and maintain the state without the need to keep the button pressed. That means that logic state of the circuit change every time you press the button.

Regulated power supply module based on AMS1117

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

We often use the power supplies like batteries or direct AC/DC supply which are normally in higher ranges compared to the actual requirement for the circuit. In that cases we need this kind of voltage regulators which can regulate and vary the voltage levels for the circuit requirement.

The AMS1117 series of chips are linear voltage regulators with low voltage drop. The modules based on the AMS1117 chip provide constant 3.3V or 5V outputs from an unregulated DC input. It's very compact and can be included in your project schema or you can use it together with a breadboard for circuit testing.

Play Christmas melody with Arduino and a buzzer

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

Christmas melody is a heartwarming musical composition that captures the festive spirit of Christmas. With its enchanting blend of traditional holiday tunes and modern arrangements, this melody serves as a musical journey through the joy and warmth of the season.

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 is PWM and how it works

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

Pulse Width Modulation (PWM) is a technique for getting analog results with digital means. Digital control is used to create a square wave, a signal switched between ON and OFF. If you repeat this on/off pattern fast enough with a LED for example, the result is as if the signal is a steady voltage between 0 and VCC controlling the brightness of the LED.

How to use tricolor LED module with Arduino

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

The KY-016 is capable of producing wide range of different colors by mixing blue, green and red lights. The RGB LED module will not require any limiting resistors. Those resistors are already integrated in the circuit, and so 5V can be directly used as power input.

Docker compose introduction

  • avatar
  • 2.3K Views
  • 2 Likes
  • 8 mins read
Preview post image

Docker Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.

The features of Docker Compose that make it effective are:

How to setup cron jobs to automate regular tasks on Linux

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

Cron is a time-based job that runs in the background at specific intervals or designated times. It allows you to run tasks and scripts automatically, making cron useful for automating maintenance-related tasks. Therefore, it is a very popular server administration tool.

Cron is present in all Linux distributions. However, if it is not installed, you can install it using apt:



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