快捷方式:发布信息| 收藏公司

【RuilongMaker出品】喇叭扬声器模块

产品/服务:
有效期至: 长期有效
最后更新: 2017-11-16 07:21
单价:
面议
立即询价

(发货期限:自买家付款之日起 天内发货)

  • VIP指数:    0 [第1年]
  • 认证信息:          
  •   通过认证
  • 所在地区:
收藏本公司 人气:131
  • 详细说明
  • 规格参数
  • 联系方式

“【RuilongMaker出品】喇叭扬声器模块”参数说明

认证: ruilongmaker 类型: 教育电子
适用年龄: 10岁以上 材质: 塑料
型号: Speaker block 规格: 2.54-3PIN
商标: ruilongmaker 包装: 特供包装盒(可订做)
引脚定义: G-地 V-电源 S-信号 电源要求: +3.0-5.5V
模块重量: 5.5g 接口模式: XH2.54×3
信号类型: 数字信号(脉冲控制) 产量: 10000

“【RuilongMaker出品】喇叭扬声器模块”详细介绍

   喇叭扬声器模块,基于高保真8002功放芯片制作,在输出音乐的同时,能够确保输出音频不失真,同时配置3W的高音喇叭,具备高品质的输出,支持宽电压输入,模块可以工作在2~5.5V电压环境下,兼容3.3V和5V Arduino主控器。配合Arduino Tone()函数还可以让你的Arduino一瞬间变成播放音乐播放器。

  • 电源要求:+3.0-5.5V
  • 信号类型:数字信号(脉冲控制)
  • 接口模式:XH2.54×3
  • 引脚定义:G-地  V-电源  S-信号  
  • 模块重量:5.5g

  • 1pcs x 喇叭扬声器模块
  • 1pcs x XH2.54 3Pin 20cm 传感器线

(1)连线方法:按照传感器模块接口标号与主控制器相连接,标号“G”接主控制器的“地”、“V”接“电源”、“S”接“Arduino UNO R3”D8;
(2)Arduino IDE中打开示例—>Digital—>toneMelody上传后,既可以听到往复播放旋律音乐的效果。
#include "pitches.h"
// notes in the melody:
int melody[] = {
  NOTE_C4, NOTE_G3, NOTE_G3, NOTE_A3, NOTE_G3, 0, NOTE_B3, NOTE_C4
};
// note durations: 4 = quarter note, 8 = eighth note, etc.:
int noteDurations[] = {
  4, 8, 8, 4, 4, 4, 4, 4
};
void setup() {
  // iterate over the notes of the melody:
  for (int thisNote = 0; thisNote < 8; thisNote++) {
    // to calculate the note duration, take one second
    // divided by the note type.
    //e.g. quarter note = 1000 / 4, eighth note = 1000/8, etc.
    int noteDuration = 1000 / noteDurations[thisNote];
    tone(8, melody[thisNote], noteDuration);
    // to distinguish the notes, set a minimum time between them.
    // the note's duration + 30% seems to work well:
    int pauseBetweenNotes = noteDuration * 1.30;
    delay(pauseBetweenNotes);
    // stop the tone playing:
    noTone(8);
  }


您可以通过以下类目找到类似信息:

 

免责声明:以上所展示的信息由会员自行提供,内容的真实性、准确性和合法性由发布会员负责。兰州和谐食品网对此不承担任何责任。

友情提醒:为规避购买风险,建议您在购买相关产品前务必确认供应商资质及产品质量!