5231 views|22 replies

821

Posts

0

Resources
The OP
 

[GD32E231 DIY Contest] Work submission: Ornamental fish tank controller [Copy link]

 

1. Project Name: Ornamental Fish Tank Controller

2. Project Introduction:

The fish tank controller was studied, developed and verified based on the Arm Cortex-M23 core GD32E231C-START evaluation board provided by GigaDevice for this competition. Finally, the GD32E231C8T6 microcontroller chip provided by GigaDevice was used , and the 315MHz remote control receiving and transmitting device and other related peripheral devices were used to realize the fish tank circulation pump state control; LED lighting three-stage brightness control; granular bait feeding control and water temperature acquisition digital tube display and other functions of the fish tank controller.

3. System Block Diagram:




Four. Hardware circuit design and production
1. System schematic and PCB production. Because there were new ideas at the beginning of the design, we planned to add LCD12864 display, add timing, use infrared remote control, etc., so we used thermal transfer to make it quickly, and redesigned it after the ideas matured and verified. The PCB is divided into two parts, one is the main board, and the large area of copper is used for PT4115 heat dissipation; the other small piece is used for digital tube display (other irrelevant items on the PCB are private goods). Because a single-sided board is used, the layout is a bit messy and there are errors.






2. PCB device welding and assembly. The materials in hand are quite mixed, with all kinds of appearances, and there are also a few disassembled parts, which look quite fancy. The submersible temperature display is simply encapsulated with wax, which is not very effective. Consider re-encapsulating it with resin or other adhesive materials, mainly for waterproofing.











3. Power supply. A 24V finished power supply is used to power the LED lighting and the whole machine. In addition to the 24V power supply, the system also uses 5V power supply PT2272 and 28BYJ-48 5-step motor. This part uses a small DCDC conversion module EC-A002, and the rest of the 3.3V power supply uses a 1117-3.3 LDO chip.





4. Granular bait delivery. This little thing has been tossed around for a long time. At first, there were three plans that I had been considering. This is one of them. One of the other two plans is relatively complicated, and I gave up because I didn’t have the right tools and materials. The other plan did not succeed because the processing accuracy was too low. The current plan is a variation of the previous third plan, and the whole process was completed after many modifications. The U-shaped metal strip is used to connect with the stepper motor shaft; the medical syringe is the protagonist. Here are a few photos, but I didn’t take into account the process in between:



[attach]
414432[/attach]






5. Remote control, LED lighting, circulating water pump, and buzzer. The remote control and circulating water pump (the water pump has been used for almost three years. It broke down last week and I haven't had time to buy a new one yet) are finished products. The LED lighting uses 5 1W LEDs, which are fixed on a 1100*52*22 U-shaped aluminum alloy profile. One is to dissipate heat; the other is to focus the light on the fish tank; the buzzer is used for interaction.



6. Overall assembly. I couldn't find a suitable shell, so I temporarily used half of the power shell;



5. Program implementation. It adopts a modular structure, but it is written in a messy way. There are complete engineering files at the end of the article, so I won't explain them one by one here.

6. Demonstration of results. Below are a few pictures prepared for the demonstration. There is a demonstration video at the end of the article, which is not long, less than one minute; there is also a video of testing the bait at that time, which is also very short. Interested friends can download it and have a look.

Demo video link:

https://training.eeworld.com.cn/video/20585
https://training.eeworld.com.cn/video/20586







VII. Existing Problems and Improvement Plans

1. Problems
Although the basic functions of the entire project have been realized, there are still many problems, such as the overall layout of the PCB; the key program needs to be improved; the remote control technology is relatively old, etc. In addition, only a very small part of the GD32E231C8T6 resources are used, and most of the high-quality resources have not been used.
2. Improvement plan
a. Change the remote control part to infrared remote control and use the finished small remote control for control;
b. Add a 12684 LCD display, use the RTC function to display the real-time clock on it, and set the time to turn on the fish tank lighting, put in bait at a fixed time, and turn on and off the circulating water pump at a fixed time every day;
c. LED lighting can add other colors of light, and can control the brightness and different light color combinations separately;
d. Add electric heating equipment and enable constant temperature control.
8. Project Summary
After a busy period, the process was full of anxiety and expectation. Today, I can make a summary. Although the project is completed, there are still some problems that need further rectification and improvement. The project itself is relatively small, the technical content is not high, and the program code is relatively lengthy. Although modular programming is also used, it is just a simple code superposition. There are many errors. Please correct me!
By participating in this GigaDevice GD32E231 DIY Competition, I learned a lot of new knowledge, especially a deeper understanding of GigaDevice's Arm Cortex-M23 core GD32E231 series microcontrollers, which laid a solid foundation for future practical applications.
I would like to take this opportunity to once again express my gratitude to GigaDevice and the World Electronic Engineering Forum, the organizers of this event ! I wish GigaDevice will create more brilliance on the road of domestic chip development! I wish the World Electronic Engineering Forum will flourish!






Attachments:
1. Complete project files (including PDF circuit schematic): [attach] 414450 [/attach]
2. Overall project documents (word format): [attach] 414451 [/attach]
3. Final results demonstration video file: [attach] 414452 [/attach]
4. Preliminary test demonstration video of bait delivery equipment: [attach] 414453 [/attach]

微信图片_20190513230412.jpg (107.01 KB, downloads: 0)

微信图片_20190513230412.jpg

观赏鱼缸控制器.rar

561.38 KB, downloads: 22

观赏鱼缸控制器(文档).rar

6.39 MB, downloads: 1000

成果演示.rar

7.57 MB, downloads: 678

饵料投放测试.rar

6.73 MB, downloads: 671

This post is from GD32 MCU

Latest reply

nmg
Wow Kakaka I'll help you edit it into the original work.   Details Published on 2019-6-21 18:00
 

172

Posts

0

Resources
2
 
Thanks for sharing
This post is from GD32 MCU

Comments

Learn from each other  Details Published on 2019-5-21 09:09
 
 
 

821

Posts

0

Resources
3
 
Let's learn from each other
This post is from GD32 MCU
 
 
 

252

Posts

0

Resources
4
 
Not bad. Now that we have entered the era of 5 yuan PCB proofing, there is no need to make the board yourself.
This post is from GD32 MCU

Comments

My place is a bit far away, and it will take 4-5 days to get it from the time of shipment. I made it myself for two reasons. One is that I will change the plan later; the other is the speed. It took more than a day from drawing the board to etching and then welding.  Details Published on 2019-5-21 09:35
 
 
 

821

Posts

0

Resources
5
 
jj1989 posted on 2019-5-21 09:16 Not bad. Now we have entered the era of 5 yuan PCB proofing, so there is no need to make the board yourself.
My place is a bit far away, and it will take 4 or 5 days to get it from the time of delivery. I made it myself for two reasons. One is that I will change the plan later; the other is that it is fast. It took more than a day from drawing the board to etching and then welding.
This post is from GD32 MCU

Comments

That's pretty good.  Details Published on 2019-5-22 09:03
 
 
 

252

Posts

0

Resources
6
 
lising posted on 2019-5-21 09:35 My place is a bit far away, and it will take 4 or 5 days to get to me even if it is fast. I made it myself for two reasons, one is that I will change the plan later; the other...
That's pretty good.
This post is from GD32 MCU
 
 
 

205

Posts

0

Resources
7
 
This post is from GD32 MCU

Comments

Thank you for your support  Details Published on 2019-5-22 19:41
 
Personal signatureWe are a team and we work as a team !
 
 

821

Posts

0

Resources
8
 
Thank you for your support
This post is from GD32 MCU
 
 
 

252

Posts

1

Resources
9
 
The author is a handmade master. Thanks for sharing "Love Without Worries"
This post is from GD32 MCU

Comments

Like toss  Details Published on 2019-5-24 11:41
 
 
 

6

Posts

0

Resources
10
 
Well written
This post is from GD32 MCU

Comments

Thank you for your praise! Please give us more valuable suggestions  Details Published on 2019-5-24 11:42
 
 
 

113

Posts

1

Resources
11
 
Good material
This post is from GD32 MCU

Comments

The feeding equipment took the longest time to work on. During the process, I made many adjustments and improvements, and I almost gave up.  Details Published on 2019-5-24 11:45
 
 
 

821

Posts

0

Resources
12
 
dianhang posted on 2019-5-24 09:45 The author is a handmade master. Thanks for sharing "Love Without Worries"
I like to tinker
This post is from GD32 MCU
 
 
 

821

Posts

0

Resources
13
 
Thank you for your praise! Please give more valuable suggestions
This post is from GD32 MCU
 
 
 

821

Posts

0

Resources
14
 
The feeding equipment took the longest time to make. During the period of making it, it was adjusted and improved many times. I almost gave up
This post is from GD32 MCU
 
 
 

113

Posts

1

Resources
15
 
lising posted on 2019-5-24 11:45 The feeding equipment took the longest time to make. During the period of making it, it was adjusted and improved many times, and I almost gave up
This post is from GD32 MCU
 
 
 

530

Posts

4

Resources
16
 
Cow, Dexterity
This post is from GD32 MCU

Comments

I just read your post, it's more advanced than mine. If you add a semicircular shell to each end of the robot, you can grab multiple grains at a time.  Details Published on 2019-5-26 23:31
 
 
 

821

Posts

0

Resources
17
 
Published by Media Student on 2019-5-26 23:01 Awesome, you are very skillful
I just read your post, it is more advanced than mine. If you add a semicircular shell to each end of the robot, you can grab multiple grains at one time.
This post is from GD32 MCU
 
 
 

824

Posts

190

Resources
18
 

Thank you for sharing, very comprehensive!

This post is from GD32 MCU
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle

Comments

Thank you for the praise  Details Published on 2019-6-21 09:11
 
Personal signature在路上……

EEworld 有你有我
 
 

821

Posts

0

Resources
19
 
lightxixi posted on 2019-6-20 21:16 Thank you for sharing, very comprehensive!

Thank you for the praise

This post is from GD32 MCU
 
 
 

5213

Posts

239

Resources
20
 

Wow, I put in a lot of effort.

Just put the demonstration video in the university hall, so that it is convenient for netizens and judges to watch

This post is from GD32 MCU
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle

Comments

Thank you for the praise! I just added a video: Ornamental fish tank controller - Supplementary video - [GD32 MCU] - Electronic Engineering World - Forum https://en.eeworld.com/bbs/thread-1080464-1-1.html  Details Published on 2019-6-21 16:40
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list