王达业

#SecondLiChuangContest#Multifunctional protocol debugging tool

 
Overview

1. Introduction to the work

For example, this may include, but is not limited to, the following:

1. Pictures of the complete machine appearance of the work or pictures of the welded and assembled PCBA;

****  Click for larger image **** **** ****  Click for larger image****  Click for larger image**** ****   Click for larger image****

2. Research background, purpose, function, and market application prospects of the work; A. Research background: As a professional electronic engineer, you often need to communicate with external devices, or debug chip drivers, detect voltages and waveforms, and use voltage value or PWM operated motors and more. B. Purpose: To bring together all the hardware debugging equipment that engineers usually need, saving costs, using space, and being scalable. C. Function: It has CAN, RS232, RS485, SPI/IIC reading and writing, PWM/DAC output, and has script parsing, execution and expansion capabilities. D. Market application prospects: This debugging tool integrates commonly used debugging of CAN, RS232, and RS485 to reduce costs. It also adds functions such as debugging SPI, IIC, etc. You can write your own programs through lua scripting language. This price-performance ratio is definitely the best at present. Unique on the market, the purpose of this tool is to squeeze out the functions and performance of STM32 and give full play to the characteristics of STM32. Through this tool, engineers can complete the basic debugging they want to do better, faster and simpler, and spend more time on Complete more complex tasks. This tool is made of the most common materials on the market, has low maintenance and repair costs, and has a low scalability threshold.

3. What are the highlights of the work in terms of innovation, interest, practicality and even public welfare? A. Practicality: It can debug most communication equipment, write and debug protocols, read and write chips, output arbitrary waveforms, etc., which are communication and signal input and output that electronic engineers often need. Debugging projects no longer require more equipment.

B. Innovation: The basis of innovation must be practicality. Technology is people-oriented and low-cost, but being able to play more powerful functions is the greatest innovation and creates the greatest benefits.

C. Interesting: The invention of this device itself is interesting, and it is also very fun to use. A simple small device can control and collect almost most of the devices, making boring debugging easier, and more The time is spent on functional design, such as the AD sampling port, which can collect ECG module signals. At this time, the device is an electrocardiograph. SPI, IIC and other interfaces are common communication interfaces, which can be connected to most common devices, and can be programmed with Lua to write some drivers to expand IO, sensors, LCDs, etc. They are highly playable, easy to obtain materials, and low cost.

2. System architecture diagram

Describe the structure of your work in the form of a flow chart or mind map, that is, a plan diagram. Scheme diagram: The overall process is as follows: 

Click for larger image

3. Description of the hardware part

1. Attach pictures or source files of schematics & PCB physical drawings (the official recommendation is that you try to upload source files). If it is a picture, please make sure the picture is clear and legible;

****  Click for larger image **** ****  Click for larger image****

2. Use words to briefly explain the implementation principle of the work and the working process of the system. **** A. Connect the device to the USB port of the PC and install the STM32 VCP version 1.3 driver on the PC. There is a problem with version V1.4. You can then see the serial port of this device in the device manager. **** **** B. Open the host computer software, select the corresponding serial port, click Open, and then select Get. Then you can see the device firmware version number, V1.0, and finally click Connect. If successful, it will turn green. **** C. At this time, the device can configure parameters and send and receive data according to the protocol content. The following is part of the agreement:

4. Material list (BOM list)

List the main components used in your work (key components are enough), such as microcontrollers & ARM chips, application-specific integrated chips (ASICs), sensors, functional modules, etc.

If the chip listed is from our Lichuang Mall, it is best to write down the product number of the device or attach the corresponding purchase link. 1.ST(STMicroelectronics)/STM32F405RGT6 tray http://www.szlcsc.com/product/details_16424.html

2.TVS/SM712.TCT tape http://www.szlcsc.com/product/details_12644.html

3. Switching diode/BAV99,215 tape http://www.szlcsc.com/product/details_2877.html

4.USB connector/MINI 5P female header http://www.szlcsc.com/product/details_47395.html

5. SMD fuse/0.5A 6V resettable fuse in box http://www.szlcsc.com/product/details_67536.html

6.RS-485/RS-422/SP3485EN-L/TR tape http://www.szlcsc.com/product/details_9482.html

7. Light-emitting diode/0603 blue light tape http://www.szlcsc.com/product/details_73150.html

8. Low dropout linear regulator (LDO)/TLV1117LV33DCYR tape http://www.szlcsc.com/product/details_16257.html

9. SMD passive crystal oscillator/32.768KHz ±20ppm 12.5pF tape http://www.szlcsc.com/product/details_33310.html

10.ESD/PESD1CAN tape http://www.szlcsc.com/product/details_16453.html

11. CAN/SN65HVD230DR tape http://www.szlcsc.com/product/details_12661.html

12. Light-emitting diode/yellow green 0603 http://www.szlcsc.com/product/details_2662.html

13. Light-emitting diode/5mm foggy red, general green and common anode two-color lamp in bag http://www.szlcsc.com/product/details_5807.html

_ _14.Horn connector/2.54mm 2_5 curved cow bag_ * http://www.szlcsc.com/product/details_9663.html

15. Tactile switch/6x6x14 plastic head bag http://www.szlcsc.com/product/details_11437.html Description: This device does not have SMD packaging in the mall, it has been manually changed to SMD.

16. SMD passive crystal oscillator/YSX530GA 8MHZ ±20ppm 20pF tape http://www.szlcsc.com/product/details_19261.html

17. Light-emitting diode/0603 red light tape http://www.szlcsc.com/product/details_73148.html 18. RS232/MAX3232IDB tape ** http://www.szlcsc.com/product/details_30357.html * *

Please search and purchase resistor components by yourself, thank you!

5. Description of the software part (optional)

If your work involves software, please list the software workflow diagram corresponding to the work, as well as the routines and source code of key parts (please upload all the source code if you want to open source it).

Partial interface and description of the host computer: The name of the host computer is Schweizer Messer, and the Chinese name is Swiss Army Knife. The meaning of this name is that this tool contains many practical functions, just like a Swiss Army Knife, practical, classic, easy to use, and easy to use. .

LUA script parsing function allows you to use scripts for programming operations. This tool can also port MicroPython by itself and use Python for programming. Lower computer software process: main function main.c key code

USB part key code:

CAN key codes:

Some key codes of RS485:

Some key codes of RS232:

Some key codes of ADC:

Some key codes of I2C:

Some key codes of SPI:

Some key codes of PWM:

Some key codes of DAC:

6. Work demonstration

_1. Picture demonstration results_ ECG signal demonstration: ***  Click for larger image**** ****    *** 2. Function demonstration video. Please upload the function demonstration of your work to Tencent Video and edit it to this building (or Video link attached). Uploading videos as required will earn you 5 points. Please see the event rules for details. Video address: https://v.qq.com/x/page/l0530h7kgfk.html

7. Summary

For example, some of your experiences in completing the work, technical problems or debugging experience you encountered, future plans for the work, and suggestions and opinions for our organizers, etc. 1. USB driver and buffer issues, it can support 1K byte transceiver . 2. SP3485EN chip is easily damaged, or cannot be used after welding. In the past, SP series chips were often damaged, and the quality was not as good as TI and Maxim. 3. In the future, this work will add and expand more functions and become more powerful. Better support for scripting language, added extended version, can intervene in OLED, MPU, etc. 4. With such works shortlisted, I hope we can further cooperate and benefit more electronic engineers and enthusiasts.

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

Supported by EEWorld Datasheet

Forum More
Update:2025-05-24 11:12:40

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号