{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

51单片机轻松入门:基于STC15W4K系列(C语言版)

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

51单片机轻松入门:基于STC15W4K系列(C语言版)

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Content Description

《51单片机轻松入门:基于STC15W4K系列(C语言版)》以最新流行的不需要外部晶振与复位电路的可仿真的高速STC15W4K系列单片机为核心,详细介绍了单片机内部功能模块,比如定时器、中断、串口、SPI接口、片内比较器、A/D转换器、可编程计数器阵列(CCP/PCA/PWM)等。每个重要知识点都有简短精炼的实例作验证。然后就是单片机常用外围接口的介绍与STC15W4K系列单片机的实际产品运用实例分析。另外,对单片机开发必须掌握的C语言基础知识与Keil开发环境也作了较为详细的介绍。对于没有学习过C语言的读者通过本书也能轻松进入以C语言开发单片机的学习状态。
为了快速验证本书的理论知识,作者设计了与本书配套的双核(两个仿真型单片机)实验板,功能强大,操作简单、直观,除用于本书实验测试外,也可用于产品前期开发。
本书可作为普通高校计算机类、电子类、自动控制类、仪器仪表类、机电一体化类等相关专业教学用书,对已有一定设计经验的单片机工程师也有重要的参考价值。
Catalogue

第1章单片机高效入门
1.1单片机简介
1.1.1认识单片机
1.1.2单片机的用途
1.1.3典型芯片与C语言介绍
1.1.4本书的配套实验板及相关学习工具介绍
1.2点亮一个发光二极管
1.2.1单片机型号命名规则
1.2.2单片机引脚功能说明
1.2.3制作一个最简单的单片机实验电路
1.2.4使用KeilμVision3环境编写最简单的程序
1.2.5ISP下载程序到单片机
1.2.6程序解释
1.3Keil仿真
1.3.1软件仿真
1.3.2硬件仿真
1.4经典流水灯实例
1.5单片机C语言延时程序详解
1.5.1学会使用计算软件
1.5.2计算软件内部运算过程详解
1.5.3利用库函数实现短暂精确延时
1.5.4使用定时器/计数器实现精确延时
1.6main()、void main()和int main()的区别
1.7printf格式化输出函数
第2章单片机开发必须掌握的C语言基础
2.1简单数据类型与运算符
2.1.1原码、反码、补码、BCD码和格雷码
2.1.2常量
2.1.3变量的数据类型(bit、char、int、long、float)
2.1.4变量存储空间(code、data、bdata、idata、xdata)
2.1.5变量存储类型(auto、static、extern)
2.1.6变量作用域
2.1.7运算符
2.1.8运算符的优先级与结合性
2.2C51构造数据类型
2.2.1数组
2.2.2结构体
2.2.3共用体
2.2.4指针
2.2.5#define与typedef的区别
2.3流程与控制
2.3.1分支结构
2.3.2循环结构
2.3.3跳转结构
2.4函数
2.4.1函数定义
2.4.2调用格式
2.4.3传值调用与传地址调用的对比
2.4.4数组作为函数参数
2.4.5使用指针变量作为函数形式参数
2.4.6使用结构体变量指针作为函数参数
2.4.7函数作用域
2.4.8库函数
2.5模块化编程
2.5.1头文件的编写
2.5.2条件编译
2.5.3多文件程序(模块化编程)
第3章定时器/计数器、中断系统
3.1定时器/计数器
3.1.1单片机定时器/计数器工作原理概述
3.1.2定时器/计数器的相关寄存器
3.1.3定时器/计数器的工作方式
3.1.4初值计算
3.1.5编程举例
3.2可编程时钟输出
3.3中断系统
3.3.1中断系统结构图
3.3.2操作电路图中的开关(相关寄存器介绍)
3.3.3编写中断函数
3.3.4中断程序举例
3.3.5外部中断代码调试(按键的防抖技术)
第4章串口通信
4.1最基本的串口通信
4.1.1串口数据发送格式
4.1.2串口相关寄存器
4.1.3波特率计算步骤
4.1.4单片机与计算机通信的简单例子
4.2彻底理解串口通信协议
4.3串口隔离电路
4.4计算机扩展串口(USB转串口芯片CH340G)
4.5RS485串行通信
4.6SSI通信
4.6.1SSI数据通信格式
4.6.2SSI硬件电路
4.6.3SSI软件实现
4.7数据通信中的错误校验
4.7.1校验和(CheckSum)与重要的串口通信实例
4.7.2CRC校验
4.8单片机向计算机发送多种格式的数据
第5章SPI通信
5.1SPI总线数据传输格式
5.1.1接口定义
5.1.2传输格式
5.2SPI接口相关寄存器
5.2.1SPI相关的特殊功能寄存器
5.2.2SPI接口引脚切换
5.3SPI接口运用举例
第6章
I2C通信
6.1I2C总线数据传输格式
6.1.1各位传输要求
6.1.2多字节传输格式
6.2程序模块功能测试
6.2.1硬件仿真观察24C02读/写结果
(R/C时钟:22.118 4 MHz)
6.2.2硬件仿真观察24C32/64读/写结果
(R/C时钟:22.118 4 MHz)
6.324C02运用实例(断电瞬间存储整数或浮点数)
第7章单片机内部比较器与DataFlash存储器
7.1STC15W系列单片机内部比较器
7.1.1比较器结构图
7.1.2寄存器说明
7.1.3电路讲解与程序实例
7.2DataFlash存储器
7.2.1与DataFlash操作有关的寄存器介绍
7.2.2DataFlash操作实例(断电瞬间存储数据)
第8章可编程计数阵列CCP/PCA/PWM模块(可用作DAC)
8.1PCA模块总体结构图
8.2PCA模块的特殊功能寄存器
8.3PCA模块的工作模式与应用举例
第9章模/数转换器ADC
9.1ADC的主要技术指标
9.2使用单片机内部的10位ADC
9.2.1与ADC相关的特殊功能寄存器
9.2.2实例代码
9.312位ADC转换芯片MCP3202B
9.4单通道16位ADC转换芯片ADS1110A
9.5单通道18位ADC转换芯片MCP3421A0TE/CH
第10章数/模转换器DAC
10.1TLC5615数/模转换电路与基本测试程序
10.2TLC5615产生锯齿波、正弦波、三角波
10.3TLC5615的高级运用(播放歌曲)
第11章单片机实用小知识
11.1复位
11.1.1外部RST引脚复位
11.1.2软件复位
11.1.3内部低压检测复位
11.1.4看门狗定时器复位
11.2单片机的低功耗设计
11.2.1相关寄存器说明
11.2.2应用举例
11.3单片机扩展32 KB外部数据存储器62C
11.3.1电路讲解
11.3.2软件测试实例
第12章常用单片机接口程序
12.1数码管静态显示
12.2数码管动态显示
12.3独立键盘
12.4矩阵键盘
第13章1602液晶
13.11602液晶外形与电路图
13.21602液晶应用举例
13.31602液晶显示汉字与特殊符号
第14章精密电压表/电流表/通用显示器/计数器制作
14.1功能说明与电路原理分析
14.2程序实例
14.2.1通用显示器功能检测程序(外部程序)
14.2.2计数器功能检测程序(外部程序)
14.2.3模块程序
第15章步进电机测试
15.1步进电机的特点
15.2步进电机的3种励磁方式
15.3步进电机驱动电路
15.4步进电机驱动实例
15.5步进电机专用驱动器介绍
第16章频率检测
16.1频率检测的用途与频率定义
16.2频率检测实例
第17章DS1302时钟芯片
17.1DS1302的SPI数据通信格式
17.2程序实例
第18章红外通信
18.1红外通信电路与基本原理
18.2红外接收软件实例
第19章单总线DS18B20通信(长距离
无线通信)
19.1DS18B20运用基础
19.1.1单只DS18B20的温度检测电路
19.1.2DS18B20的通信时序
19.1.3DS18B20内部功能部件ROM、RAM和指令集
19.1.4读取温度步骤
19.2单只DS18B20的温度检测
19.3多只DS18B20的温度检测
19.3.1读取传感器代码
19.3.2读取传感器温度
第20章SD卡与znFAT文件系统
20.1认识SD卡与SD卡驱动程序
20.1.1认识SD卡
20.1.2电路讲解
20.1.3通信时序与完整驱动程序说明
20.2znFAT文件系统
20.2.1znFAT的移植方法
20.2.2znFAT移植实例
第21章MP3播放器实验
21.1MP3的介绍与电路讲解
21.1.1VS1003B引脚说明
21.1.2VS1003寄存器
21.2正弦测试
21.3通过SD卡播放MP3文件
第22章数字存储示波器技巧与逻辑分析仪的操作
22.1测量直流电源开关机瞬间输出的毛刺浪涌
22.2测量稍纵即逝的红外发射信号
22.3精确测量直流电源纹波
22.4示波器带宽选用依据
22.5逻辑分析仪快速入门
附录ASCII码表
参考文献
Introduction

STC单片机是在传统8051单片机内核的基础上进行大幅度改进升级优化而来的新一代8051单片机,具有高速、高可靠、低功耗、外围模块多、ISP升级程序方便、价格低廉等显著优点,加上STC宏晶科技单片机的厂商“南通国芯微电子”属于中国大陆本土企业,当我们在产品设计过程中遇到问题时,便于与厂家沟通以获得技术支持,所以STC单片机已经被众多的产品设计工程师作为首选方案而运用到自己的产品中。
STC单片机的指令系统与标准的8051内核完全兼容,过去的51单片机书籍仍然可以拿来作为辅助参考资料。已经熟悉传统8051内核单片机的读者,可以轻松过渡到STC可仿真的超级强大的STC15系列单片机或STC早期的STC89系列单片机,本书的编写建立在笔者十多年的产品设计经验基础之上,具体编写从前到后又花费了近5年的时间,笔者本着十年磨一剑的精神把每一个章节的内容写出水平,因此本书内容翔实,语言简练,通俗易懂,对多年来传统单片机教材含糊不清的概念与重要知识都作了明确分析;全书程序代码编写规范,注重程序的通用性与移植性,让读者既能轻松看懂理论知识,又能方便地将程序代码移植到产品中去。
本教材主讲的单片机型号是STC公司的IAP15W4K58S4(既能仿真又能便用USB直接下载程序),是目前STC最先进的芯片之一,内部资源十分丰富,具有58 KB程序存储器,4 096字节数据存储器,5个定时器,4个独立串口,8通道10位高速A/D转换器, 1个SPI接口支持主机与从机模式,2路CCP/PCA/PWM,6路带死区控制的专用PWM,1个比较器等,支持USB直接下载程序和串口下载程序,内部集成有高精度R/C时钟与高可靠复位电路,支持2.5~5.5 V宽工作电压范围,只需提供电源就能成为单片机最小系统,只需加上一个RS232电平转换芯片或USB转串口芯片再与计算机相连就能成为一个功能完美的仿真系统。程序仿真调试非常方便,用此芯片可以完成本书很多高级实验,比如TLC5615数/模转换芯片播放歌曲、SD卡读/写等。另外,此单片机在软件与硬件上都完全兼容资源略少的上一代单片机STC15F2K60S2系列,因此本书也完全适用于STC15F2K60S2系列的学习。为降低实际产品成本,本书还辅助性地介绍了STC15W404S系列、STC15W404S系列。其资源更少一些,但引脚仍然很多,同样支持宽电压供电,带比较器功能,支持SPI主机与从机模式等。在功能要求比较简单的产品上,为进一步降低成本,读者也可使用STC15W401AS系列或STC15W100系列芯片。
本教材在编写过程中得到了北京航空航天大学出版社和STC单片机创始人姚永平先生的大力支持,使本书在总体架构上的先进性与实用性得到了保证,并由姚永平先生亲自担任本教材的主审,在此向北京航空航天大学出版社和姚永平先生深表谢意。

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book