当前位置:网站首页>制作带照明的DIY焊接排烟器
制作带照明的DIY焊接排烟器
2022-07-06 18:09:00 【acktomas】
制作带照明的DIY焊接排烟器
此处可以更改为客厅吊扇与散射灯
使用Arduino,PC风扇和LED灯条,您可以制作一个简单的排烟器,以保护您免受烟雾的焊接。

步骤1:为什么我们需要焊粉抽排器

焊接很棒,对吧?为我们的项目制作自己的PCB很有趣,但是在焊接零件时,我们需要注意一些事情。当我们焊接时,我们就在铅周围。此外,吸入烟雾会导致长期的健康问题,例如胃病,记忆和注意力问题,肌肉和关节疼痛等。此外,将零件焊接到电路板上对您的眼睛来说很难,在弱光下进行焊接最终会永久损害您的视力。
因此,在焊接时,有足够的光线和排烟器以除去烟雾非常重要。通过使用排烟器,您和周围的人将免受可能危险的烟雾的影响。在本视频中,我们将用旧的PC风扇和可用于更换灯的12V LED灯条制作焊接排烟器。
步骤2:电路

因此,Arduino Nano基本上是这个项目的大脑,但你可以使用任何Arduino板。输入电压连接到一个 7805 稳压器,该稳压器将 VIN 转换为稳定的 5V DC 电源。这里有两个电位计连接到5V,将用作分压器。电位器的输出分别连接到模拟引脚 A0 和 A1。
以下是设置为用作开关的两个 MOSFET。您可以通过打开Arduino的引脚9和引脚10来打开它们。在这里,我想指出,引脚9和10是PWM引脚,这意味着我们可以向MOSFET发送PWM信号。
在这里,您可以看到一个LM 741比较器IC,可用于为您想要的任何其他设备供电。这几乎是整个电路。
步骤3:PCB布局
一旦电路完成并经过测试,我就使用Altium设计了一个小PCB,在那里我可以整齐地放置所有部件。在这里,您可以看到布线是在电路板的两侧完成的,这意味着它是双层PCB。
步骤4:完成PCB

当您拥有所有零件和PCB时,可以将它们焊接在一起。将所有零件焊接在电路板上,并确保检查零件的极性。这就是焊接完成后PCB的外观。
步骤 5:编码

让我们立即开始编码。这是在我们完成该过程时将上传到我们的Arduino的代码。这似乎相当简单,不是吗?简单地说,这很容易!
const int ledPin = 13;
const int light = 9;
const int fan = 10;
int pot1 = 0;
int pot2 = 0;
void setup()
{
pinMode(ledPin, OUTPUT);
pinMode(A0, INPUT);
pinMode(A1, INPUT);
Serial.begin(9600);
}
void loop()
{
pot1 = map(analogRead(A0),0,500,0,255);
pot2 = map(analogRead(A1),0,500,0,255);
analogWrite(light, pot1);
analogWrite(fan, pot2);
delay(50);
Serial.println(pot1);
Serial.println(pot2);
Serial.println("");
}
首先,我们将声明一些变量,然后将它们分配给在整个项目过程中经常使用的引脚。在设置函数中,我们将声明引脚模式,它本质上是告诉Arduino引脚是输入引脚还是输出引脚。
我们从两个电位器中获取模拟读数,在循环函数中,我们将这些读数映射到落在0到255范围内的值。在下一行中,我们将打开和关闭连接到Arduino引脚9和10的MOSFET。为此,我们将输出PWM信号,其值是从它们之前的行生成的。
只需转动电位计,我们不仅可以控制LED灯条产生的亮度水平,还可以控制风扇旋转的速率。可以使用管道或出口,该风扇可以连接到该管道或出口,以确保蒸汽不会留在房间内。
边栏推荐
- tansig和logsig的差异,为什么BP喜欢用tansig
- AcWing 904. 虫洞 题解(spfa求负环)
- [JS] obtain the N days before and after the current time or the n months before and after the current time (hour, minute, second, year, month, day)
- Docker method to install MySQL
- golang 基础 —— 数据类型
- 设置Wordpress伪静态连接(无宝塔)
- C language instance_ five
- Installation of gazebo & connection with ROS
- hdu 4661 Message Passing(木DP&组合数学)
- POJ 3177 Redundant Paths POJ 3352 Road Construction(双连接)
猜你喜欢

从底层结构开始学习FPGA----FIFO IP的定制与测试

HMM notes

Appium automation test foundation uiautomatorviewer positioning tool

shell脚本快速统计项目代码行数

Go zero micro service practical series (IX. ultimate optimization of seckill performance)

LeetCode:1175. Prime permutation

云呐|工单管理软件,工单管理软件APP

Your cache folder contains root-owned files, due to a bug in npm ERR! previous versions of npm which

Start from the bottom structure to learn the customization and testing of fpga---- FIFO IP

405 method not allowed appears when the third party jumps to the website
随机推荐
云呐|工单管理软件,工单管理软件APP
如何管理分布式团队?
C language instance_ two
Start from the bottom structure to learn the customization and testing of fpga---- FIFO IP
AcWing 346. 走廊泼水节 题解(推公式、最小生成树)
ZOJ Problem Set – 2563 Long Dominoes 【如压力dp】
HMM notes
Meet in the middle
对C语言数组的再认识
【信号与系统】
AI 从代码中自动生成注释文档
js如何快速创建一个长度为 n 的数组
Vocabulary in Data Book
[JS] obtain the N days before and after the current time or the n months before and after the current time (hour, minute, second, year, month, day)
405 method not allowed appears when the third party jumps to the website
AcWing 361. 观光奶牛 题解(spfa求正环)
编译命令行终端 swift
The difference between Tansig and logsig. Why does BP like to use Tansig
Installation and testing of pyflink
C语言实例_4
