ohahaha

[ART-Pi] Smart home central control expansion board +681802A

 
Overview

image.png

The smart furniture central control system expansion board is formed based on the powerful capabilities of ART-Pi. Integrates scattered interfaces on ART-Pi to facilitate subsequent development.

This expandable board has rich functions. Compared with the hardware development and debugging of the original board, this product has the following features:

1. Independent power supply, easily capable of handling a variety of peripherals

image.png

The LM1117 solution is adopted, connected to the common ground with the ART-Pi, and leads to multiple 3.3V voltage interfaces to provide a stable power supply for the extended version, while reducing the power supply burden of the ART-Pi and easily capable of handling multiple loads.


2. Comes with its own sensor and reserves other sensor interfaces

image.pngimage.pngimage.pngimage.png


image.png

This product comes with a temperature and humidity sensor, and an ambient light sensor, and has reserved interfaces for a variety of modules, allowing plug and play.


3. 4-digit indicator light, OLED display, matrix keyboard, convenient for interaction

image.png

It is equipped with a 0.96 OLED interface and matrix keyboard, and can be easily debugged with ART-Pi.


--------------------------------------------------3.28----- -------------------------------------------------- ------------------

The project is basically completed. Relying on the powerful RTT software package support, the project has been realized.

1. One-click networking relying on wifi library

2. One-click connection to MQTT server relying on pahomqtt package

3. Network time synchronization relying on netutils

4. Reading and publishing of DHT11 data

5. Payload analysis and control of electrical appliances based on cjson

6. Control of remote devices

7. OLED screen system status display based on u8g2 library

The project classifies and integrates the resources on the expansion board, implements initialization in mypi.c, and re-encapsulates a small part of the interface of the u8g2 library, which can be introduced into mypi.h and oled.h for use.

image.png led2: Flashing indicates that the system is running normally.

1. One-click networking

Press sw5, OLED displays "wifi link..". After a few seconds, OLED displays "wifi ok", LED3 lights up, and the network is successfully connected.


Networking00_00_02-00_16_00.gif


QQ screenshot 20210328090045.png

2. One-click connection to MQTT

After networking, press sw6 to connect to the server. LED4 lights up and the connection is successful.

Server00_00_00-00_00_30~1.gif

QQ screenshot 20210328090312.png

QQ screenshot 20210328090344.png

3. Network time synchronization and DHT11 temperature and humidity data reading

After connecting to the Internet, press sw7 to immediately read the current temperature and humidity and report it to the cloud. At the same time, the time is synchronized through the network to achieve accurate travel time.

timely.gif

IMG_20210328_095742.jpgQQ screenshot 20210328090617.pngQQ screenshot 20210328090729.png

4. Debugging display

When a message is sent from the cloud, cjson parses it and controls the device, and OLED displays the delivered content, such as LED5.

Payload data analysis 00_00_03-00_00_12.gif

5. On-board resource debugging

Control sw1, sw3, control the absorption and release of KA1 and report it to the cloud.

Relay 00_00_00-00_00_30.gif


ban.png 6. Remote device debugging

Send control messages to 8266 through the mqtt server.

Remote device 00_00_00-00_00_30.gif


image.png

Finally, the basic development is now complete and criticism is welcome.

In the future, we will enrich the drivers for various interfaces and use node-red as the host computer. It is estimated that it will be summer vacation.

--------------------------------------------------3.31------ -------------------------------------------------- --------------------------------------------------

Source code: Link: https://pan.baidu.com/s/1YzG_9qFUwXZ--j4S4gnE7w

Extraction code: crw8

After copying this content, open the Baidu Netdisk mobile app for more convenient operation.

There is also github that is not very good at it: https://github.com/yapi12138/IOT.git

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-08-09 12:36:45

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号