摘要:
int buzzer = 8; // Assign buzzer to pin 8 int note = 1000; // Set the pitch for the buzzer tone #define LED_PIN 12 int timeUnit = 100; // This variabl 阅读全文
posted @ 2023-07-06 19:21
aiplus
阅读(35)
评论(0)
推荐(0)
摘要:
摩尔斯电码通过不同的排列顺序来表达不同的英文字母、数字和标点符号等。在今天,国际摩尔斯电码依然被使用着。比如,摩尔斯电码最广为人知的用法发送求救信号SOS,SOS信号的组合方式为:。再比如,假设我们通过摩尔斯电码发送“Arduino”,组合方式为:“.- .-. -.. ..- .. -. —”。 阅读全文
posted @ 2023-07-06 17:14
aiplus
阅读(451)
评论(0)
推荐(0)
摘要:
麦克风声音传感器 麦克风声音传感器,顾名思义,检测声音。它可以测量声音的响度。 这些传感器的种类繁多。 在下图中,您可以看到 Arduino 最常用的。 最左边是KY-038,右边是LM393麦克风声音传感器。 两个传感器模块都有一个内置电位器,用于调节数字输出引脚的灵敏度。 去哪买? 您可以访问M 阅读全文
posted @ 2023-07-06 16:21
aiplus
阅读(1098)
评论(0)
推荐(0)
摘要:
In this Arduino tutorial I will show you how to turn an LED on and off with a push button. In fact, we’ll do 2 slightly different applications. First, 阅读全文
posted @ 2023-07-06 15:50
aiplus
阅读(86)
评论(0)
推荐(0)
摘要:
虽然Devices Plus已经介绍过Arduino的多种应用和作品示例,但是了解相关基础知识对于任何项目的构建仍然是非常重要的!这次,我们将为您介绍Arduino电子制作的基础知识。此次的分享嘉宾是著名的福田和宏老师,他因编写了《有这本书足够!用Arduino开始电子制作 超简单入门教程》等书籍而 阅读全文
posted @ 2023-07-06 15:18
aiplus
阅读(314)
评论(0)
推荐(0)
摘要:
摩尔斯电码工作原理 摩尔斯电码发明于19世纪,使用非常简单的长短脉冲序列(通常为电和划)来远距离发送消息。通过将字母表中的字母编码为电和划的组合,信息可以只用一个单一的电子或声音信号来表达。 为了说明这是如何工作的,我们将使用一个简单的蜂鸣器将文本转换为可听的摩尔斯电码信号。通过使用Arduino 阅读全文
posted @ 2023-07-06 15:00
aiplus
阅读(386)
评论(0)
推荐(0)
摘要:
import turtleimport random __Pen = turtle.Pen() # 随机螺旋线t = turtle.Pen()turtle.bgcolor('black')colors = ['red','yellow','blue','green','orange','purple 阅读全文
posted @ 2023-07-06 10:27
aiplus
阅读(49)
评论(0)
推荐(0)

浙公网安备 33010602011771号