toothache

#The 7th Lichuang Electric Competition#3D posture solver (single board integration)

 
Overview
The 3D attitude solver based on N32G430C8L7 designed with reference to the official case of the training camp can display the current device Euler angle information in real time on the OLED.
Based on the official case, all modules are integrated on a single PCB, eliminating the need to use pin headers to connect the modules and reducing the PCB area.
PCB features are as follows:
1. Integrates 12864 OLED, MPU6050 and N32G430C8L7 minimum system
2. Most devices use 0402 package to reduce PCB area
3. The power supply part uses star routing to prevent noise coupling crosstalk
4. The copper at the bottom of the crystal oscillator is hollowed out to ensure that the high-frequency signal is not affected by the outside world
5. Large-area punching connects each part to shorten the return path
6. Select the startup mode by toggle switch, and support burning the program through the serial port

Notes:
1. MPU6050 is a QFN24 package and is not suitable for soldering with a soldering iron. At least a hot air gun or a heating platform is required
2. The pins of N32G430C8L7 and FPC header are relatively dense. After soldering, pay attention to check whether the tin is connected
3. **BOM does not include OLED**. When purchasing FPC headers and OLED screens, you must pay attention to the specifications. **0.96-inch OLED should be purchased plug-in instead of soldered**
![image.png] 4. If the contact direction of the OLED screen and the FPC holder is consistent, that is, both are upper contact or both are lower contact, the FPC in the BOM is upper contact, so if you buy OLED according to the BOM, you have to buy the upper contact
! [image.png]
The program is based on the official case. Because the relative position of MPU6050 and OLED is different from the official case, the reference system has been changed. The modified project file will be uploaded in the attachment later.
5. When designing, all components are selected from the LiChuang Mall that meet the project requirements and are the cheapest and in stock. The BOM table is at the bottom of this page.
6. Note that C7 and C8 should be selected according to the actual crystal load capacitance value. The crystal load capacitance given in the BOM is 10pF (16pF in the numerical diagram, which will be modified to 10pF later)
7. If the power indicator uses a green LED, the recommended current limiting resistor R2 resistance is 4.7K
8. The actual product has been soldered and verified, but the OLED cannot be correctly attached to the back of the board due to the reverse order of the FPC pins QAQ (see the actual product picture below for details). It has been corrected and re-boarded for verification.
9. Be sure to put it horizontally after turning on the power, then press the reset button, and wait for about 2 seconds to see the Euler angle information in the OLED.

The numerical diagram is as follows:
![image.png] The position number diagram is as follows:
![image.png]

Actual picture:
![650f472490fce8984f2e72691d22c9e.jpg] ![18bbbf9c4a3b1726249f26b70701ea2.jpg] ![df6348916424cd162c5f4ca7fd656fe.jpg]
3D attitude solver_BOM table.xlsx
3D attitude solver_numerical graph.pdf
3D attitude solver_schematic diagram.pdf
Gerber_3D attitude solver.zip
3D attitude solver_position number map.pdf
WeChat_20220905215125.mp4
Software.zip
PCB_PCB_2022-11-05.pdf
BOM_Board1_PCB_2022-11-05.xlsx
Altium_#The 7th Altium Competition#3D Posture Solver (Single Board Integration)_2022-11-05.zip
PDF_#The 7th Lichuang Electric Competition#3D posture solver (single board integration)_2022-11-05.zip
BOM_Board1_#The 7th Lichuang Electric Competition#3D attitude solver (single board integration)_2022-11-05.xlsx
61035
#The 7th Lichuang Electronic Competition# Mingmei Hongwei-USB Detector

Introduction: Voltage and Ampere Meter

 
 
* 1. Introduction to project functions
. It is convenient for you to use USB hub to debug the microcontroller.
 
* 2. The project attributes
are open to the public for the first time, open source
 
* 3. The open source agreement
cannot be used commercially without my permission
 
* 4. The minimum system design of the hardware part
controls the I/O port, see the circuit diagram for details
 
* 5.
The code written by Keil for the software part, see the attachment for details
 
* 6.
See the attachment for BOM list
 
* 7. Competition LOGO verification
 
 
* 8. Demonstrate your project and record it into a video and upload it,
 
see the attachment
QQ video 20220827005329.mp4
Code part.rar
61044
#The 7th Lichuang Electric Competition# Based on N32G430USB voltage and current meter

Introduction: USB ammeter based on N32G430C8L7+INA199

 1. Introduction to project functions
 
This is an assignment based on the [Training Camp Official Case] ​​USB ammeter.
Xiaobai: I want to complete my homework!
 
2. At the beginning of the project,
 
I joined the [Jialichuang Summer Training Camp 2022] group and became a little white.
Then I watched [Opening Camp Course], [Hardware Design Course], [Software Design Course] and other very nutritious courses.
 
 3. Start drawing (schematic diagram + PCB)
 
 
 
 
4. Jiali Chuang PCB, purchase components to
get coupons, PCB, purchase components, and wait for express delivery.
 
5. Welding PCB
 
Jiali Chuang produces very nice, it is simply a work of art.
 
The appearance after welding. 6. The Nations MCU Download Tool V1.2.5 National Technology Official Download Tool is used to
 
 
download hex . 7. The finished product is perfect and exceeded expectations. When the screen lights up, I feel very wow~ Then it is calibration, find other tables to compare, and change parameters. Slow charging effect: Fast charging effect: 8. Conclusion.         I am really grateful for this learning opportunity. Full of dry goods~         Insufficient:                   . Time is tight and the task is heavy.                   . I use the standard version of EDA from Jialichuang, and I must try the professional version of EDA.                   . I copied the homework, and I can innovate it.         I hope:                   I will have the opportunity to participate in the training camp again, and it should not be too difficult.         Finally, thanks to: Jialichuang Jialichuang EDA Lichuang Mall

 

 

 

 

 

 












 
 
BOM Download
PCB_PCB_#The 7th Lichuang Electric Competition#Based on N32G430USB voltage and current meter_2022-09-27.pdf
PCB_PCB_#The 7th Lichuang Electric Competition#Based on N32G430USB voltage and current meter_2022-09-27.json
PCB_#The 7th Lichuang Electric Competition#Based on N32G430USB voltage and current meter_2022-09-27.pcbdoc
Gerber_PCB_#The 7th Lichuang Electric Competition#Based on N32G430USB voltage and current meter.zip
Schematic_#The 7th Lichuang Electric Competition#Based on N32G430USB voltage and current meter_2022-09-27.pdf
SCH_#The 7th Lichuang Electric Competition#Based on N32G430USB voltage and current meter_2022-09-27.json
Sheet_1_2022-09-27.schdoc
61059
[Five-pin interface, unifying the world] "Sesame sauce: playing a good hand" #Spark Project#

Introduction: Wang's interface and its application in Raspberry Pi: Majiang. This innovative interface can also be used in Arduino or other open source hardware.
I think it will become a hardware design standard and specification because it has obvious advantages: highly compatible, cheap, easy to use, stable and easy to understand.
Illustrations: https://www.bilibili.com/video/BV1Ea411V7x3/
 
       Qin Shihuang unified China for the first time, "writing the same text and the same track", unified writing and measurement, reduced the cost of social operation, facilitated cultural exchanges, and was considered to be beneficial for generations. In the field of hardware electronics, taking the 3-pin sensor module as an example, it is unlikely to force the pin arrangement order of each manufacturer's module when it leaves the factory, so it is relatively random. When they are connected to the development board, DuPont wires are often used. In actual use, because of the confusion of the order, the DuPont cable must be torn, pulled, and twisted. A little longer time will affect the reliability of the connection between the wire and the motherboard. If the code is developed and debugged under unstable connection, it will bring unnecessary confusion and waste of time. Therefore, makers have made various expansion boards. But since the birth of Arduino in 2010, I have not seen any development board like the one with the five-pin interface that can balance compatibility and cost accessibility.
       The core of the five-pin Wang interface is the ABCAB sequence, where A, B, and C represent different circuit signals. Specifically, for a 3-pin sensor, it is connected to one of the three elements, VCC, GND, and Signal. The order needs to be emphasized because this 3-element 5-bit sequence is not necessarily ABCAB. For example, it can also be ABCBA or ABABC. Only when it is artificially designed as ABCAB can it have a wide range of compatible functionality. Researchers of gene sequences can easily think that ABCBA is a typical palindrome structure, which is common in the sequence of DNA and RNA molecules. It is easy to produce a stable secondary folding structure, which often indicates the formation of special functional units in three-dimensional space. I don’t understand why the expansion board has never seen such an order as ABCAB before, but I was the first to propose and apply it. Even if electronic majors do not need to learn molecular biology, palindrome sequences are also common in ancient poems and word games, such as "Shanghai tap water comes from the sea" and the Tang Dynasty poem "Two Lovesickness". Other interesting sequences in Tang poetry include Qin Guan's circular poem [1].
 

 
 
 
With dry eyes, I look at the distant mountains across the water. I have seen many people who have come and gone. I am afraid to drink a glass of wine with an empty pot, and it is difficult to write a rhyming poem. The long-lost man on the road has been gone, and there is no news. The wild geese are late to send back. The lonely lamp is on guard at night, and the husband misses his wife and the father misses his son.
 
 
 


"Two Lovesickness"
 
The son misses his father and the wife misses her husband, and they are lonely and watch the lonely lamp at night. The wild geese are late to send back, and there is no news. The long-lost man is separated by the road. It is difficult to write a poem with rhyme, and I am afraid that the wine cup will be empty when I drink. I have seen my confidant several times, and I look at him from afar across the water and mountains.
 
——Looping


Poems by Li Yu and Qin Guan in the Song Dynasty
 

 
      I often use the 2#6p package of Wang's interface, and its component symbol and package are shown in the figure below:
Wang's Connector Component LibraryWang's Connector 封装库       Applying Wang's interface and its corollary to the design of Arduino expansion board, I got an IO expansion board that is compatible with Uno, Nano, and Leonardo. Applying it to the design of Raspberry Pi expansion board, I got "sesame sauce". The name "Majiang" comes from an interview with Julia Roberts [2]. Although I don't understand mahjong, I understand what she said about the essence of mahjong - "create order out of chaos." Creating order out of disorder is exactly the design concept and problem that Wang's interface aims to solve. Furthermore, I think Wang's interface is a standard that should be promoted and worthy of being included in electronic maker textbooks. It has been more than ten years since the invention of Arduino. It has brought the concept of agile circuit development and the prosperity of maker education. But it has brought more than just the bright side. What about the dark side? The updates of various new development boards are overwhelming. Maker education is running around and is being fragmented. Electronic waste is invading our earth's space and life in the name of innovation. If knowledge is not grown together in a systematic and organic way, then it should at most be called information fragments. If education only has information but no knowledge, it is like physics without Newton's laws and relativity. What is left is the ignorance of the big ball landing first and the confusion and chaos of the wave-particle duality, which is not conducive to the formation of a scientific worldview.
 
Wang's Arduino IO ShieldWang's Raspberry Pi IO Shield 
     Wang's interface is just like "Nine Swords of Dugu", providing a set of fast connection methods with only sword styles but no sword moves. It can not only realize fast connection of hardware, but also balance accuracy, scalability and reliability. This may provide a solution for the common problem of not being able to use after learning in the field of K12 education. "One corner is not enough to reflect the other three corners". Only when K12 teachers teach students accurate and refined "fishing" can they make the whole plan clear and let students get the joy of "fish" through repeated study.
     "Long-term unity will inevitably separate, and long-term separation will inevitably unite." I hope that Wang's interface will soon inherit the great unity of hardware design, and I also wish the motherland to be unified soon.
 
     A good standard usually has the following characteristics: 1. Reduce costs and increase efficiency. At present, the interfaces that can be seen on the expansion board are at most 4 rows of pins. The five-pin Wang's interface, "only one more pin than 4 pins", brings huge changes. It does not need to significantly increase the PCB area of ​​any existing development board, and can make the inconvenient connection problem of open source hardware since 2010 be solved consistently and thoroughly. What will follow is the reduction of the hardware cost of the entire open source education, the time cost of users, and the improvement of the overall efficiency of society. 2. Wide compatibility. The five-pin Wang interface and its derivative interface for 4-pin modules provide the most convenient, fast and efficient connection method for all 3-pin sensors, 3-pin actuators such as servos and common 4-pin modules such as I2C, Tx/Rx (commonly used in color sensors, wireless modules, voice modules, etc.), breaking the barriers caused by the different factory orders of various manufacturers, making it possible for various development boards to no longer need to repeatedly purchase sensor and other module accessories, greatly striving for flexibility and convenience for hardware consumers. 3. Environmental friendliness and sustainability. Based on the above analysis, the five-pin Wang interface is at least expected to save the aging and use of DuPont wires, reduce repeated expansion board investment, and increase the reuse rate of sensors. A maker with a sense of social responsibility will definitely try to reduce the generation of electronic waste in life. The continued abnormally high temperatures this summer have made environmental issues more urgent. How to reduce the waste of natural resources and improve the rational reflection of effective use will definitely exceed the self-indulgence of consumerism. The growing number of idle development boards and expansion boards, and the "Pansi Cave"-like circuit connections must be a lingering concern for most makers. Good makers should start with themselves, should see the big picture from the small, should turn waste into treasure like a magician, turn decay into magic, and empower "resources in the wrong place", instead of frequently turning their immature designs into new garbage, and advocating consumerism without self-reflection.
 
      I thought of the design of Wang's interface in 2017 and completed the proofing in jlc. At that time, Jiali Chuang had not yet acquired easyEDA, so the proofing was completed by submitting Gerber files through AD. After receiving the sample, I only showed and discussed it with Dasheng teacher. At that time, we judged that the market usage was not large. Before going to Xi'an, I even mentioned to Dasheng teacher whether to apply for this patent in the name of the Xi'an company I was going to work for. Later in Xi'an, when Tian Gong mentioned that he helped Mr. Jie transfer tens of millions of funds from the Jikacoin account using a crawler, the Sino-US trade war had just begun and Huawei was restricted from using EDA. I also suggested to Mr. Cao that it would be better to invest in domestic LCEDA instead of speculating in coins with idle funds. However, my words were not influential and the PCB board factory business was not the company's main business, so it was limited to suggestions. LCEDA has developed very well in a flash, and it has the momentum of "now towering like a canopy".
 
We should unify instead of split. If you support Wang's interface to unify the development board interface and enter the primary and secondary school textbooks, please like and forward it. If you support more than 10,000, I will write the sister chapters of "Unification": "Hou Yi Shooting the Sun" and "The Dragon Has Three Heads"
PCB_mahjong_2022-11-05.pdf
BOM_mahjong: a good hand of cards_mahjong_2022-11-05.xlsx
Altium_【Five-pin interface, unifying the world】《Majiang: playing a good hand》 #星火计划#_2022-11-05.zip
PDF_【Five-pin interface, unifying the world】《Sesame sauce: playing a good hand》 #星火计划#_2022-11-05.zip
61060
electronic
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-15 03:23:58

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

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号