1)需使用Ctrl+a 进入设置状态
2)按z进入设置菜单
(1)S键:发送文件到目标系统中;
(2)W键:自动卷屏。当显示的内容超过一行之後,自动将後面的内容换行。这个功能在查看内核的啓动信息时很有用。
(3)C键:清除屏幕的显示内容;
(4)B键:浏览minicom的历史显示;
(5)X键:退出mInicom,会提示确认退出。
minicom保存uart log
使用minicom也有很长时间了,只用minicom抓过uart log,但是从来没有去保存过这个log,也不知道有这个功能。后来在超级终端中发现有这个功能(传送->捕获文字),想想minicom应该也有这个功能才对,后来搜索找到怎么用了,方法如下:
干涉仪测向原理
干涉仪测向原理
CC1310的模拟串口问题
目前在使用TI
的CC13x0
系列芯片开发,CC13x0
系列的芯片只有一个硬件串口,CC13x2
系列的芯片有两个硬件串口。但是目前为止,TI
的CC13x2
系列芯片还没有正式量产。
目前使用的是CC1310
芯片,正常情况下串口被用来输出调试信息,一般一个串口也是够用了的。但是最近需要增加一个串口的语音合成模块SYN6288
,这样一来,一个串口就不怎么够用了。
Google
搜索了一下,发现CC1310
可以软件模拟出第二个串口出来。
Windows7 x64旗舰版注册MSCOMM32.OCX的方式
目前使用某个串口工具,这个工具依赖MSCOMM32.OCX
,然而Windows7 x64
没有提供这个组件,我们需要手工注册这个组件。
TTS串口SYN6288语音合成模块的使用简介
最近在项目中使用TTS
串口的SYN6288
语音合成模块来输出中文语音,遇到一些问题,尤其是协议中的校验和计算的问题,折腾了好长时间。
Arduino Mega 2560测量电压与ADC精度
Arduino Mega 2560
能够读取0 ~ 5V
的电压,并转换为10bit
即0~1023
级的数字信号。这怎么理解呢?
Ubuntu 16.04软件中心安装的Arduino IDE报告错误 – avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
最近要使用Arduino
开发一个读取电压的装置,新电脑上没有安装Arduino IDE
,因此,从Ubuntu 16.04
软件中心中搜索找到一个名为arduino-mhall119
的软件,如下图所示:
继续阅读Ubuntu 16.04软件中心安装的Arduino IDE报告错误 – avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
树莓派2B使用ADS1115模块读取模拟信号
ADS1115
读取模拟信号。树莓派2B启用I2C
树莓派自带I2C
控制器,但是默认没有启用,我们需要手工启用,具体操作如下:
I2C is a very commonly used standard designed to allow one chip to talk to another. So, since the Raspberry Pi can talk I2C we can connect it to a variety of I2C capable chips and modules.Here are some of the Adafruit projects that make use of I2C devices and modules:
- http://learn.adafruit.com/mcp230xx-gpio-expander-on-the-raspberry-pi
- http://learn.adafruit.com/adafruit-16x2-character-lcd-plus-keypad-for-raspberry-pi
- http://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi
- http://learn.adafruit.com/matrix-7-segment-led-backpack-with-the-raspberry-pi
- http://learn.adafruit.com/mcp4725-12-bit-dac-with-raspberry-pi
- http://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi
- http://learn.adafruit.com/using-the-bmp085-with-raspberry-pi
The I2C bus allows multiple devices to be connected to your Raspberry Pi, each with a unique address, that can often be set by changing jumper settings on the module. It is very useful to be able to see which devices are connected to your Pi as a way of making sure everything is working.
To do this, it is worth running the following commands in the Terminal to install the i2c-tools utility.
1 2 |
$ sudo apt-get install -y python-smbus $ sudo apt-get install -y i2c-tools |