Introduction
This post mainly introduces the design of the motion reward subsystem in the sugar glider health monitoring system based on RSL10 . The motion reward subsystem can mainly realize the communication between the host and the host through the Bluetooth protocol. When a reward instruction is issued, the system drives the solenoid valve to conduct and push out the box containing the insects, so as to achieve the purpose of rewarding the sugar glider with food.
Main body of this post
The design of the sports reward system subsystem is mainly divided into three parts: hardware design, mechanical structure design and software design.
The first thing is the structural design. Only after the structural principle is determined can the hardware selection be determined. The main purpose here is to deliver Xiaomi's favorite cornworms to eat. Cornworms are generally 2-3cm long and about 6mm in diameter.
I won’t post pictures of cornworms to avoid causing any discomfort.
Therefore, I thought that as long as I designed a small box, when it was time to give out rewards, I would just open the lid of the box. My "little jelly" has a very sensitive nose and will definitely find it right away. So I came up with the following plan sketch.
The plan is shown in the picture. The cornworms are placed in a small box on the left. There is a lid on the small box. There is a fixed axis at the rear end of the lid and a connecting rod at the upper end connecting the rear end. The lid can be opened when the reward is given through the corresponding action mechanism.
For the actuating mechanism, I considered two options: motor and electromagnet. Since the motor generates rotational power, a bidirectional drive bridge circuit is required, and I hope to be able to get multiple rewards. The motor structure takes up too much space, so I passed it.
I happened to find an inexpensive and good quality electromagnet on Taobao with the right size and functions. Isn’t the price better than an electric motor? So I bought it!
But after receiving the goods, I found that it was different from what I imagined!
I thought it popped up by default, and would retract when powered on, but it turned out to pop up when powered on. . .
Then the structure above is useless, and the lid will be closed when it pops out, so how can he eat it?
After thinking about it, I decided to redesign it, which would be easier to implement. So I came up with the solution shown in the figure below. I used the spring force of the electromagnet to pop out the small drawer containing the corn worms.
The pop-up looks like this:
The small box can hold one worm, and the reward system can reward 5 worms at a time, which is enough for a day.
The upper shell can hold the battery and control circuit
Now that the structural principle is designed, the next step is to design the hardware.
The electromagnet is specially selected to be driven by 3V , so the driving circuit is very simple, only a MOS plus a freewheeling diode is needed.
The RSL10 IO can be used directly to drive it, so I drew a hardware diagram
But time is running out. If we try to proofread the RSL10 together, it will be very troublesome if there is any problem with the Bluetooth signal.
So I simplified it and planned to use the RSL10 development board to connect the driver part to achieve it
The layout diagram is as follows
OK, now you can send the structure diagram for printing and the layout for making a board.
The next post will introduce the design of the software part.