桂花蒸

【ART-Pi】Music Player+830012A

 
Overview

I saw a lot of awesome people on the Internet who made small boards that play music. I thought it was very practical, so I followed them. It happened that this time Lichuang had an extended version event, so I took this opportunity to try it out. Maybe Many places are not handled well, and there are more or less problems. But after all, this is the first time to build such a board, so I am going to fix it with a learning attitude! Note: This time it seems to be a bit off-topic. I accidentally adjusted a lot of modules, which seems a bit off-topic. Maybe it’s because I want to give ART_PI more functions! Also, I don’t have much contact with Lichuang, so it’s good to get more familiar with it through this drawing board.

Main functions : The extended version is equipped with an LCD (OLED, TFT) that can directly display the status of the output songs; with the addition of a joystick and touch buttons, you can select and control some settings, and the joystick can also be used to do many other things. things; a hard decoding chip was chosen to convert the data from the microcontroller into an analog signal. Considering the power issue, a power amplification chip was used to greatly amplify the signal, and finally a speaker was connected for external amplification.

其他功能:有红外收发电路,可以进行红外数据传输;当然还引出了串口,便于使用串口进行串行通信;还有温湿度传感器,用来检测环境的温湿度,最后装了一个模拟开关以备不时之需。

Specific module introduction :

  1. touch module

Let’s take a look at the following principle. The PCB wiring should not be covered with copper around the touch point to reduce some interference.

image.png

image.png

2. Rocker module

The touch module I chose is the Korean 3D161 3D joystick self-restoring joystick. I chose it mainly for fun. Its internal structure seems to be two things similar to sliding rheostat. In order to use it, I directly use ADC to measure the voltage. To judge the twisting condition of the switch, you can use code to determine what kind of twisting condition determines what kind of event to execute. This is what I thought. In principle, it should work. I decided to try it.

image.png

3.LCD interface

The LCD was recycled before. There is no relevant circuit reference and the circuit diagram cannot be obtained. However, both LCD screens use SPI for communication.

image.png

4. Audio hard decoding circuit

image.png

image.png

5.Power amplifier

What the power amplifier amplifies here is the AOUTR data. AOUTL is not used, but I used both pins to lead them out so that I can see the actual situation during debugging.

image.png

6. Temperature and humidity module

image.png

7. Infrared transceiver module

image.png

8.Analog switch

What I chose is CD4051, a relatively common 8-select one analog switch. The address terminals A, B, and C are used to control which channel is turned on. image.png

Related circuit references

1. Touch module reference circuit

image.png

2. Audio decoding circuit reference circuit

image.png

3. Power amplifier reference circuit

image.png

4. Infrared transceiver module reference circuit

image.png

Problems encountered when drawing PCB and schematic diagrams

1. When drawing the schematic diagram, I feel that the selection of devices is a bit random. It is difficult to find a particularly suitable device. In addition, I do not know the parameters of some devices very well.

2. The schematic diagram can be enhanced in the layout and routing, so that the PCB layout is easier to carry out when passing parameters.

3. When drawing a PCB, the main thing is layout and wiring. This time I felt that my wiring was very bad, very random, and looked very messy. I didn’t find a good solution, and the board was beaten like a wasp.

4. The wiring diagram on the board (really messy, Wori)

image.png

image.png

Final results display

Schematic diagram

image.png

PCB

image.png

3D model

image.png

reward

1. I have become more proficient in using Lichuang EDA;

2. Learned the selection of LED;

3. Understand where you are lacking and which direction you should go.

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-23 08:47:55

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号