Posts

Showing posts from March, 2022

Arduino Bluetooth Speaker with Reactive NeoPixel LEDs

Image
How much passion do you have for music? If a lot of then definitely you have a speaker or Bluetooth speaker. You want to be cool in front of your friends when you are showing your speaker to them. So, for the DIY speaker, we have an amazing Arduino based Bluetooth Speaker. Bluetooth speaker has now become a pretty popular household gadget that we use on a daily basis. So, for today's article, we thought to design and build our own Bluetooth Speaker. To make things a little more interesting, we have added a strip of WS2812B Neo Pixel RGB LEDs that will be used to visualize the music. In order to make the visualization more responsive, we have used colorchord - sound to light conversion tool that is developed by one of my favourite youtubers cnlohr. Just Check out the complete article here

How to use the Arduino Library to Get Acceleration Data Live

Image
The   LIS3DH  triple-axis accelerometer can be use to add translation detection to your project. The "3D" in LIS3DH refers to the fact that it is a 3DoF or 3 Degrees of Freedom. Additionally, it has a few analog inputs to play with, and it has some built-in movement detection features to detect things like free-fall and to indicate if the FIFO buffers are full. If you're looking for something small and inexpensive, and are only measuring acceleration, this is the product for you. This guide presents the basics of plugging the board into a RedBoard, shows how to use the Arduino library to get acceleration data live or by FIFO collection, and describes the library usage.

How to do Digital-to-Analog conversion with Arduino - Arduino DAC Tutorial

Image
We know that Arduino has ADC (Analog-to-Digital Converter) feature but what if we want Digital-to-Analog Conversion with Arduino. We have the hack for this. We will connect an MCP4725 DAC IC with Arduino Uno and provide analog input value to Arduino pin A0 by using a potentiometer. Then ADC will be used to convert the analog value into digital form. After that those digital values are sent to MCP4725 via the I2C bus to be converted into analog signals using the DAC MCP4725 IC. Arduino pin A1 is used to check the analog output of MCP4725 from the pin OUT and finally display both ADC & DAC values and voltages in the 16x2 LCD display . For this, you need circuit diagram and Arduino code; You can check out this Arduino ADC Tutorial , here you can find circuit, code, and a step-by-step guide for Digital-to-Analog Conversion with Arduino. You can also check out the demonstration video below: