avatar
HiBit
847
197 39


How to use an analog module with Arduino

  • avatar
  • 3.0K Views
  • 1 Like
  • 4 mins read
Preview post image

The KY-023 is an easy-to-use analog joystick. The joystick uses a biaxial potentiometer to control the X and Y axis. It also has an integrated push button. In this tutorial, it is shown how to connect the KY-023 joystick with the Arduino and how to use it.

How to use potentiometer with Arduino

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

A potentiometer is a simple knob that provides a variable resistance, which we can read into the Arduino board as an analog value. They can be attuned from zero ohms to whatever maximum resistance that is specific to it. For example, a potentiometer of 10 kΩ can be adjusted from 0 Ω to its maximum of 10 kΩ.

Using push buttons with Arduino

  • avatar
  • 3.2K Views
  • 2 Likes
  • 4 mins read
Preview post image

Today we are going to speak about push buttons, the wiring and how to implement the code for this circuit elements in Arduino. Push buttons connect two points in a circuit when you press them. That means that logic state of the circuit change when you press and keep pressed the button.

 Join Our Monthly Newsletter

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

We never send SPAM nor unsolicited emails

Pull-up and Pull-down resistors

  • avatar
  • 2.6K Views
  • 4 mins read
Preview post image

A resistor is a passive two-terminal electrical component that implements electrical resistance as a circuit element. In electronic circuits, resistors are used to reduce current flow and adjust signal levels among other uses. Resistance is measured in Ohm with a sign of Ω.

A microcontroller (e.g. Arduino) utilizes I/O signals for communication with external hardware devices, where the most commonly known being GPIO. As a reminder, digital logic circuits have three logic states: high, low and floating (or high impedance). When there’s nothing connected to your GPIO pins, your program will read a floating impedance state, which we do not want. To achieve either high or low states, we’ll have to implement pull-up or pull-down resistors in our digital circuit.

How to use the NRF24L01 module with Arduino

  • avatar
Preview post image

Having two or more Arduino boards be able to communicate with each other wirelessly over a distance opens lots of possibilities like remotely monitoring sensor data, controlling robots, home automation and the list goes on. A good, reliable and inexpensive solution is NRF24L01.

The NRF24L01+ is a newer version of the NRF24L01, capable of doing an extra 250kbps of on-air data rate while the one without “+” has only 1Mbps and 2Mbps. Both versions can be mixed together as long as 1 or 2 MBps is being used as the data rate.

Create a CSR using OpenSSL & install SSL certificate on your Nginx server

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

Generally, OpenSSL is used for CSR generation on Linux-based web servers (Apache or Nginx) So, if the default web server is installed, there should be no issues with using OpenSSL as it is installed by default on these web servers.

The RSA key algorithm is the algorithm most widely used in digital security. It's an asymmetric cryptography algorithm. This basically means that there are two keys involved while communicating, i.e., the Public key and Private key.

Getting started with Arduino Nano

  • avatar
  • 3.2K Views
  • 5 mins read
Preview post image

Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so you use the Arduino programming language and the Arduino Software (IDE).

How to setup Apache Virtual Hosts

  • avatar
  • 1.5K Views
  • 3 mins read
Preview post image

An Apache web server can host multiple websites on the SAME server. You do not need separate server machine and Apache for each website. This can be achieved using the concept of Virtual Host or VHost.
Any domain that you want to host on your web server will have a separate entry in Apache configuration file.

How to add swap space to your Ubuntu

  • avatar
  • 2.1K Views
  • 5 mins read
Preview post image

Swap space is the area on a hard disk. It holds memory pages that are temporarily inactive. Swap space is used when your operating system decides that it needs physical memory for active processes and the amount of unused physical memory is insufficient. When this happens, inactive pages from the physical memory are then moved into the swap space, freeing up that physical memory for other uses.

Install and configure Apache on Ubuntu

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

Apache or Apache HTTP server is a free and open source web server, developed and maintained by the Apache Software Foundation. It is one of the most popular web servers in the world. Apache allows website developers to serve their content over the web and provides many powerful features that can be extended through additional modules.



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