他们逼我做卧底

#FirstLichuangcompetition# Intelligent toothbrushing practice device (updated in 20161031)

 
Overview

1. Introduction to the work: I saw Lichuang’s event last month. Unfortunately, I was unemployed and had a lot of free time at home, so I signed up to participate. The reason why I chose this topic is that as an electric toothbrush user, I have personally tested two types of toothbrushes, but I am not sure about it. The effect is not very satisfactory. I am learning STM32 recently and always want to do something small to practice my hands. So I chose this project. The common electric toothbrushes on the market usually have the following two driving modes. The clumsy mechanical modes of the two toothbrushes are indeed effective in removing stains and stains on teeth, but they are not good at cleaning foreign objects in gaps between teeth. Especially the foreign matter between the teeth after eating nuts is a nightmare for electric toothbrushes. In this regard, manual toothbrushes win over (after all, human hands are the most flexible and delicate structure). If you use the correct brushing posture, master correct brushing habits, and adhere to enough brushing time, a manual toothbrush should be able to clean your teeth better than an electric toothbrush. Many merchants and media have widely reported that electric toothbrushes are so good. I think most of them are marketing tactics of merchants. 2. ** Highlights of the work: This project mainly uses InvenSense's MPU6050 six-axis motion sensor to collect motion data to determine the user's brushing posture. Built-in lithium battery charging circuit, built-in 125mah lithium battery, the microcontroller can work continuously for several days in standby mode on a single charge. Several LEDs provide clear user instructions. 3. **System architecture diagram MCU: STM32F103CBT6 Sensor: MPU6050 TP4054 3.3V LDO 125MAH lithium battery 4. ** Schematic diagram Some resistors are reserved for pad debugging. The LED indicator light of the charging circuit is connected wrongly, so I will fix it first by flying the wiring later. . . I posted these three pictures before. 5. Material list *   Main components: (direct copy of Lichuang's order) ST (STMicroelectronics) / STM32F103CBT6 Tray  STM32F103CBT6  / LQFP-48_7x7x05P sensor / MPU-6050 Taping  MPU6050  / QFN-24_4x4x05P Cylindrical crystal oscillator  /  YT -26M 8MHZ 20PF 20PPM  bagged  % Editor...  0805W8J0103T5E  / 0805 6. ** PCB ** Actual picture Lichuang made the board very quickly, and it arrived the night before yesterday. Give it a pat on the back. . I couldn't wait to stay up all night to solder a piece, but it failed. I'll upload a few pictures from before. I started soldering and bought an air gun specially for the QFN-24 package of MPU6050. This Lichuang has to be reimbursed. I haven't used the air gun a few times and I'm not skilled at it. , after soldering, you still need to repair the soldering iron with a soldering iron to display the failed work. . . (Fortunately, I bought two sets of original parts) Lichuang Advertising After soldering, I washed it with water. At this time, the air gun came on. Fortunately, the components on the board with waste soldered on it were not damaged. After a day yesterday, I finally succeeded. That ’s it for today. I’m going to go. Sent resume. . . . . . . 7. Collect data. Normally, the microcontroller sleeps, and the MPU6050 does motion detection . The motion detection of the MPU6050 in the sleep state has not yet been clarified. The power consumption control is not very good and needs to be improved! ! ! If that doesn't work, consider adding a vibration sensor to wake up the STM32. Pick up the toothbrush, MPU6050 detects motion and the INT pin outputs a high level to wake up the STM32F103. An LED is added on the back for easy viewing during debugging. After powering on, the D2 red LED lights up. For testing, you can apply toothpaste and place the toothbrush on the front teeth, and wait for 2 or 2 seconds to calibrate the initial position. After the calibration is completed, the front blue light turns on. Collect the correct brushing posture data: 1. Obtain the following waveform 2. Obtain the following waveform 3. Obtain the following waveform 4. Obtain the following waveform 5. Obtain the following waveform Summary** : How to judge, if the above The pictures make you have no clue. Let’s try them together. It seems that you only need acceleration to judge. 8. Determine whether the standard is met. At the beginning, the panel is fully lit. In the data collection cycle, the acceleration values ​​of the three axes are compared to determine the brushing action. , after the accumulated times meet the requirements, the 5 LEDs on the front panel will turn off one by one. Enter standby mode. By the way, test the electric toothbrush **

For more project details, please see the link: http://club.szlcsc.com/article/details_575_1.html
This project is owned by Lichuang Community " Ye Ye "
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-14 23:06:05

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

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号