Smart Water Meters Based on HiSpark Ws63e
by 2816156241 in Circuits > Microcontrollers
63 Views, 2 Favorites, 0 Comments
Smart Water Meters Based on HiSpark Ws63e
1.The Meikeer Studio of Zhengzhou University of Light Industry was established in 2014 by Mr. Li Yihao, one of the "National Top 10,000 Outstanding Innovation and Entrepreneurship Mentors." The studio's current research areas cover a wide range of fields, including medical devices, soft robotics, five-axis CNC machine tool development, 3D printing, artificial intelligence, robotics, big data, the Internet of Things, and new energy technologies.
郑州轻工业大学梅科尔工作室于2014年由我校“全国万名优秀创新创业导师”李一浩老师创立。目前研究方向覆盖医疗器械、软体机器人、五轴数控机床装备研发、3D打印、人工智能、机器人、大数据、物联网、新能源等多个领域。
2.The smart water meter is a fully intelligent water meter integrated with HiSilicon's Star Flash technology. As the urbanization process in China accelerates, the importance of water resource management is becoming increasingly prominent, contributing to the construction of a water-saving society by enabling precise water resource management and efficient utilization. The smart water meter can automatically and accurately detect water flow and conduct automatic meter reading, greatly facilitating water resource management and utilization. Additionally, the project's outcomes can be widely applied in residential life, industrial and commercial settings, as well as agricultural irrigation, offering broad market potential and significant social benefits.
智能水表是一款集成了海思星闪技术的全智能水表。随着我国城市化进程的不断加快,水资源管理的重要性日益凸显,实现水资源精细化管理和高效利用,为构建节水型社会贡献力量。智能水表可以自动精准检测水流量,自动抄表,极大地方便了水资源的管理利用。同时,项目成果可广泛应用于居民生活、工商业、农业灌溉等领域,具有广泛的市场前景和良好的社会效益。
Supplies
And
1.12v to 3.3v,5v,12v
12v转3.3v,5v,12v
2.Soldering iron
电烙铁
3.Hot melt glue guns
热熔胶枪
4.scissors
剪刀
5.M3 screws
M3螺丝钉
6.screwdriver
螺丝刀
7.3D printers
3D打印机
8.Pin header
排针
9.Row mother
排母
Build the First Version of the Smart Water Meter Model Using Fusion.
1.The smart water meter first needs a housing to accommodate the microcontroller. Fusion 360 is user-friendly for beginners, making it our choice for building the first version of the smart water meter model. The model should integrate the YSF201C flow sensor and be compatible with the TDS water quality sensor for water quality monitoring. Additionally, it will use an SG90 servo to close the water valve when the water usage limit is reached, effectively stopping the water flow.
智能水表首先要有外壳来搭载微控制器,Fusion 360对于新手用户来说十分容易上手,因此我们选择使用Fusion 360来搭建智能水表一版模型。模型首先要结合ysf201c水流传感器,同时能够搭配tds水质传感器进行水质检测,并且可以通过sg90舵机在水费用完时关闭用水的水闸,完成停止用水的效果。
Use HiSilicon's Official Code IDE Editor, HiSpark, for Code Development to Implement the Following Functions for the Smart Water Meter.
1. Collect water flow data using the YSF201C flow sensor and process the data using certain algorithms to provide smart water usage analysis and recommendations.
2. Collect water quality data using the TDS water quality sensor and display the information on the OLED screen, ensuring users feel confident about the water quality.
3. When the user's water usage exceeds the limit, the SG90 servo will automatically close the water valve, and the OLED screen will notify the user that the water bill is overdue, prompting timely payment.
4. Control the opening and closing of a 12V electronic lock remotely via a button.
第二步:通过海思官方的代码ide编辑器HiSpark进行代码开发,实现智能水表的以下功能:
1.通过YSF201C水流传感器采集水流数据,并通过某些算法对数据进行处理,实现智能化用水情况分析推荐的功能。
2.通过tds水质传感器采集水流的水质状况,并同步反馈到OLED显示屏上,让用户用水用的放心。
3.当用户的水费用完之后,sg90舵机及时关闭水阀,并在OLED显示屏上提示用户水费已欠费,及时缴费。
4.通过远程按键控制12v电子锁的开关。
Use Integrated Circuit Board Design Software to Design the Internal Circuit Board for the Smart Water Meter.
The design should take into account the internal space structure of the smart water meter model, including the control pins for the SG90 servo, power pins, and the power control pins for both the YSF201C flow sensor and the TDS water quality sensor. Secure the circuit board inside the smart water meter with M3 screws, and provide power through a power conversion circuit board. Pay attention to the internal wiring layout and test the functionality to ensure everything works properly.
第三步:通过集成电路板设计软件,对智能水表内部的电路板进行设计,设计要考虑到智能水表模型内部空间结构,引出sg90舵机控制、电源引脚、ysf201c水流传感器电源控制引脚、tds水质传感器电源控制引脚,并通过M3螺丝固定在智能水表内部,通过电源转换电路板进行供电。内部需要注意走线的情况,测试功能是否正常。
Complete the Model Design in Fusion 360 and Print It Using a 3D Printer.
Assemble the YSF201C flow sensor, TDS water quality sensor, SG90 servo, and 12V electronic lock into the 3D-printed model. Arrange the power wiring and set up the OLED display separately. Finally, test whether all related functions are working correctly.
第四步:完成Fusion 360模型搭建,并通过3D打印机打印出来。将ysf201c水流传感器、tds水质传感器、sg90舵机、12v电子锁装配到3D打印模型中,完成电源线排布,把OLED显示器独立出来,并测试相关功能是否正常。