黄土马家

Offline serial port monitor based on MSP430G2553

 
Overview

Talk about it in front

The drawing board uses Kicad , and the board verification is also the Gerber file generated by Kicad. However, what is open sourced on the Lichuang open source hardware platform is the post-project that Kicad imported into Lichuang EDA, which is more or less native to Lichuang EDA and Kicad. Good, so the schematics and PCB in the open source display are for reference only . The original Kicad project will be uploaded to the attachment. Please obtain the source code from the GitHub link in the description.

generalize

A simple and useless offline serial port monitor (hereinafter referred to as the monitor), the main control is MSP430G2553, which is connected to the target serial port through the serial port and can display the received serial port information.

Function

  • A simple serial port monitor that is similar to a serial port assistant on a computer
  • Simple serial port configuration, such as baud rate, parity, stop bits, etc.
  • Dual 2.5V range 10-bit ADC
  • A very addictive little game

Prepare

software

This project uses Code Composer Studio 10.2.0 as the IDE. Other versions of CCS have not been confirmed. Generally, if the project can be successfully imported, it can be compiled, burned and used.

hardware

This project uses MSP430G2 LaunchPad as the programmer. I am not sure whether the new version of MSP-EXP430G2ET LaunchPad can be used. When using it, you need to remove the MSP430G2553 on the LaunchPad and connect it to the debug interface of the MSP430G2553 on the monitor through several lines as shown in the figure. LaunchPad burning connection

Burn

In CCS, import the project through Project -> Import CCS Project... If it prompts that the import fails, check Copy projects into workspace. After successfully importing the project, compile and burn, or when debugging, it is recommended to disconnect the power of the monitor. , after successful startup using the power provided by LaunchPad, the following interface should be displayed Main menu interface and the following information will be output on the TX pin at a baud rate of 9600

    Hello
    Offline Monitor
    V1.0

PCB physical picture

forwardback Please don't worry about the oil marks all over the board. The solder paste placed there has deteriorated due to the high temperature, and I accidentally added a little too much when soldering the board. I didn't wash the board with water yet, which resulted in oil marks all over the board.

Notice! ! !

Due to poor consideration, I used two ordinary capacitors for the input and output of the LDO when drawing the schematic diagram and PCB. However, when I was making the actual product, I thought of replacing it with two tantalum capacitors. However, tantalum capacitors have positive and negative poles, but the board There is no silk screen printing of positive and negative poles on the capacitor. If you want to use tantalum capacitors in the same way, please be sure to confirm the positive and negative poles, otherwise it is very likely to boom.

Features

Serial monitor

Serial monitor screen Can display the content sent by the serial port of the microcontroller currently connected to

Serial port configuration

Serial port configuration Simple serial port configuration can be performed on the serial port monitor, including baud rate, parity bit, stop bit, number of data bits, data high and low first, and number of display lines.

ADC

ADC It can display A1, A2 and the BAT pin connected to the lithium battery for a total of three channels for measurement with a range of 2.5V. The BAT channel of the lithium battery divides the voltage through two 100k resistors, so it will not exceed the range.

Games

Games A small game of catching eggs, the functions added in a flash of inspiration are very similar to the small games I played on feature phones when I was a child.

external link

GitHub source code https://github.com/Zuoges/G2553_offline_monitor
B station video https://www.bilibili.com/video/BV1kq4y1G7JX

Hardware update log

If both hardware and software are updated, instructions will be updated on the Easy Open Source Hardware Platform and GitHub at the same time. If there is only a separate hardware update or software update, it will only be explained. For details, go to the Easy Open Source Hardware Platform or GitHub.

1.0

2021年10月25日
可以使用了(其实已经在自己手里耍了小两个月了)
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-07-03 11:48:16

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号