CN103035273A - Device by utilizing knob type digital coding switch for switching audio files - Google Patents

Device by utilizing knob type digital coding switch for switching audio files Download PDF

Info

Publication number
CN103035273A
CN103035273A CN2012105333863A CN201210533386A CN103035273A CN 103035273 A CN103035273 A CN 103035273A CN 2012105333863 A CN2012105333863 A CN 2012105333863A CN 201210533386 A CN201210533386 A CN 201210533386A CN 103035273 A CN103035273 A CN 103035273A
Authority
CN
China
Prior art keywords
switch
knob
digital
switching
module
Prior art date
Application number
CN2012105333863A
Other languages
Chinese (zh)
Other versions
CN103035273B (en
Inventor
王日昌
Original Assignee
宁波高新区百瑞音响科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宁波高新区百瑞音响科技有限公司 filed Critical 宁波高新区百瑞音响科技有限公司
Priority to CN201210533386.3A priority Critical patent/CN103035273B/en
Publication of CN103035273A publication Critical patent/CN103035273A/en
Application granted granted Critical
Publication of CN103035273B publication Critical patent/CN103035273B/en

Links

Abstract

The invention discloses a device by utilizing a knob type digital coding switch for switching audio files. The device comprises a central processor module, a digital signal processing module, a power module, and a memorizer used for storing the audio files. The central processor module is connected with the digital signal processing module, the digital signal processing module is connected with the memorizer used for storing the audio files, and the power module is respectively connected with the central processor module and the digital signal processing module. The device further comprises the knob type digital coding switch for switching the audio files. The knob type digital coding switch is provided with a first output pin and a second output pin, and the first output pin and the second output pin are respectively connected with the central processor module. The device by utilizing the knob type digital coding switch for switching the audio files has the advantages of being simple and convenient to operate, and quick in switching speed.

Description

一种利用旋钮式数字编码开关对音频文件进行切换的装置 Apparatus using encoded digital switch knob for switching the audio file

技术领域 FIELD

[0001] 本发明涉及一种对音频文件进行切换的装置,尤其是涉及一种利用旋钮式数字编码开关对音频文件进行切换的装置。 [0001] The present invention relates to a means for switching the audio file, in particular, to a switching apparatus for audio files using a digital coding switch knob.

背景技术 Background technique

[0002]目前,大部分数字音频播放器,涉及歌曲文件或文件夹切换时都采用一组按键来实现。 [0002] Currently, most digital audio player, to a set of keys are used to achieve when the song file or folder switching. 该组按键一般包括向前切换按键和向后切换按键,通过对向前切换按键的操作实现对前面的音频文件的选取,通过对向后切换按键的操作实现对后面的音频文件的选取。 Usually this set of keys includes a key switch and a backward switch button forward, to achieve the foregoing the selection of audio files through the operation of the forward switch button, realized on the back of the audio file selected by the switching operation of the back button. 每按一次向前切换按键或向后切换按键,实现一个文件的切换,当需要切换与当前文件在位置上不相邻的文件时,需要连续按向前切换按键或向后切换按键。 Each press of button switch forward or backward shift key, to achieve switching of a file, when it is necessary to switch the current file position nonadjacent files necessary to continuously press the forward button or toggle switch back. 现有的按键中所用的开关通常为机械弹性开关,机械弹性开关在闭合及断开的瞬间均伴随有抖动,为了防止误动作需要对按键进行消抖处理。 Conventional key switch is normally used in an elastic mechanical switch, a mechanical switch is closed the instant the elastic and off are accompanied by jitter, in order to prevent erroneous operation of the keys need to be debounce process. 由此,导致按键速度不快,如果对按键操作过快还会出现不响应的问题;尤其是对于非手持式音频播放器,在对按键进行按压式操作时,由于操作角度、力度等因素的影响,在进行频繁的按键动作时非常不便。 Thus, the key resulting in fast enough, if the key operation is too fast for the response will not be a problem; particularly for non-hand-held audio players, when the key is pressed for operation, since the operation angle of factors, impact strength, etc. very inconvenient during frequent keystrokes.

发明内容 SUMMARY

[0003] 本发明所要解决的技术问题是提供一种操作简便,文件切换速度快的利用旋钮式数字编码开关对音频文件进行切换的装置。 [0003] The present invention solves the technical problem of providing a simple, fast switching speed knob using the file switch means for switching digitally coded audio files.

[0004] 本发明解决上述技术问题所采用的技术方案为:一种利用旋钮式数字编码开关对音频文件进行切换的装置,包括中央处理器模块、数字信号处理模块、电源模块、用于存放音频文件的存储器,所述的中央处理器模块与所述的数字信号处理模块连接,所述的数字信号处理模块与所述的用于存放音频文件的存储器连接,所述的电源模块分别与所述的中央处理器模块和所述的数字信号处理模块连接,还包括就用于切换音频文件的旋钮式数字编码开关,所述的旋钮式数字编码开关设置有第一输出引脚和第二输出引脚,所述的第一输出引脚和所述的第二输出引脚分别与所述的中央处理器模块连接,当转动所述的旋钮式数字编码开关时,所述的旋钮式数字编码开关的第一输出引脚输出第一脉冲信号,所述的旋钮式数字编码开关的第二输出引脚输出第二脉冲 [0004] aspect of the present invention to solve the above technical problem is: utilizing knob encoder switching means for switching digital audio files, comprising a central processor module, a digital signal processing module, a power module, for storing audio storage file, said central processing module and the digital signal processing module connected to a digital signal processing module connected to said memory for storing audio files, respectively, according to the power module central processing module and the digital signal processing module is connected, further comprising a knob switch is used to switch digitally encoded audio file, a digital coding switch knob is provided with a first output pin and a second output lead pin, said first output pin and said second pin respectively connected to the output of the central processor module, when the rotation of said knob encoded digital switch, the digital code switch knob a first output pin of the first pulse signal, a second output pin of the switch knob second encoded digital pulses 信号,当第一脉冲信号从高电平到低电平时,所述的中央处理器模块记录第二脉冲信号的电平,当第一脉冲信号再次从高电平到低电平时,所述的中央处理器模块再次记录第二脉冲信号的电平并比较前后两次记录的第二脉冲信号的电平,得出所述的旋钮式数字编码开关的旋转方向信息并传输给所述的数字信号处理模块,所述的数字信号处理模块对存储器内的音频文件进行切换。 Signal, when the first pulse signal from high to low, the central processor module of a second recording level pulse signal when the first pulse signal from high to low again, the a digital signal processor module records again the central level of the second pulse signal and comparing the level of the second pulse between two consecutive recording signal, deriving the rotational direction of the knob switch information digitally encoded and transmitted to the the processing module, the digital signal processing module switches the audio file in the memory.

[0005] 所述的中央处理器模块由型号为STM32F103RBT6的单片机芯片、复位电路、时钟电路及外围电路组成,所述的复位电路、所述的时钟电路及所述的外围电路分别与STM32F103RBT6芯片连接,所述的旋钮式数字编码开关的第一输出引脚与STM32F103RBT6芯片的第九个引脚连接,所述的旋钮式数字编码开关的第二输出引脚与STM32F103RBT6芯片的第十个引脚连接。 [0005] The central processor module by a single chip model, reset circuit, a clock circuit and a peripheral circuit STM32F103RBT6 composition, said reset circuit, said clock circuit and said peripheral circuit chip are connected to STM32F103RBT6 , the ninth pin is connected to a first output pin of the chip STM32F103RBT6 knob encoded digital switch, the tenth pin is connected to a second output pin of the chip STM32F103RBT6 knob encoded digital switch . [0006] 所述的利用旋钮式数字编码开关对音频文件进行切换的装置还包括用于切换文件夹的按键,所述的按键设置有第一输入引脚、第二输入引脚、第一输出引脚和第二输出引脚,所述的按键的第一输入引脚和第二输入引脚均与STM32F103RBT6芯片的第i^一个引脚连接,所述的按键的第一输出引脚和第二输出引脚均接地,每按一下所述的按键会产生一个低电平,所述的中央处理器模块接收该低电平信息并转换传输给所述的数字信号处理模块,所述的数字信号处理模块对文件夹进行切换。 [0006] The apparatus for audio files encoded digital switch with the knob switch further comprises a key switch folders, said key pin is provided with a first input, a second input lead, a first output a first output pin and a second pin and an output pin, the key pin of the first input and the second input pin is connected to the first pin a ^ i STM32F103RBT6 chip, the key two output pins are grounded, each press of the button generates a low level, the central processor module receives the low-level information and converts the digital signal transmitted to said processing module, said digital The signal processing module to switch folders.

[0007] 所述的利用旋钮式数字编码开关对音频文件进行切换的装置还包括用于显示音频文件和文件夹切换状态的指示灯,所述的指示灯与所述的中央处理器模块连接。 [0007] The apparatus for audio files encoded digital switch with the knob switch further comprises means for displaying an audio file and folder switching state indicator, said indicator connected to said central processor module.

[0008] 所述的利用旋钮式数字编码开关对音频文件进行切换的装置还包括用于实时显示当前音频文件和/或者文件夹信息的显示屏,所述的显示屏与所述的中央处理器模块连接。 [0008] The apparatus for audio files encoded digital switch with the knob switch further comprises means for real-time display of the current audio file and / or folder information display, said central processor and said display screen module.

[0009] 与现有技术相比,本发明的优点在于通过采用旋钮式数字编码开关结合中央处理器模块来对音频文件进行切换,旋钮式数字编码开关转动快捷方便,中央处理器模块响应速度快,相对于现有的按键式音频文件切换装置,克服了按键开关反应慢且不易连续切换的缺点,操作简便,切换速度快; [0009] Compared with the prior art, advantages of the present invention is to switch the audio file by using the dial type switch in conjunction with a digitally coded central processor module, a digitally coded switch knob is rotated convenient, fast response speed of the central processor module with respect to the conventional push-button switching device audio file, the key switch overcomes slow and difficult to continuously switched reaction disadvantages, is simple, fast switching speed;

[0010] 当利用旋钮式数字编码开关对音频文件进行切换的装置还包括用于切换文件夹的按键时,可以实现多个文件夹之间的切换,更加实用; [0010] When the switching device further includes a button switch folder audio files using a digital code switch knob, can switch between the plurality of folders, more practical;

[0011] 当利用旋钮式数字编码开关对音频文件进行切换的装置还包括用于显示音频文件和文件夹切换状态的指示灯时,可以直观的显示目前处于文件夹选择状态还是音频文件选择状态,防止误操作; [0011] When the switching device with the knob audio files encoded digital audio switch further comprises means for displaying files and folders switching state indicator, the visual display may be present in the folder selected state or an audio file selected state, prevent misuse;

[0012] 当利用旋钮式数字编码开关对音频文件进行切换的装置还包括用于实时显示音频文件和/或者文件夹信息的显示屏时,可以将相应的音频文件信息,包括曲目,时长,序号等或文件夹数量,编号,名称等信息输出到显示屏,实现同步显示,方便操作。 [0012] When the switching device audio files with the knob switch further comprises a digital encoder for displaying real-time audio file and / or folder information display screen, an audio file may be appropriate information, including track, duration, number number of folders or the like, number, name and other information to the display output, synchronized display, easy operation.

附图说明 BRIEF DESCRIPTION

[0013] 图1为本发明的原理框图; Block diagram [0013] Figure 1 of the present invention;

[0014] 图2为本发明的中央处理器模块、电源模块、用于存放音频文件的存储器、旋钮式数字编码开关、显示屏和按键的连接电路图; [0014] connected to a circuit diagram of the central processor module of FIG. 2 of the present invention, a power module, a memory for storing audio files, digital coding knob switch, the display and keys;

[0015] 图3为本发明的数字信号处理模块的DSP芯片及外围电路的电路图; Circuit diagram of a peripheral circuit of the DSP chip digital signal processing module of the present invention [0015] Figure 3;

[0016] 图4为本发明的数字信号处理模块的存储芯片及外围电路的电路图。 A circuit diagram of [0016] FIG 4 and a peripheral circuit of the memory chip digital signal processing module of the present invention.

具体实施方式 Detailed ways

[0017] 以下结合附图实施例对本发明作进一步详细描述。 Example DRAWINGS The invention will be further described in detail with [0017] the binding.

[0018] 实施例:如图1所示,一种利用旋钮式数字编码开关对音频文件进行切换的装置,包括中央处理器模块1、数字信号处理模块2、电源模块3、用于存放音频文件的存储器4,中央处理器模块I与数字信号处理模块2连接,数字信号处理模块2与用于存放音频文件的存储器4连接,电源模块3分别与中央处理器模块I和数字信号处理模块2连接,还包括就用于切换音频文件的旋钮式数字编码开关5,旋钮式数字编码开关5设置有第一输出引脚A和第二输出引脚B,第一输出引脚A和第二输出引脚B分别与中央处理器模块I连接,当转动旋钮式数字编码开关5时,旋钮式数字编码开关5的第一输出引脚A输出第一脉冲信号,旋钮式数字编码开关5的第二输出引脚B输出第二脉冲信号,当第一脉冲信号从高电平到低电平时,中央处理器模块I记录第二脉冲信号的电平,当第一脉冲信号 [0018] Example: As illustrated, the knob utilizing digital switching means for switching encoded audio files, module 1 includes a central processor, a digital signal processing module 2, the power module 3, for storing an audio file 1 a memory 4, a central processor module I and the digital signal processing module 2, the digital signal processing module connected to a memory 2 for storing audio files 4, the power module 3, respectively, with the central processing module I and a digital signal processor module 2 further comprising a knob to switch digitally encoded audio file 5, a digitally encoded knob switch output pin 5 is provided with a first and a second output pin a B, Groups a output pin and a second output lead I B feet are connected to the central processor module, when the knob is rotated encoded digital switch 5, the knob switch of the first digital encoder output a output pin 5 of the first pulse signal, the knob switch of the second digital output encoder 5 a second pulse signal B output pin, when the first pulse signal from high to low, the central processor module I recorded a second pulse signal level, when the first pulse signal 次从高电平到低电平时,中央处理器模块I再次记录第二脉冲信号的电平并比较前后两次记录的第二脉冲信号的电平,得出旋钮式数字编码开关5的旋转方向信息并传输给数字信号处理模块2,数字信号处理模块2对存储器4内的音频文件进行切换。 When views from high to low, the central processor module I again record level of the second pulse signal and the level before and after the second pulse signal is recorded twice, the rotational direction of the knob obtain encoded digital switch 5 and transmitting information to the digital signal processing module 2, a digital signal processing module 2 to the audio file in the memory 4 is switched.

[0019] 本实施例中,中央处理器模块I由型号为STM32F103RBT6的单片机芯片、复位电路、时钟电路及外围电路组成,复位电路、时钟电路及外围电路分别与STM32F103RBT6芯片连接,旋钮式数字编码开关5的第一输出弓丨脚A与STM32F103RBT6芯片的第九个弓I脚PCl连接,旋钮式数字编码开关5的第二输出引脚B与STM32F103RBT6芯片的第十个引脚PC2连接。 [0019] In this embodiment, the central processor module from the I model single chip, reset circuit, a clock circuit and a peripheral circuit STM32F103RBT6 composition, reset circuit, clock circuit and the peripheral circuit chip are connected to STM32F103RBT6, digitally encoded knob switch a first output pin and the arch Shu STM32F103RBT6 chip ninth bow I PCl 5 is connected to the foot, the knob switch of the second digital encoding B output pin 5 of chip STM32F103RBT6 tenth pin PC2 is connected.

[0020] 本实施例中,利用旋钮式数字编码开关5对音频文件进行切换的装置还包括用于切换文件夹的按键6,按键设置有第一输入引脚、第二输入引脚、第一输出引脚和第二输出引脚,按键6的第一输入引脚和第二输入引脚均与STM32F103RBT6芯片的第i^一个引脚PC3连接,按键6的第一输出引脚和第二输·出引脚均接地,每按一下按键6会产生一个低电平,中央处理器模块I接收该低电平信息并转换传输给数字信号处理模块2,数字信号处理模块2对文件夹进行切换。 [0020] In this embodiment, the device further comprising a switching key for switching the folder 6, a first key input pin 5 is provided with audio files encoded with the knob digital switch, a second input lead, a first a second output pin and output pin, the key pin and a second input of the first input pin 6 are connected to the first pin PC3 STM32F103RBT6 i ^ a chip, a first output pin and a second button input 6 · the pins are grounded, each press of the button 6 results in a low level, the central processor module receives the low-level I and converting information transmitted to the digital signal processing module 2, a digital signal processing module 2 to switch folders .

[0021] 本实施例中,利用旋钮式数字编码开关对音频文件进行切换的装置还包括用于显示音频文件和文件夹切换状态的指示灯7,指示灯7与中央处理器模块I连接,指示灯7可以为LED灯。 Means [0021] In this embodiment, audio files encoded digital switch with the knob switch further comprises means for displaying an audio file and folder switching state indicator 7, 7 LEDs connected with the central processor module I, indicating lamp 7 may be an LED lamp.

[0022] 本实施例中,利用旋钮式数字编码开关对音频文件进行切换的装置还包括用于实时显示当前音频文件和/或者文件夹信息的显示屏8,显示屏8与中央处理器模块I连接,显示屏8可以为IXD液晶显示屏。 Means [0022] In this embodiment, audio files encoded digital switch with the knob switch further comprises means for real-time display of the current audio file and / or folder information display 8, the display 8 with the central processor module I connection, the display 8 may be a liquid crystal display is IXD.

[0023] 本实施例的中央处理器模块1、电源模块3、用于存放音频文件的存储器4,旋钮式数字编码开关5、显示屏8和按键6的连接电路图如图2所示,本实施例的数字信号处理模块2的DSP芯片及外围电路的电路图如图3所示,本发明的数字信号处理模块2的存储芯片及外围电路的电路图如图4所7]^。 [0023] The central processor module of the present embodiment 1, 3, 4, 5 switch digitally encoded knob, buttons and display screen connected to a memory 8 for storing audio files of a circuit diagram of a power module 6 shown in Figure 2, the present embodiment digital signal processing module and a circuit diagram of peripheral circuits of the DSP chip 2 shown in Figure 3, a circuit diagram of the digital signal processing module of the present invention, the memory chip 2 and peripheral circuit 7 in FIG. 4] ^.

[0024] 本实施例的工作原理为:旋钮式数字编码开关5的第一输出引脚A与STM32F103RBT6芯片的第九个引脚PCl连接,旋钮式数字编码开关5的第二输出引脚B与STM32F103RBT6芯片的第十个引脚PC2连接。 [0024] The working principle of this embodiment are: a first switch knob encoded digital output pin A and STM32F103RBT6 chip PCl 5 ninth pin connector, a second switch knob digitally encoded and output pin B 5 STM32F103RBT6 tenth chip PC2 connector pins. STM32F103RBT6芯片检测操作时旋钮式数字编码开关5两个输出引脚(A,B)引起的电平变化,并形成相应指令。 When the operation knob STM32F103RBT6 microarray encoded digital switch 5 two output pins (A, B) due to the level change, and formation of the corresponding instruction. 数字信号处理器2与中央处理器模块I连接,按UART异步串行通信协议交换指令与数据。 The digital signal processor 2 connected to the central processor module I, according to UART asynchronous serial communication protocol to exchange commands and data. 当存储器4中存储有音频文件时,转动旋钮式数字编码开关5,旋钮式数字编码开关5的第一输出引脚A输出第一脉冲信号,旋钮式数字编码开关5的第二输出引脚B输出第二脉冲信号。 When the memory 4 is stored in an audio file, digital encoded rotation of the knob switch 5, the knob switch of the first digital encoder output A output pin 5 of the first pulse signal, a digitally encoded knob switch of the second output pin B 5 outputting a second pulse signal. 中央处理器模块I实时检测第一脉冲信号和第二脉冲信号引起的电平变化,当中央处理器模块I检测到第一脉冲信号从高电平到低电平时,中央处理器模块I会记录第二脉冲信号的电平,当中央处理器模块I再次检测到第一脉冲信号从高电平到低电平时,中央处理器模块I再次记录第二脉冲信号的电平并比较前后两次记录的第二脉冲信号的电平,如果第二脉冲信号先O再1,则旋钮式数字编码开关5的转动方向为右转,反之则旋钮式数字编码开关5的转动方向为左转;中央处理器模块I将得到的旋钮式数字编码开关5的旋转方向信息传输给数字信号处理模块2,数字信号处理模块2对存储器4内的音频文件进行切换。 The central processor module level variation detected in real time a first pulse signal I and the second signal pulse, when the central processor module detects a first pulse signal I from the high level to the low level, the central processor module records I the second level of the pulse signal, when the central processor module I first pulse signal is detected again from the high level to the low level, the central processor module I record level of the second pulse signal before and after recorded twice again and the level of the second pulse signal, if the second pulse signal and then to O 1, the direction of rotation of the knob encoded digital switch 5 to turn right, and vice versa digitally encoded knob rotational direction switch 5 to turn left; central processing digital encoder knob switch module I obtained rotational direction of the information transmission 5 to the digital signal processing module 2, a digital signal processing module 2 inside the audio file to the memory 4 is switched. 旋钮式数字编码开关5转一格产生一个脉冲周期,就构成了一次切换,通常旋钮式数字编码开关5 —圈都有十格以上,方便而且快速,数字信号处理模块2依据获得的信息形成指令,往前或往后一个地址读取音频文件信息,实现音频文件的切换。 5 digital coding switch knob turn generates a frame pulse period, constitutes a switch, typically a digitally coded switch knob 5 - there are 10 cells or more rings, convenient and fast, the information based on the digital signal processing module 2 obtained by forming instruction , a forward or backward address reading audio file information, to switch the audio file.

[0025] 当需要切换文件夹时,对按键6进行操作,按键6的第一输入引脚和第二输入引脚均与STM32F103RBT6芯片的第i^一个引脚PC3连接,按键6每按下一次会产生一个低电平,中央处理器模块I中的STM32F103RBT6芯片检测到低电平就会形成一个切换指令传输给数字信号处理模块2,数字信号处理模块2生成文件夹切换指令,将旋钮式数字编码开关5的操作对象改变。 [0025] When a need to switch the folder, the operation of the key 6, a first pin and a second input key input pin 6 are connected to the first pin PC3 STM32F103RBT6 i ^ a chip, each press button 6 generates a low level, STM32F103RBT6 microarray central processor module I is switched to the low level will form a command is transmitted to the digital signal processing module 2, a digital signal processing module 2 generates a folder switching command, the digital knob coding switch the operation target 5 is changed. 中央处理器模块I中STM32F103RBT6芯片的一个IO脚连接指示灯7正极,在对文件夹进行切换操作时,该引脚会持续输出高电平点亮指示灯7,当按键6触发转入音频文件操作时则输出低电平,指示灯7熄灭;中央处理器模块I中STM32F103RBT6芯片连接显示屏8,实时将相应的文件夹和音频文件信息(包括曲目、时长、序号或文件夹数量、编号和名称等信息)输出到显示屏8,实现同步显示,方便操作。 I, a central processor module IO pin STM32F103RBT6 chip is connected to a positive indicator 7, when the folder switching operation, the pin is continuously lit indicator 7 outputs a high level, when the trigger button 6 into the audio file the low output operation, the indicator 7 goes off; I, module central processor chip connection STM32F103RBT6 display 8, the corresponding real-time audio file and folder information (including track, duration, number, or the number of folders, and the number name and other information) is output to the display 8, the display synchronization, easy to operate.

Claims (5)

1. 一种利用旋钮式数字编码开关对音频文件进行切换的装置,包括中央处理器模块、数字信号处理模块、电源模块、用于存放音频文件的存储器,所述的中央处理器模块与所述的数字信号处理模块连接,所述的数字信号处理模块与所述的用于存放音频文件的存储器连接,所述的电源模块分别与所述的中央处理器模块和所述的数字信号处理模块连接,其特征在于还包括就用于切换音频文件的旋钮式数字编码开关,所述的旋钮式数字编码开关设置有第一输出引脚和第二输出引脚,所述的第一输出引脚和所述的第二输出引脚分别与所述的中央处理器模块连接,当转动所述的旋钮式数字编码开关时,所述的旋钮式数字编码开关的第一输出引脚输出第一脉冲信号,所述的旋钮式数字编码开关的第二输出引脚输出第二脉冲信号,当第一脉冲信号从高电平到低电 1. An apparatus for switching the audio files encoded using digital switching knob, comprises a central processor module, a digital signal processing module, a power module, a memory for storing audio files, the CPU module and the the digital signal processing module connected to a digital signal processing module and a memory for storing the audio file connected to said power module is connected to the central processing module and the digital signal processing module characterized in that it further comprises a knob switch digitally encoded audio file, a digital coding switch knob is provided with a first output pin and a second output pin, said first output pin and a first output pin of the second pins respectively connected to the output of the central processor module, when the rotation of said knob encoded digital switch, the switch knob encoded digital signal a first pulse , a second output pin of the second pulse signal is digitally encoded knob switch, when the first pulse signal from the high level to the low 时,所述的中央处理器模块记录第二脉冲信号的电平,当第一脉冲信号再次从高电平到低电平时,所述的中央处理器模块再次记录第二脉冲信号的电平并比较前后两次记录的第二脉冲信号的电平,得出所述的旋钮式数字编码开关的旋转方向信息并传输给所述的数字信号处理模块,所述的数字信号处理模块对存储器内的音频文件进行切换。 When the central processor module of a second recording level pulse signal when the first pulse signal from high to low again, the central processor module again record level of the second pulse signal and comparison before and after the level of the second pulse signal is recorded twice, the direction of rotation of the knob derived information digitally encoded and transmitted to the switch module according to the digital signal processing, said digital signal processing module of the memory audio files to switch.
2.根据权利要求1所述的一种利用旋钮式数字编码开关对音频文件进行切换的装置,其特征在于所述的中央处理器模块由型号为STM32F103RBT6的单片机芯片、复位电路、时钟电路及外围电路组成,所述的复位电路、所述的时钟电路及所述的外围电路分别与STM32F103RBT6芯片连接,所述的旋钮式数字编码开关的第一输出引脚与STM32F103RBT6芯片的第九个引脚连接,所述的旋钮式数字编码开关的第二输出引脚与STM32F103RBT6芯片的第十个引脚连接。 According to claim 1 utilizing knob switch means for switching digitally coded audio files, wherein said central processor module by a single chip STM32F103RBT6 model, the reset circuit, clock circuit and peripheral claims a ninth pin is connected to a first output pin of the chip STM32F103RBT6 circuit, said reset circuit, said clock circuit and said peripheral circuit chip connection STM32F103RBT6 respectively, said encoded digital switch knob , the tenth pin of the connector knob encoded digital switch and a second output pin of the chip STM32F103RBT6.
3.根据权利要求2所述的一种利用旋钮式数字编码开关对音频文件进行切换的装置,其特征在于还包括用于切换文件夹的按键,所述的按键设置有第一输入引脚、第二输入引脚、第一输出引脚和第二输出引脚,所述的按键的第一输入引脚和第二输入引脚均与STM32F103RBT6芯片的第i^一个引脚连接,所述的按键的第一输出引脚和第二输出引脚均接地,每按一下所述的按键会产生一个低电平,所述的中央处理器模块接收该低电平信息并转换传输给所述的数字信号处理模块,所述的数字信号处理模块对文件夹进行切换。 The knob 2 utilizing said digital switching means for switching encoded audio files, characterized by further comprising a key switch according to claim folder, the key is provided with a first input pin, a second input lead, a first output pin and a second output pin, the key pin of the first input and the second input pins are connected to the first pin STM32F103RBT6 i ^ a chip, according to a first key and a second output pin output pins are grounded, each press of the button generates a low level, the central processor module receives the low-level information and transmitted to the converter digital signal processing module, the digital signal processing module folder switching.
4.根据权利要求2所述的一种利用旋钮式数字编码开关对音频文件进行切换的装置,其特征在于还包括用于显示音频文件和文件夹切换状态的指示灯,所述的指示灯与所述的中央处理器模块连接。 According to claim 2 utilizing knob encoder switching means for switching digital audio files, characterized by further comprising means for displaying an audio file and folder switching state indicator, said indicator claims said central processor module.
5.根据权利要求2或3所述的一种利用旋钮式数字编码开关对音频文件进行切换的装置,其特征在于还包括用于实时显示当前音频文件和/或者文件夹信息的显示屏,所述的显示屏与所述的中央处理器模块连接。 5. In accordance with one 2 or 3 with the knob coding digital switching means for switching the audio files, characterized by further comprising a real-time display of the current audio file and / or folder information display, as claimed in claim said display and said CPU module.
CN201210533386.3A 2012-12-12 2012-12-12 Apparatus using encoded digital switch knob for switching the audio file CN103035273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210533386.3A CN103035273B (en) 2012-12-12 2012-12-12 Apparatus using encoded digital switch knob for switching the audio file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210533386.3A CN103035273B (en) 2012-12-12 2012-12-12 Apparatus using encoded digital switch knob for switching the audio file

Publications (2)

Publication Number Publication Date
CN103035273A true CN103035273A (en) 2013-04-10
CN103035273B CN103035273B (en) 2016-05-25

Family

ID=48022092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210533386.3A CN103035273B (en) 2012-12-12 2012-12-12 Apparatus using encoded digital switch knob for switching the audio file

Country Status (1)

Country Link
CN (1) CN103035273B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915229A (en) * 2016-04-06 2016-08-31 珠海格力电器股份有限公司 Method and device for processing output of rotation encoder switch
WO2018032822A1 (en) * 2016-08-19 2018-02-22 深圳喜乐航科技有限公司 Indicator light system based on audio signal control

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479408A (en) * 1994-02-22 1995-12-26 Will; Craig A. Wireless personal paging, communications, and locating system
US5825353A (en) * 1995-04-18 1998-10-20 Will; Craig Alexander Control of miniature personal digital assistant using menu and thumbwheel
CN1276546A (en) * 1999-05-13 2000-12-13 索尼公司 Information processing method, device and medium
CN1463460A (en) * 2001-05-21 2003-12-24 索尼株式会社 Operating device
CN101611373A (en) * 2007-01-05 2009-12-23 苹果公司 Gestures for controlling, manipulating, and editing of media files using touch sensitive devices
CN101639671A (en) * 2009-08-24 2010-02-03 涛 傅 Method and device for controlling object selection and parameter setting
CN101710246A (en) * 2009-11-13 2010-05-19 宁波吉盛电器有限公司 Control circuit of oven
CN101901710A (en) * 2010-07-09 2010-12-01 深圳和而泰智能控制股份有限公司 Rotary encoder switch
CN102594241A (en) * 2012-03-20 2012-07-18 江苏物联网研究发展中心 Intelligent controller for electric eddy current retarder
CN202394776U (en) * 2011-12-15 2012-08-22 蚌埠依爱消防电子有限责任公司 Rotating-wheel type input device for fire alarm control units
CN202501954U (en) * 2012-04-23 2012-10-24 中意泰达(营口)汽车保修设备有限公司 Balancing machine button structure
CN203085169U (en) * 2012-12-12 2013-07-24 宁波高新区百瑞音响科技有限公司 Device capable of using knob-type digital coding switch for switching of audio files

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479408A (en) * 1994-02-22 1995-12-26 Will; Craig A. Wireless personal paging, communications, and locating system
US5825353A (en) * 1995-04-18 1998-10-20 Will; Craig Alexander Control of miniature personal digital assistant using menu and thumbwheel
CN1276546A (en) * 1999-05-13 2000-12-13 索尼公司 Information processing method, device and medium
CN1463460A (en) * 2001-05-21 2003-12-24 索尼株式会社 Operating device
CN101611373A (en) * 2007-01-05 2009-12-23 苹果公司 Gestures for controlling, manipulating, and editing of media files using touch sensitive devices
CN101639671A (en) * 2009-08-24 2010-02-03 涛 傅 Method and device for controlling object selection and parameter setting
CN101710246A (en) * 2009-11-13 2010-05-19 宁波吉盛电器有限公司 Control circuit of oven
CN101901710A (en) * 2010-07-09 2010-12-01 深圳和而泰智能控制股份有限公司 Rotary encoder switch
CN202394776U (en) * 2011-12-15 2012-08-22 蚌埠依爱消防电子有限责任公司 Rotating-wheel type input device for fire alarm control units
CN102594241A (en) * 2012-03-20 2012-07-18 江苏物联网研究发展中心 Intelligent controller for electric eddy current retarder
CN202501954U (en) * 2012-04-23 2012-10-24 中意泰达(营口)汽车保修设备有限公司 Balancing machine button structure
CN203085169U (en) * 2012-12-12 2013-07-24 宁波高新区百瑞音响科技有限公司 Device capable of using knob-type digital coding switch for switching of audio files

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915229A (en) * 2016-04-06 2016-08-31 珠海格力电器股份有限公司 Method and device for processing output of rotation encoder switch
CN105915229B (en) * 2016-04-06 2019-04-30 珠海格力电器股份有限公司 The method and device that the output of rotary coding switch is handled
WO2018032822A1 (en) * 2016-08-19 2018-02-22 深圳喜乐航科技有限公司 Indicator light system based on audio signal control

Also Published As

Publication number Publication date
CN103035273B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
KR920010188B1 (en) Disk reproducing apparatus
JP2724896B2 (en) Method and apparatus for storing Midi information in the subcode the packed
US20050156878A1 (en) Foot-operated key pad
WO2011047171A2 (en) Foot-operated controller
JP2005507112A (en) Method and apparatus for accelerated scrolling
WO2003061249B1 (en) Double-sided keyboard for use in an electronic device
CN101784981A (en) Method and apparatus for manipulating a displayed image
KR100387238B1 (en) Audio reproducing apparatus and method having function capable of modulating audio signal, remixing apparatus and method employing the apparatus
JP2008146453A (en) Picture signal output device and operation input processing method
KR101499301B1 (en) System and method of controlling three dimensional virtual objects on a portable computing device
BRPI0805417A2 (en) method to switch the User Interface, eletrânico device and through gravaÇço with the use of the same
EP1423852A1 (en) System for converting turntable motion to midi data
JP2011053833A (en) Information processing apparatus and information processing method
US20090144621A1 (en) Recording, playback, and visual representation of macros
RU2012142196A (en) Electronic adapter for the selective modification of audio or video data for use with an output device
CN104238759A (en) Method and device for controlling terminal through physical keys
US7698092B2 (en) Portable electronic apparatus, operation control method, operation control program, signal generation apparatus and signal generation method
US7570770B2 (en) Mixing apparatus for audio data, method of controlling the same, and mixing control program
CN101794606A (en) Method and an apparatus for playing of multimedia items
KR20090057557A (en) Method for moving of play time and setting of play interval using multi touch
KR20060109337A (en) Input apparatus, input method, input control program, reproduction apparatus, reproduction control method, and reproduction control program
JP2001117701A (en) Method for using rotary opeation type endless pulse generator
US20120144977A1 (en) Music-oriented controller for a tablet computing device
RU2011103188A (en) The recording medium, playback apparatus and the integrated circuit
JP2016528582A (en) Handheld computing platforms and corresponding usage with a pressure sensor integrated

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CF01