arduino摄像头监控_如何使用Arduino和Pusher制作实时光监控器

arduino摄像头监控by Neo Ighodaro 由新Ighodaro 如何使用Arduino和Pusher制作实时光监控器 (How to make a realtime light monitor using Arduino and Pusher)The Internet of Things (IoT) is changing the way we live, from weara...
摘要由CSDN通过智能技术生成

arduino摄像头监控

by Neo Ighodaro

由新Ighodaro

如何使用Arduino和Pusher制作实时光监控器 (How to make a realtime light monitor using Arduino and Pusher)

The Internet of Things (IoT) is changing the way we live, from wearable tech to smart home devices. IoT may sound complex, but in actuality it’s a fairly simple concept to understand. Everyday objects are constantly being transformed into smart devices using sensors and actuators.

物联网(IoT)正在改变我们的生活方式,从可穿戴技术到智能家居设备。 物联网听起来很复杂,但是实际上这是一个相当简单的概念。 每天使用传感器和执行器将物体不断转变为智能设备。

In this article, we will build a realtime Arduino ambient light monitor which sends its sensor readings to a web application. We will cover the basics of connecting an Arduino board to the web and sending data as realtime notifications to a web app using Pusher.

在本文中,我们将构建一个实时Arduino环境光监控器,它将其传感器读数发送到Web应用程序。 我们将介绍将Arduino开发板连接到网络以及使用Pusher将数据作为实时通知发送到Web应用程序的基础知识。

This article will act as an introduction to what can be achieved with Arduino and Pusher. It is for those curious about the hardware industry who want to delve into the fun IoT world.

本文将介绍Arduino和Pusher可以实现的功能。 对于那些对硬件行业充满好奇的人,他们想深入研究有趣的物联网世界。

构建Arduino和Pusher集成的要求 (Requirements for building our Arduino and Pusher integration)

In this process, I used: — An Arduino board. MKR1000 board. — The Arduino IDE. — Photocell (available here). — 10k Ohm resistor (available here). — Breadboard and Jumper Wires. — A Pusher application — Create one here. — Composer (available for download at https://getcomposer.org). — Knowledge of PHP.

在此过程中,我使用了:— Arduino开发板。 MKR1000板。 -Arduino IDE 。 —光电管( 在此处可用)。 — 10k欧姆电阻( 在此处可用)。 —面包板和跳线。 -Pusher应用程序- 在此处创建一个 。 —作曲家(可从https://getcomposer.org下载)。 -PHP知识。

A breadboard is a board for temporarily prototyping hardware projects. It has nodes that conduct current throughout it.

面包板是用于临时制作硬件项目原型的板。 它具有在其整个区域中传导电流的节点。

The jumper wires are used for ensuring continuity between various points on the breadboard that aren’t connected by default.

跳线用于确保面包板上默认未连接的各个点之间的连续性。

Arduino入门 (Getting Started with Arduino)

In this section, will set up the Arduino IDE and add internet connectivity to our board. We will find out about choosing the right board and adding internet connectivity to it.

在本节中,将设置Arduino IDE并向我们的主板添加Internet连接。 我们将找到有关选择合适的板并为其添加Internet连接的信息。

Many of the boards don’t come with internet connectivity, which is something you need to make IoT devices. To add internet connectivity to our board, we have a variety of options to choose from: a shield, micro-chip, or an Arduino board with built-in wireless capabilities.

许多开发板没有互联网连接,这是制造物联网设备所需要的。 为了增加我们板子的互联网连接性,我们有多种选择:屏蔽板,微芯片或具有内置无线功能的Arduino板子。

Note: a shield is basically an extension board that can be placed (mounted) on top of the Arduino board.

注意:屏蔽层基本上是一个扩展板,可以将其放置(安装)在Arduino板的顶部。

There are many types of shields:

防护罩有多种类型:

1. Ethernet Shield.
2. WiFi Shield.
3. 3G or LTE Shields.

We are going to use the Arduino MKR1000 which comes with an in-built WiFi Chip. This board is available at the Arduino Store.

我们将使用带有内置WiFi芯片的Arduino MKR1000 。 该板可在Arduino商店购买。

Next, download the Arduino IDE from here and install it on your computer.

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值