Deprecated: Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect since PHP 8.1 in /var/www/html/plugins/system/falangdriver/falangdriver.php on line 534
家庭花园工具 - bluetooth蓝牙技术
Support us and view this ad

可选:点击以支持我们的网站

免费文章

Deprecated: Using null as the key parameter for array_key_exists() is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 323

Deprecated: Using null as the key parameter for array_key_exists() is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 323

Deprecated: Using null as the key parameter for array_key_exists() is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 323

Deprecated: Using null as the key parameter for array_key_exists() is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 323

Deprecated: Using null as the key parameter for array_key_exists() is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 323

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/components/com_comprofiler/plugin/user/plug_cbjdownloads/cbjdownloads.php on line 49

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/components/com_comprofiler/plugin/user/plug_cbblogs/cbblogs.php on line 48

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/components/com_comprofiler/plugin/user/plug_cbarticles/cbarticles.php on line 47

  • 开发平台: Android, Cypress
  • 许可协议: GNU General Public License, version 3 or later (GPL3+)
项目中使用的工具物品 硬件 CMOS Analogue 开关 Servo - Generic (Sub-Micro Size) 水泵 (12v , MAX 3A) SSR 继电器 CYW20819 BLE Mesh 5.0 Kit (Cypress Bluetooth Mesh 开发板)   软件、App和在线服务 Mesh 控制器 Android App (修改版) Twilio (Messaging API)   手工工具和制造器械 手钻,烙铁   故事 当有人说物联网时,首先想到的多半是“家庭自动化”,甚至对我来说也是如此。我们知道BLE mesh将会更好的用于物联网。在看了柏树板和特征后,我认为它很适合花园照明和灌溉,当你不在车站时,你需要有人照顾所有这些。我的想法被选中了。...

继续阅读完整内容

支持我们的网站,请点击查看下方广告

正在加载广告...
Servo - Generic (Sub-Micro Size)
水泵 (12v , MAX 3A)
SSR 继电器
CYW20819 BLE Mesh 5.0 Kit (Cypress Bluetooth Mesh 开发板)
 

软件、App和在线服务

Mesh 控制器 Android App (修改版)
Twilio (Messaging API)
 

手工工具和制造器械

手钻,烙铁
 

故事

当有人说物联网时,首先想到的多半是“家庭自动化”,甚至对我来说也是如此。我们知道BLE mesh将会更好的用于物联网。在看了柏树板和特征后,我认为它很适合花园照明和灌溉,当你不在车站时,你需要有人照顾所有这些。我的想法被选中了。
 
一个月前我收到了BLE工具包,并制作了一个开箱演示视频,在这里
 
慢慢进入开发阶段,开始进行基本的网格演示,并根据我的应用程序修改一些东西。我有一些我自己的pcb控制灯和直流电机,所以我接口BLE网包。唯一的调试选项是不友好的董事会。但是Modus工具箱的性能还是很棒的。
 
最后,我所有的应用程序都能正常工作,
 
总共4块板,我用以下应用:
 
1. 光控制与PIR和光感
 
2. 灌溉植物
 
3.门安全与控制
 
4. 遥控车钥匙。
 
(1)和(2)向前,我使用环境传感器和PIR感应值提供智能控制灯光,光线可以从网控制器应用程序打开/关闭。PIR模式将活动只有在灯。这意味着如果光线被PIR模式,超时后它将自动离开。
 
(2)我使用了12v直流泵,可以很好的展示小盆栽植物的灌溉。在模拟开关的帮助下,我能够控制这个泵。
 
(3)为了展示门禁演示,我不得不使用伺服电机开启和关闭的设置。我创建了PWM信号和控制通过网状网络。
 
(4)只是一个遥控器,用来控制上述任何一种应用,其概念是,未来所有的车钥匙都将有BLE’s,所以一旦你到达你家附近。汽车钥匙将连接到家庭网状网络,你可以控制入口大门,车库门或邮箱等。

Android App:

在android app端,由于时间的限制和代码的复杂性,我不能做太多的改变,我改变了颜色和一些图标。
 
重要的是我添加了互联网设施到mesh应用程序,通过它我们可以发送whats-app通知到我们的手机与twilio界面的帮助。
 
所以我终于实现了一个月前的想法。Cypress技术支持社区的成员非常支持和帮助。

原理图和电路图

原理图1

扩展板

 

原理图2

概述及针脚细节

 

代码

主 APP3

PWM

mainApp3.txt

主 APP1 & 2

为光和水泵! 在Mesh演示中只有变化和休息时是相同的

mainApp12.txt


FaLang translation system by Faboba

登陆


Deprecated: Using null as the key parameter for array_key_exists() is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 323

Deprecated: Using null as the key parameter for array_key_exists() is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 323

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/libraries/src/Menu/AbstractMenu.php on line 164

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/LegacyFoundationFunctions.php on line 217

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/LegacyFoundationFunctions.php on line 219

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/LegacyFoundationFunctions.php on line 227

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/LegacyFoundationFunctions.php on line 231

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/LegacyFoundationFunctions.php on line 234

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/LegacyFoundationFunctions.php on line 237

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/libraries/CBLib/CB/Legacy/LegacyFoundationFunctions.php on line 239

Deprecated: Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect since PHP 8.1 in /var/www/html/plugins/system/falangdriver/falangdriver.php on line 100

Deprecated: Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect since PHP 8.1 in /var/www/html/plugins/system/falangdriver/falangdriver.php on line 100
mysqli object is already closed (500 Whoops, looks like something went wrong.)

Error

HTTP 500 Whoops, looks like something went wrong.

mysqli object is already closed

Exception

Error

  1. */
  2. public function disconnect()
  3. {
  4. // Close the connection.
  5. if (\is_callable([$this->connection, 'close'])) {
  6. $this->connection->close();
  7. }
  8. parent::disconnect();
  9. }
  1. */
  2. public function disconnect()
  3. {
  4. // Close the connection.
  5. if (\is_callable([$this->connection, 'close'])) {
  6. $this->connection->close();
  7. }
  8. parent::disconnect();
  9. }
  1. *
  2. * @since 2.0.0
  3. */
  4. public function __destruct()
  5. {
  6. $this->disconnect();
  7. }
  8. /**
  9. * Alter database's character set.
  10. *
DatabaseDriver->__destruct()

Stack Trace

Error
Error:
mysqli object is already closed

  at /var/www/html/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:318
  at mysqli->close()
     (/var/www/html/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:318)
  at Joomla\Database\Mysqli\MysqliDriver->disconnect()
     (/var/www/html/libraries/vendor/joomla/database/src/DatabaseDriver.php:496)
  at Joomla\Database\DatabaseDriver->__destruct()                

Deprecated: Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect since PHP 8.1 in /var/www/html/plugins/system/falangdriver/falangdriver.php on line 100

Deprecated: Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect since PHP 8.1 in /var/www/html/plugins/system/falangdriver/falangdriver.php on line 100