1970 views|2 replies

86

Posts

0

Resources
The OP
 

Using Gizwits Cloud and ShineBlink to build a smart voice-controlled pet house [Copy link]

This post was last edited by Maoqiu Dada on 2021-11-30 15:36

After raising a pet, I realized that raising a pet is as time-consuming and laborious as raising a baby. However, now everyone is busy with their livelihood and goes out early and comes back late. In order to take better care of the pet, we use the Gizwits IoT development platform , ShineBlink development board, sensors, voice control module, and Wi-Fi module to make a voice-controlled smart pet house, which can detect the environment of the pet house and can also remotely control the feeding of the pet through voice or App Wifi.


(1) Gizwits IoT development platform and Shineblink development board

The Gizwits Cloud platform enables smart devices to quickly connect to the Internet by providing open cloud services, online self-service development tools, and comprehensive SDK and API services. It enables personalized APP and business system development through online configuration, speeds up the development and production of smart products, and helps individuals and enterprises realize intelligent equipment upgrades.


Shineblink development board is an easy-to-use development board that uses Lua language. It has a built-in compiler on the chip and can be developed with any text editor on Win, Mac, or Linux computers without installing any development environment. The development environment is simple and easy to start writing programs. It has a wealth of reference cases and a complete API, and users can directly call the IoT development board.


Compared with other development boards on the market, Shineblink's functional code is simple to implement, without a lot of initialization. Only two or three lines of code are needed to realize a variety of sensor functions, making development easy and efficient. Only three or five lines of code are needed to realize Wife, NB-IOT, Lora, Mesh networking, RFID and other IoT devices, which greatly reduces the difficulty of docking with the cloud platform and reduces our development cycle to a greater extent.


At the same time, Gizwits and Shineblink have carried out in-depth cooperation to enable IoT beginners to get started with smart product development. In other words, Gizwits not only connects to most development boards on the market, but also deeply supports Shineblink. Through online configuration and minimal code development, developers can quickly realize an IoT smart hardware that includes hardware, cloud and App even if they do not understand embedded IoT development, cloud and App development.



(2) Use Gizwits Cybertron tools to develop a personalized app


This pet house uses a WiFi module to achieve remote APP control. The remote connection uses the Gizwits IoT platform . Gizwits provides APP SDK and WeChat SDK. We only need to care about the UI and UE design of the interface without understanding its underlying issues, and we can develop a personalized App.


There are several ways to develop an App. The first one is the simplest. You only need to search for "Gizwits" in the App Store or Appstore to download the corresponding App. After connecting to the same Wi-Fi network and configuring it, you can control the pet house. The second way is suitable for making personalized customized Apps. On the Gizwits IoT development platform, you can generate App services online through the Cybertron App. You only need to perform simple configuration, replace the logo color, drag and drop, etc., to set up a "what you see is what you get" App online, making the App beautiful, atmospheric and personalized. The third way is the most difficult. Use the open source SDK provided by Gizwits. Search for gizwits in gitee or GitHub, find the App open source SDK in the directory, and download it.


Before developing the App, we need to understand the Gizwits Cloud access process and use the existing Gizwits Cloud App to quickly enable the mobile App to remotely access our development board. You can refer to: https://club.gizwits.com/thread-166254-1-1.html and define the data points.


What is the relationship between data points and apps, and how to use the Cybertron tool? Here is an example: Use the "In1" status bit data point as the data channel to send whether the pet is at home to Gizwits Cloud Use the "Rs1" and "Rs2" data points as the short integer values of the temperature and humidity sensors to upload to Gizwits Cloud. Use the three integer data points "Ws1", "Ws2", and "Ws3" (range 0~100) as the data channel for the brightness percentage of the yellow, red, and green lights in Gizwits Cloud Use the enumeration data point "Em1" as the channel for the generator (fan) control (stop/forward/reverse) command in the cloud

Then, by using the Cybertron tool to set up online, you can get the green interface App shown in the figure below.



(2) Through online configuration, the smart pet house can be equipped with voice control function

Voice control is a popular function in the market, so this smart pet house is equipped with a voice control module connected to Gizwits Cloud to complete short-range voice control. On the Gizwits IoT development platform , voice control can be achieved by configuring the voice application and setting the corresponding voice commands.


Currently, Gizwits supports the configuration of 7 voice platforms, namely: Amazon Alexa (Amazon Echo), Google Assistant (Google Speaker), Tmall Ali Genie (Tmall Genie), Baidu Duer OS (Baidu-Xiaodu Speaker), Xiao Mi IoT (Mijia-Xiao Ai Speaker), JD Whale (Xiao Jingyu-Ding Dong Speaker), IFTTT

For voice control and the demonstration process of this project, please refer to: https://www.bilibili.com/video/BV1mL411G74p/

Due to limited space, I have only briefly introduced the key processes of the voice-controlled smart pet house. If you need more detailed operating instructions, you can refer to the smart pet house based on Gizwits Cloud and Shineblink, with smart feeding, automatic cleaning and APP remote control http://www2.gizwits.com/article/799/ , or refer to the shineblink Cybertron pet house for a more comprehensive understanding of how to achieve it.

图形.bmp (1.07 MB, downloads: )

图形.bmp
This post is from RF/Wirelessly

Latest reply

Thanks for sharing!   Details Published on 2021-12-2 17:28
 

6555

Posts

0

Resources
2
 

Everything is done in the cloud. Players do not need to install any development environment. Any text editor on Win, Mac, or Linux computers can be used for development.

This post is from RF/Wirelessly
 
 

7422

Posts

2

Resources
3
 

Thanks for sharing!

This post is from RF/Wirelessly
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

快速回复 返回顶部 Return list