2588 views|34 replies

3386

Posts

0

Resources
The OP
 

[Flower carving DIY] Interesting and fun music visualization series of small projects (20) - jewelry box mirror lamp [Copy link]

 

I suddenly had the urge to do a series of topics on music visualization. This topic is a bit difficult and covers a wide range of areas. The related FFT and FHT algorithms are also quite complicated, but I still plan to start with the simplest ones, do some experiments, try various solutions patiently, gradually accumulate some useful music spectrum visualization materials, and strive to form some practical and fun music visualizer projects.

I got a jewelry box, which is about 11 cm square, and planned to try to make a musical mirror lamp. This is my first time to engage in a project with a mirror, and I hope it will go smoothly.

This post is from DIY/Open Source Hardware

Latest reply

Very creative, give it a thumbs up   Details Published on 2022-9-12 15:06
 

3386

Posts

0

Resources
2
 

The WS2812B light strip uses a bare black board with 60 lights per meter.

This post is from DIY/Open Source Hardware
 
 

3386

Posts

0

Resources
3
 

WS2812B main features
Intelligent reverse connection protection, reverse power connection will not damage IC.
IC control circuit and LED point light source share a power supply.
Control circuit and RGB chip are integrated in a 5050 package component to form a complete externally controlled pixel.
Built-in signal shaping circuit, any pixel receives the signal and then outputs it after waveform shaping, ensuring that line waveform distortion will not accumulate.
Built-in power-on reset and power-off reset circuits.
The three primary colors of each pixel can achieve 256 levels of brightness display, complete 16777216 colors of true color display, and the scanning frequency is not less than 400Hz/s.
Serial cascade interface, can complete data reception and decoding through a signal line.
No circuit needs to be added when the transmission distance between any two points does not exceed 5 meters.
When the refresh rate is 30 frames/second, the number of cascades is not less than 1024 points.
The data transmission speed can reach 800Kbps.
The color of light is highly consistent and cost-effective.

Main application areas:
LED full-color luminous character light string, LED full-color module, LED full-color soft light bar, hard light bar, LED guardrail tube,
LED point light source, LED pixel screen, LED special-shaped screen, various electronic products, and electrical equipment marquee.

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
4
 

The light strip is installed

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
5
 

The sound module uses the more cost-effective MAX4466 sound sensor.

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
6
 

The MAX4466
is a micropower operational amplifier optimized for use as a microphone preamplifier. They provide an ideal combination of optimized gain-bandwidth product and supply current, as well as a low-voltage operating environment in an ultra-small package. The MAX4466 has a gain-stabilized characteristic and provides a gain bandwidth of 200kHz with only 24μA of supply current. After decompression, a minimum stable gain of +5V/V can be achieved, and a gain bandwidth of 600KHZ is provided. In addition, these amplifiers have rail-to-rail outputs, high AVOL, and excellent power supply rejection and common-mode rejection ratio, making them suitable for operation in noisy environments. They are widely used in cellular phones, digital repeaters, headphones, hearing aids, microphone preamplifiers, portable computers, and speech recognition systems.

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
7
 

MAX4466 module features

Power supply voltage: +2.4V to +5.5V (can be directly connected to STM/ARDUNIO/Raspberry Pi and other development boards)

Power supply rejection ratio: 112dB

Common mode rejection ratio: 126dB

AVOL: 125dB (RL = 100kΩ) Rail-to-rail output

Quiescent supply current: 24μA

Gain bandwidth: 600kHz

Dimensions: 20.8mm x 13.8mm x 7.5mm/0.8 x 0.5 x 0.3inch

The module includes ferrites on both the Vcc and ground leads to minimize power supply noise. If used with an MCU, it is best to use the quietest power supply available in the 2.4V – 5.5V range. On an Arduino, this is typically a 3.3V supply. The output is DC coupled. When the output signal is at rest, it will be at Vcc/2. If Vcc is 5V, the output will be 2.5V. If the output needs to be AC coupled, a 100uF capacitor can be added between the output pin and the input of the circuit it is driving. The small single-turn potentiometer on the back allows you to adjust the gain from 25x to 125x. Turning the potentiometer counter-clockwise increases the gain, while turning it counter-clockwise decreases the gain.

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
8
 

Silver gray glass film

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
9
 

2mm plexiglass

This post is from DIY/Open Source Hardware
 
 
 

4764

Posts

12

Resources
10
 

My girlfriend was moved to tears? I finally found you. I gave my girlfriend your box, but she ignored me for three days. Compensate my girlfriend

This post is from DIY/Open Source Hardware

Comments

The key is to read this post, it's not too late to send it...  Details Published on 2022-8-29 18:35
 
 
 

3386

Posts

0

Resources
11
 

Cleaning the glass surface

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
12
 

Film sticking tools

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
13
 
Azuma Simeng posted on 2022-8-29 18:17 My girlfriend was moved to tears series? I finally found you. I gave my girlfriend your box, but she ignored me for three days. Compensate my girlfriend

The key is to read this post, it's not too late to send it...

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
14
 

Start learning film...

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
15
 

The first time I applied the film, it was rotten and there were small bubbles everywhere...

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
16
 

The film is installed

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
17
 

[Flower carving DIY] Interesting and fun music visualization series of small projects (20) - jewelry box mirror lamp

Project Procedure 1: Simple Flow Color Change Test of Jewelry Box Mirror Light

Module wiring: WS2812B to D6

MAX4466 UNO

VCC 5V

GND GND

OUT D7

/*
  【花雕动手做】有趣好玩的音乐可视化系列小项目(20)--首饰盒镜子灯
  项目程序之一:首饰盒镜子灯简易流动变色测试
  模块接线:WS2812B接D6
  MAX4466      UNO
  VCC          5V
  GND         GND
  OUT          D7
*/

#include <FastLED.h>
#define LED_PIN     6
#define NUM_LEDS    21
CRGB leds[NUM_LEDS];

void setup() {
  FastLED.addLeds<WS2812, LED_PIN, GRB>(leds, NUM_LEDS);
}

void loop() {
  for (int i = 0; i <= 20; i++) {
    leds[i] = CRGB ( 0, 0, 255);
    FastLED.show();
    delay(50);
  }
  for (int i = 20; i >= 0; i--) {
    leds[i] = CRGB ( 255, 0, 0);
    FastLED.show();
    delay(50);
  }
  for (int i = 0; i <= 20; i++) {
    leds[i] = CRGB ( 0, 255, 0);
    FastLED.show();
    delay(50);
  }
  for (int i = 20; i >= 0; i--) {
    leds[i] = CRGB ( 250, 250, 250);
    FastLED.show();
    delay(50);
  }
}

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
18
 

Experimental scene diagram

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
19
 

Experimental scene diagram Dynamic diagram

点击上图查看Gif动图

This post is from DIY/Open Source Hardware
 
 
 

3386

Posts

0

Resources
20
 

Finally finished, it looks like this...

This post is from DIY/Open Source Hardware
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list