0
100% Satisfaction Guarantee
Amazing Value
Fast Shipping
Expert Customer Service
单片机开发从入门到实践
$37.60
1.由浅入深,便于理解通过实用的项目开发讲解,使读者初步建立感观认识,然后对操作结果及出现的问题进行讨论、分析、研究,并得出结论,让读者在做中学,渐进式加深理解和巩固知识点,逐步提高自身的单片机开发水平。使得读者通过本书的学习能够独立完成单片机系统开发。2.内容丰富,参考性强知识点介绍细致,剖析每个概念,加深读者理解。涉及知识面广泛,可随查随用,适合作为单片机系统开发的参考用书。3.项目多,实践性强基于项目实践的方式讲解单片机内部资源应用方法及外部资源扩展原理与实践,力求让读者在实际项目开发中能够快速上手。
本书通过典型、实用的操作项目讲解单片机开发工具、单片机编程基础、单片机硬件基础、知识竞赛数字抢答器、数字电子时钟、多功能数字频率计、手持GPS定位器,使读者初步建立对单片机的整体认知,然后带领读者对操作结果及出现的问题进行讨论、分析、研究,进而得出结论。这样有利于读者在“做”中“学”,渐进式地理解知识点,逐步提高自身的单片机开发能力。希望读者通过学习本书,能够根据不同型号单片机及单片机系统的开发要求,独立完成单片机系统的设计与开发。本书可作为高校电子信息技术、电子工程技术或电气自动化等相关专业及职业学校、培训机构的嵌入式开发、单片机开发课程的教材,也可供有一定编程基础的单片机学习者、对单片机开发感兴趣的爱好者自学。
郭学提:2008年毕业于江西科技师范学院(今江西科技师范大学),毕业后一直从事嵌入式系统开发及教学相关的工作,拥有多年的嵌入式产品开发及设计经验。曾在江西省电子信息工程学校担任电子系单片机实训讲师;在深圳某职业培训机构担任嵌入式开发讲师。现就职于深圳鼎然信息科技有限公司并担任高级嵌入式开发工程师一职。先后发表论文、文章16篇。申请5项发明、实用新型、外观专利。
目录第1章 单片机开发工具 11.1 UltraEdit 11.1.1 UltraEdit用户界面 11.1.2 创建工程 51.1.3 新建文件 61.1.4 添加文件至工程 71.2 Keil 5集成开发环境 81.2.1 Keil 5简介 81.2.2 创建应用程序 101.2.3 调试工程 161.2.4 创建“Hello World”项目 171.3 小结 181.4 习题 19第2章 单片机编程基础 202.1 函数概述 202.1.1 函数无参的一般形式 202.1.2 函数有参的一般形式 212.1.3 函数的形式参数 222.1.4 函数的实际参数 222.1.5 函数的形参和实参的特点 232.1.6 函数的返回值 232.2 函数的调用 242.2.1 函数调用的一般形式 242.2.2 函数调用需要注意的事项 252.2.3 函数的嵌套调用 252.3 数组概述 262.3.1 一维数组的定义 272.3.2 一维数组元素的引用 282.3.3 一维数组的初始化 282.3.4 二维数组的定义 292.3.5 二维数组元素的引用 292.3.6 二维数组的初始化 302.4 字符数组 312.4.1 字符数组的定义 312.4.2 字符数组的初始化 312.4.3 字符数组的引用 312.4.4 字符串和字符串结束标志 312.4.5 字符串处理函数 312.5 指针概述 332.5.1 什么是指针 332.5.2 指针变量的类型说明 342.5.3 指针变量的赋值 342.5.4 指针变量的运算 342.6 指针与数组 362.6.1 一维数组与指针 372.6.2 指针数组 382.7 指针与函数 382.7.1 函数指针 392.7.2 指针型函数 392.8 结构体 412.8.1 结构体的定义 412.8.2 结构体类型的说明 422.8.3 结构体变量成员的表示 432.8.4 结构体变量的赋值 432.8.5 结构体变量的初始化 442.9 结构体指针变量 462.9.1 结构体指针变量概述 462.9.2 结构体指针变量的定义 462.9.3 结构体指针变量的引用 472.10 联合体 472.10.1 联合体的定义 472.10.2 联合体的使用 482.11 枚举类型 492.11.1 枚举类型声明 492.11.2 枚举变量的定义 492.11.3 枚举变量应用举例 492.12 自定义类型 502.13 小结 502.14 习题 51第3章 单片机硬件基础 533.1 单片机I/O口 533.1.1 P0口概述 533.1.2 P1口概述 533.1.3 P2口概述 543.1.4 P3口概述 543.2 定时器/计数器 553.2.1 定时器/计数器概述 553.2.2 定时器/计数器结构 563.2.3 与定时器/计数器控制相关的寄存器 563.2.4 工作方式0 583.2.5 工作方式1 593.2.6 工作方式2 593.2.7 工作方式3 593.3 单片机串行口 603.3.1 串行口概述 603.3.2 串行口结构 603.3.3 与串行口相关的寄存器 613.3.4 波特率 623.3.5 工作方式0 643.3.6 工作方式1 663.3.7 工作方式2、3 663.4 中断 663.4.1 单片机中断概述 673.4.2 中断结构 693.4.3 与中断相关的寄存器 693.4.4 中断的使用方法 713.5 综合应用 723.5.1 基于CD4094的四位数码管驱动电路 723.5.2 单片机与PC通信 743.6 小结 783.7 习题 78第4章 知识竞赛数字抢答器 794.1 数码管驱动 794.1.1 数码管分类 794.1.2 数码管驱动方式 794.1.3 数码管字符编码 804.1.4 数码管静态驱动 824.1.5 数码管动态驱动 834.2 键盘接口技术 854.2.1 独立式开关按键 854.2.2 开关按键的去抖动措施 864.2.3 按键检测 864.2.4 矩阵键盘原理 894.2.5 矩阵键盘检测 894.3 抢答器硬件设计 914.3.1 主控系统 924.3.2 显示模块 934.3.3 声音提示电路 944.3.4 抢答电路 944.3.5 通信电路 964.4 抢答器软件设计 994.4.1 软件架构 1004.4.2 系统初始化 1004.4.3 硬件中断服务 1014.4.4 外部通信接口 1034.4.5 应用程序 1044.4.6 相关数据结构定义 1064.5 小结 1084.6 习题 108第5章 数字电子时钟 1095.1 单总线 1095.1.1 单总线的结构原理 1095.1.2 DS18B20概述 1105.2 I2C总线 1145.2.1 I2C总线的特点 1145.2.2 I2C总线的工作原理 1145.2.3 I2C总线基本操作 1155.2.4 PCF8563概述 1165.3 LCD 1215.3.1 LCD显示器介绍 1215.3.2 HD44780概述 1225.4 数字电子时钟硬件设计 1265.4.1 主控系统 1265.4.2 显示模块 1275.4.3 声音提示电路 1295.4.4 日历/时钟电路 1295.4.5 通信电路 1295.4.6 温湿度检测电路 1305.5 数字电子时钟软件设计 1325.5.1 软件架构 1335.5.2 系统初始化 1335.5.3 硬件中断服务 1345.5.4 I2C总线驱动 1355.5.5 基于单总线的温湿度接口 1395.5.6 硬件接口 1405.5.7 外部通信接口 1445.5.8 应用程序 1445.5.9 相关数据结构定义 1495.6 小结 1515.7 习题 151第6章 多功能数字频率计 1526.1 多功能数字频率计硬件设计 1526.1.1 主控系统 1526.1.2 设置电路 1536.1.3 显示模块 1536.1.4 声音提示电路 1546.1.5 通信电路 1546.1.6 信号处理电路 1546.1.7 信号分频电路 1566.2 多功能数字频率计软件设计 1596.2.1 软件架构 1596.2.2 系统初始化 1596.2.3 硬件中断服务 1606.2.4 硬件接口 1616.2.5 外部通信和系统调试接口 1636.2.6 应用程序 1646.2.7 相关数据结构定义 1686.3 小结 1696.4 习题 169第7章 手持GPS定位器 1707.1 AT89S51单片机存储器扩展基础 1707.1.1 存储器分类 1707.1.2 AT89S51单片机扩展系统 1717.2 SPI总线 1777.2.1 SPI总线的结构原理 1777.2.2 SPI总线的数据传输 1777.2.3 SPI总线的接口 1787.2.4 X25045概述 1787.3 手持GPS定位器硬件设计 1827.3.1 主控系统 1837.3.2 显示模块 1837.3.3 声音提示电路 1847.3.4 通信电路 1847.3.5 扩展SRAM电路 1847.3.6 串行口复用电路 1867.3.7 地址选择电路 1877.3.8 Flash存储电路 1877.3.9 GPS模块电路 1887.3.10 3.3V电源电路 1897.4 手持GPS定位器软件设计 1907.4.1 软件架构 1907.4.2 系统初始化 1907.4.3 硬件中断服务 1917.4.4 硬件接口 1947.4.5 外部通信和系统调试接口 1967.4.6 应用程序 1967.4.7 相关数据结构定义 2087.5 小结 2107.6 习题 210附录A ASCII字符集 211附录B 8051单片机指令表 213附录C Keil C51常用库函数原型 216
Shipping Overview:
• Shipping: Standard Domestic Shipping within the United States charges USD 4.99. Standard International Shipping from United Kingdom, Germany and Japan to the United States charges 14.99.
• Order Processing: Please allow 1-2 business days for order processing and preparation before shipment.
• Domestic Shipping: Orders within the U.S. are shipped via USPS or FedEx, depending on the origin of the product. The average transit time is 3-7 business days.
• International Shipping: Currently, we only ship within the USA.
• Tracking Information: Every order is trackable. You will receive a tracking number once your order has been shipped. Products may be shipped from various global fulfillment centers.
Shipping Delays:
Please note that shipping times may vary due to factors beyond our control, such as weather conditions, natural disasters, or peak holiday periods. While we strive to ensure timely delivery, the exact arrival time cannot be guaranteed and is managed by the shipping carrier.
Shipping Options:
Standard Delivery: Most orders are shipped within 3-7 business days. Larger items may utilize LTL shipping for safe handling.
Handling Time: We handle shipments on business days (Monday - Friday), with a preparation time of 1-2 days.
Additional Charges: Some items require additional shipping charges due to their size, weight, or special handling. These charges are specified on the product pages and are not eligible for shipping discounts.
Exclusions: Gift cards, packaging, taxes, and prior purchases do not count toward the minimum purchase requirement for free shipping. This offer is valid only for shipments to U.S. addresses, including Puerto Rico.
Delivery Details:
Estimates: Standard shipping within the US typically takes 3-7 business days. These are estimates and not guarantees.
Shipping Restrictions: We ship to all 50 states, Washington, DC, U.S. territories, and APO/FPO/DPO addresses. Shipping options vary based on the delivery address.
Remote Areas: Shipments to remote areas may incur additional charges or require pickup from a nearby shipping partner’s location.
Shipping Confirmation:
You will receive a shipping confirmation email with a tracking number as soon as your order is dispatched. If you do not receive this email immediately, please be assured that your items will arrive within the estimated delivery window provided at checkout.
Order Modifications:
If you need to cancel or modify your order, please contact our customer support immediately.
Issues with Delivery:
If your order shows as delivered but you have not received it, please contact the shipping carrier directly to resolve the issue. For persistent problems, contact our customer service at cs@everymarket.com.
Customer Support:
Our team is available 24/7 to assist you with any questions or concerns regarding your order. We are committed to ensuring a smooth shopping experience.
Return & Refund Policy Overview
Please review our return and refund policies below to ensure a smooth transaction process.
Return Policy
Duration: You have 30 days from receiving your item to initiate a return.
Condition: Items must be unworn, unwashed, with original tags and packaging intact.
Shipping Costs: Customers are responsible for return shipping costs.
Packaging: Ensure returned items are well-packaged to avoid damage during transit.
Tracking: Use a trackable and insured shipping method as we are not liable for items lost or damaged on return.
Initiating a Return: Contact us at cs@everymarket.com to start your return. We will provide a return shipping label and instructions upon approval. Returns without prior approval will not be accepted.
How to Return
Method: Returns must be sent back by mail to the address provided in the return instructions.
Return Label
Defective Products: Return labels are provided for defective items.
Non-Defective Returns: Customers are responsible for obtaining their return shipping label.
Product Conditions for Return
Eligible Products: Returns are only accepted for items in new condition.
Nonreturnable Items
Certain items are not eligible for return:
Electronic devices after 30 days (e.g., computers, laptops, Kindles)
Gift cards, prepaid game cards
Perishable goods, live insects, some jewelry, some health and personal care items
Customized or personalized products
Items with special shipping restrictions
Refund Policy
Window: Eligible products may be returned within 30 days of delivery for a refund.
Refund Method: Refunds are processed to the original payment method or as store credit for items purchased with gift cards.
Processing Time: Refunds are processed within 3-5 business days after we receive the return; please allow additional time for shipping and bank processing.
Claims
Inspect your order upon arrival and report any defects, damages, or incorrect items immediately to allow us to address the issue. For claims, contact our support team with details of the issue.
Exchange Policy
For the quickest service, return your original item and place a new order for the desired product once your return is accepted.
Return Address
EveryMarket Customer Service 2101 E Terra Ln, O'Fallon, MO 63366
Customer Support
Available 24/7 for any questions or assistance needed:
Phone: +1 636-312-5925
Email: cs@everymarket.com
Oops!
Sorry, it looks like some products are not available in selected quantity.
OK