Features • Diode Protection on All Inputs • Six Debouncers Per Package • Internal Pullups on All Data Inputs • Can Be Used as a Digital Integrator, System Synchronizer, or Delay Line • Internal Oscillator (R−C), or External Clock Source • TTL Compatible Data Inputs/Outputs • Single Line Input, Debounces Both “Make” and “Break” Contacts • Does Not Require “Form C” (Single Pole Double Throw) Input Signal • Cascadable for Longer Time Delays • Schmitt Trigger on Clock Input (Pin 7) • Supply Voltage Range = 3.0 V to 18 V
10nf를 사용했습니다. 100ms정도 타이밍으로 버튼 클릭 가능합니다.
테스트용 아두이노 코드입니다. 하드웨어적으로 처리하기 때문에 delay없이 작동합니다.
int buttonPin = 3; // the number of the input pin
int ledPin = 13; // the number of the output pin
int state = 0; // the current state of the output pin
int reading; // the current reading from the input pin
int previous = 0; // the previous reading from the input pin
reading = digitalRead(buttonPin);
if (reading == 0 && previous == 1)
state = !state;
previous = reading;
LCD 라디오 수신기 모듈로 라디오를 만들어 봅니다. RX, TX도 있어서 아두이노를 연결하여 명령어로 조정도 가능합니다. 다음번에는 그렇게 한번 만들어 봐야 할거 같네요.
제품 사양은 아래와 같습니다.
FM radio module / LCD version
Product parameters: Output power: 500mW (drive headphones) Frequency response range: 50Hz-18KHz Channel: Stereo Receiving frequency adjustment range: Turn off campus broadcast 87.0MHz-108.0MHz, Turn on campus broadcast 76.0MHz-108.0MHz Equivalent noise: ≥30dB Supply voltage: 3.0V-5.0V Current: 40mA
PLL digital frequency lock, no frequency
30 level digital volume control
76.0-108.0MHZ full coverage
Wide voltage 3-5V power supply
Automatic search storage function
Power off memory volume / frequency
Mono / Stereo Control
Support serial command control
1 (L): left channel audio output 2(G): audio ground 3 (R): right channel audio output 4 (V+) : Short press volume + / long press continuous + 5 (V-): Short press volume – / long press continuous – 6(F+) : Short press a station / long press down to search for a station 7(F-) : Short press the previous station / long press to search for the station 8(P): Short press mute/long press full band search and save station 9 (DM): USB DM cable 10 (DP) : USB DP data cable 11 (TX): TTL serial port sender 12 (RX): TTL serial port receiver 13 (+5V): 5V power input (3-5V wide range) 14(G): power ground 15 (ANT): External FM radio antenna end
The corresponding port of the module “-“, “+” respectively connects the power (battery) negative pole and the positive pole. The power supply is recommended for battery or other stabilized power supply.Do not use an unfiltered power supply (such as a mobile phone charger and other low-quality switching power supply), otherwise the interference of the power supply will affect the normal work of the module.The normal working voltage of this module is 3.0-5.0V, and the power supply voltage should not exceed this range.
Volume +/- : short press volume +/- 1, long press continuous +/-.
Frequency +/- : short press frequency +/ -0.1mhz, long according to continuous +/ -1mhz.
Mute: short press to switch mute/non-mute.
The ANT port is used to connect the FM antenna. In order to better transmit the FM signal, it is recommended to extend the antenna with a length of 75cm. And the antenna is near as far as possible without obstruction.
4. USB audio connection
If you want to start the USB audio broadcast function of this module, you need to connect the USB cable to the computer. USB port is compatible with common cell phone, so you can use the USB cable to connect the module and computer. Because computer USB comes with 5V output, USB connection can be used to supply power to the module directly. After connecting to the computer USB, the module will automatically enter the PC audio broadcast mode, the LCD screen will display the PC, the computer terminal will install the driver automatically, and the module will be named “CD002” sound card device. Enable this “CD002” audio device in the computer voice Settings. Computer system audio can be transmitted through this module by FM. When the radio frequency is adjusted to the frequency of this module, the audio of the computer terminal system will be heard.
5. LINE audio connection
If you need this module LINE (line in) channel as a source of sound emission, please insert one end of the audio LINE into 3.5 mm audio jack of the module , insert the other end into your audio device (such as mobile phone headset hole), the module automatically switch to the launch of the audio source LINE channel as FM. The nearby FM radio can be heard from the mobile phone as long as it is tuned to the same frequency as the module.
6. FM wireless microphone
If you need MIC of this module to launch, pull out LINE and USB cable (LINE and USB are not connected). The module is automatically transferred to the MIC channel as the transmitting audio source of FM. This module is equipped with a high sensitivity electret microphone, which can be used in wireless microphone, mother-baby monitoring and so on. Note to adjust the volume of this module to achieve the optimum sound pickup effect when used.
7. Serial port control (please ignore this part without serial port control)
The module reserved TTL level serial port control interface.When TTL serial port communicates with this module, it needs to connect the module’s UART_RX, UART_TX and GND.You can use the external MCU or the computer serial port to send instructions control module related functions.
Note: The computer serial port is not TTL level. When connecting to the computer communication, it is necessary to connect the RS323 level to the TTL power leveling device or to use the USB TTL level serial port module to communicate with the module. Serial command control module requires certain computer expertise, if you don’t understand, please don’t try.
4. User-defined Settings:
1. Setting of backlight LED mode
When the power is off, press the “FRE-” and “FRE+” button at the same time to start up. B1 indicates always bright. B0 indicates that the backlight is closed for 20 seconds, and the reset setting takes effect. (the factory defaults to 20 seconds of backlight delay).
2. Start/close the campus radio frequency band
When the power is off, press VOL+,VOL- key, and power on.LCD display C1, which means to start the campus broadcast.C0 means closing the campus radio frequency band.Set to take effect after restart. (the factory defaults to closing the campus radio frequency band).
3. Settings of stereo/mono transmission mode
The back of the module has two solder joints M,G. Short connecting is the monophonic launch. Disconnecting these two points is the stereo system launch. (the
factory defaults to stereo system launch).
Note: the stereo system must satisfy the input to the module’s audio source is stereo and the radio is also stereo to achieve the stereo effect. When using a single speaker (monophonic) radio or input to the module’s audio signal as mono, there is no stereo.
5. Using attention:
1. The power supply voltage is strictly prohibited to exceed the power supply voltage range of this module.
2. Do not touch the back part of the module when working, so as not to affect the normal work of this module or cause the short-circuit burn module.
6. User Settings (please refer to the above) :
This module can set the backlight state and whether to listen to the campus radio frequency band according to the user’s specific usage.
This FM stereo
digital radio circuit board module has built-in DSP digital noise processing.
When there is no signal, it will automatically mute and get rid of the noise of
the traditional FM radio.
500mW (drive earphone), 3Wx2 (drive horn)
Receiving frequency range
Greater than 30dB
Power supply voltage
Power supply current
1000mA at maximum volume,
60mA at minimum volume (for reference only)
1>. The power
supply voltage is strictly prohibited to exceed the power supply voltage range
of this module.
2>. Do not
touch the back part of the module when working, so as not to affect the normal
work of this module or cause the short-circuit burn module.
digital audio signal processing technology (DSP) and FM phase-locked loop
modulation (PLL) make the sound quality more realistic, more stable
performance, and long working frequency without deviation.
2. LCD display is
more intuitive and accurate, with extremely low power consumption and minimal
3. 30 digital
volume adjustment, with buttons, easy to operate.
storage data before power off.
switch of speaker/headphone output.
6. Quartz crystal
steady frequency, temperature change reception frequency, no longer drift.
7. It uses
professional audio DSP to analyze and process the audio signal, and
automatically mute when there is no signal or weak signal.
8. It uses
incremental digital rotary encoder to adjust the volume and frequency, using
the feel is good, positioning accuracy, stable and durable, 360 ° rotating
without blind Angle.
9 Support serial
communication control, available computer or MCU and other devices with serial
ports to control all functions of the module.
1. Power supply
corresponding port (marked on PCB board).
“-” and “+” are
the anode and cathode of the power (battery). The power supply is recommended
for battery or other stabilized power supply.You cannot use a power supply
without filter (such as mobile phone charger, mobile power supply, and other
switching power supply), otherwise the interference caused by power supply will
affect the normal work of this module. The normal working voltage of this
module is 3.0-5.0V, not exceeding this range. At the maximum volume of the
module, the maximum power supply current is around 1A, which requires the
battery to output enough current.
The FM_ANT port is
used to connect the FM antenna. To better receive the FM signal, it is
recommended to extend the antenna with a length of 75cm.
This module is
with 3WX2 channel audio amplifier. If the horn is needed, access the speaker
port. It is recommended to use 4 Ω / 3 w speakers.If the headset is inserted,
the audio will automatically switch to the headphone channel, and the speaker
channel will be closed automatically.
Turn the VOL
encoder to adjust the volume, while the LCD screen displays the volume series.
Turn the FRE
encoder to adjust the reception frequency, while the LCD screen displays the
current frequency, and press the encoder handle to the mute/non-mute switch.
Press the VOL knob
to switch the mute/non-mute button down.
Long press the FRE
knob to switch on or off the AMCAP, the LCD display subtitle ON means to turn
on the AMCAP, and OFF means to turn off the AMCAP.
8. AMCAP threshold
adjustment( when the AMCAP switch on)
Short press the
FRE knob to AMCAP threshold adjustment interface, you can adjust the movement
threshold of the AMCAP according to the specific usage situation. The
adjustment range is 0-20. The higher the value is, the higher the threshold is,
the easier the weak signal is to be silent. Vice versa.
9. Serial port
(without serial port control)
reserved TTL level serial port control interface. TTL serial port and this
module communication need to connect the module’s UART_RX, UART_TX and GND (the
corresponding position of PCB is marked). You can use the external MCU or the
computer serial port to send the command control module related functions.
Note: because the computer serial port is not TTL level, connect the computer
communication, it is necessary to connect the RS323 level to TTL power leveling
device or the USB TTL level serial port module to communicate with this module.
This operation requires professionals.
10. User Settings
This module can
set the backlight state according to the user’s specific usage. When the power
is off, press the FRE button to turn on, and the B0 indicates that the
backlight is always bright. B0 indicates that the backlight is closed for 20
seconds, and the setting is effective after the restart. Change the Settings
state to repeat this step to switch. The backlight has no operation for 20
11. Stereo /mono
terminals are used to set the FM receiving mode of the module. This terminal is
suspended for Stereo reception mode, and it is a single channel receiving mode.
6. FM with
squelch receiver module AT instruction:
Baud rate: 38400 TTL level
Set current frequency point
current frequency point is 87.5MHz
Current frequency point/ERR
Current frequency point
Current frequency point
Pause paly/Contiune play
Current volume is 15
Set backlight time(S). 00 means light off; 01 means normally on
Backlight is 10s light off
Turn on and off DSP squelch
Turn on squelch
Set squelch threshold
Set squelch threshold is 10
SN_THR value/ERR (Set it when SN _ON）
Factory data reset
Factory data reset: 1:VOL=30 // 2:SN_OFF // Turn off DSP squelch 3:SNTHR =10 // reset squelch threshold is 10 4:FRE=875 // Frequency is 87.5MHZ BANK=20// Backlight delay 20s
Returns the current state of the module
VOL=10 // volume 10. FRE=875 // the frequency is 87.5MHZ. PLAY/PAUS// static state. BANK_OFF (BANK_ON) // backlight time (1 normally open, 0 constant, or delay X s)