Blog of Tony Yuan

Walking on the Earth


  • Home

  • Tags29

  • Categories8

  • Archives63

  • Schedule

  • Books

  • Movies

  • Games

  • Gallery

  • About

  • Search

Markdown Cheat Sheet

Posted on 28-05-2019 | In Technique | Comments:
Symbols count in article: 890 | Reading time ≈ 1 mins.

Basic Syntax

  • Heading
1
2
3
# H1
## H2
### H3
  • Bold
1
**bold text**
Read more »

Git Cheat Sheet

Posted on 28-05-2019 | In Technique | Comments:
Symbols count in article: 3.8k | Reading time ≈ 3 mins.

Install Git

  • Mac OS (Download from https://git-scm.com/download/mac)
  • Windows (Download from https://git-scm.com/download/win)
  • Linux/Unix (Download from https://git-scm.com/download/linux)
Read more »

How to obtain a free top-level domain?

Posted on 27-05-2019 | In Technique | Comments:
Symbols count in article: 3.2k | Reading time ≈ 3 mins.

In the era of internet everyone wants their online presence , but having an online presence is not so simple as it seems. To have your own website , you should have a domain name otherwise it would be like yourname.blogspot.com or yourname.wordpress.com

Read more »

Github emoji

Posted on 26-05-2019 | Edited on 28-05-2019 | In Some some | Comments:
Symbols count in article: 21k | Reading time ≈ 20 mins.

There you can find a omplete list of github markdown emoji markup. Check it out!

Read more »

Arduino 20 - PS2 Shot Stick摇杆实验

Posted on 20-05-2019 | Edited on 03-06-2019 | In Arduino | Comments:
Symbols count in article: 1.2k | Reading time ≈ 1 mins.

PS2摇杆一般可以用来控制小车等等,其构造主要就是两个10K的电位器,还有一个按键开关。五个端口分别为VCC,X,Button,Y,GND。


Read more »

Arduino 19 - Infrared Remote Control红外遥控实验

Posted on 12-05-2019 | Edited on 03-06-2019 | In Arduino | Comments:
Symbols count in article: 4.9k | Reading time ≈ 4 mins.

红外接收头介绍

  1. 什么是红外接收头?
    红外遥控器发出的信号是一连串的二进制脉冲码。为了使其在无线传输过程中免受其他红外信号的干扰,通常都是先将其调制在特定的载波频率上,然后再经红外发射二极管发射出去,而红外线接收装置则要滤除其他杂波,叧接收该特定频率的信号并将其还原成二进制脉冲码,也就是解调.

  2. 工作原理
    内置接收管将红外发射管发射出来癿光信号转换为微弱的电信号,此信号经由IC内部放大器进行放大,然后通过自动增益控制、带通滤波、解调变、波形整形后还原为遥控器发射出的原始编码,经由接收头的信号输出脚输入到电器上的编码识别电路。

Read more »

Arduino 18 - Rudder Control舵机控制实验

Posted on 02-05-2019 | Edited on 03-06-2019 | In Arduino | Comments:
Symbols count in article: 1.5k | Reading time ≈ 1 mins.

舵机是一种位置伺服的驱动器,主要是由外壳、电路板、无核心马达、齿轮与位置检测器所构成。其工作原理是由接收机或者单片机发出信号给舵机,其内部有一个基准电路,产生周期为20ms,宽度为1.5ms 的基准信号,将获得的直流偏置电压与电位器的电压比较,获得电压差输出。经由电路板上的IC 判断转动方向,再驱动无核心马达开始转动,透过减速齿轮将动力传至摆臂,同时由位置检测器送回信号,判断是否已经到达定位。适用于那些需要角度不断变化并可以保持的控制系统。当电机转速一定时,通过级联减速齿轮带动电位器旋转,使得电压差为0,电机停止转动。一般舵机旋转的角度范围是0 度到180 度。


Read more »

Arduino 17 - 1602 Liquid Crystal液晶实验

Posted on 29-04-2019 | Edited on 03-06-2019 | In Arduino | Comments:
Symbols count in article: 3.5k | Reading time ≈ 3 mins.

本次试验使用arduino直接驱动1602液晶显示文字。

1602液晶在应用中非常广泛,最初的1602液晶使用的是HD44780控制器,现在各个厂家的1602模块基本上都是采用了与之兼容的IC,所以特性上基本都是一致的。

1602LCD主要技术参数:

  • 显示容量为16×2个字符;
  • 芯片工作电压为4.5~5.5V;
  • 工作电流为2.0mA(5.0V);
  • 模块最佳工作电压为5.0V;
  • 字符尺寸为2.95×4.35(W×H)mm。

1602液晶接口引脚定义


Read more »

Arduino 16 - Four Digital Tubes四位数码管实验

Posted on 22-04-2019 | Edited on 03-06-2019 | In Arduino | Comments:
Symbols count in article: 4.4k | Reading time ≈ 4 mins.

这次我们进行的实验是使用Arduino驱动一块共阳四位数码管。驱动数码管限流电阻肯定是必不可少的,限流电阻有两种接法,一种是在d1-d4阳极接,总共接4颗。这种接法好处是需求电阻比较少,但是会产生每一位上显示不同数字亮度会不一样,1最亮,8最暗。另外一种接法就是在其他8个引脚上接,这种接法亮度显示均匀,但是用电阻较多。本次实验使用8颗220Ω电阻(因为没有100Ω电阻,所以使用220Ω的代替,100欧姆亮度会比较高)。


Read more »

Arduino 15 - Digital Tube Display数码管显示实验

Posted on 17-04-2019 | Edited on 03-06-2019 | In Arduino | Comments:
Symbols count in article: 1.4k | Reading time ≈ 1 mins.

数码管是一种半导体发光器件,其基本单元是发光二极管。数码管按段数分为七段数码管和八段数码管,八段数码管比七段数码管多一个发光二极管单元(多一个小数点显示),本实验所使用的是八段数码管。按发光二极管单元连接方式分为共阳极数码管和共阴极数码管。共阳数码管是指将所有发光二极管的阳极接到一起形成公共阳极(COM)的数码管。共阳数码管在应用时应将公共极COM 接到+5V,当某一字段发光二极管的阴极为低电平时,相应字段就点亮。当某一字段的阴极为高电平时,相应字段就不亮。共阴数码管是指将所有发光二极管的阴极接到一起形成公共阴极(COM)的数码管。共阴数码管在应用时应将公共极COM 接到地线GND 上,当某一字段发光二极管的阳极为高电平时,相应字段就点亮。当某一字段的阳极为低电平时,相应字段就不亮。


Read more »
123…7
Tony Yuan

Tony Yuan

Kia Ora! My name is Tianfu (Tony) Yuan. And I’m a young passionate website developer living at New Zealand.
63 posts
8 categories
29 tags
RSS
Chat
GitHub E-Mail Twitter Facebook YouTube Instagram Skype LinkedIn
Creative Commons
Links
  • Github
  • WolframAlpha
© 2019 Tony Yuan All Rights Reserved | 481k | 7:17
Powered by Hexo v3.9.0
|
Theme – NexT.Gemini v7.1.1
|