|
Table of Contents
1.Microcontroller Basics: What's a Microcontroller?,
A Little History, New Tools, Project Steps.
2.Inside the 8052-BASIC: Possibilities, Limits, What You Need,
The 8051 Family, Elements of the 8052 and 8052-BASIC.
3.Powering Up: About the Circuit, Circuit Construction, Powering
Up, Basic tests, Simple Programs to Try, Exiting Programs.
4.Saving Programs: Nonvolatile Memory Options, Adding NVRAM or
EEPROM, Using the Programming Commands, Adding Bootup Options,
Erasing NV Memory, Adding more NVRAM or EEPROM, Adding EPROM,
EPROM-programming Circuits, Power Supplies for Programming, Storing
Programs on Disk.
5.Programming: Programming Basics, BASIC-52 Bugs and Things to
Watch Out For, Finding Program Errors, BASIC-52 Keywords by Function,
Quick Reference to BASIC-52.
6.Inputs and Outputs: The Memory Map, Uses for I/O Ports, Adding
Ports, The 8255 Programmable Peripheral Interface.
7.Switches and Keypads: Simple Switches, Adding a Keypad.
8.Displays: Using LEDs, 7-segment Displays, Displaying Messages,
Inside the Display Controller, Mounting Displays in an Enclosure.
9.Using Sensors to Detect and Measure: Sensor Basics, Choosing
Sensors, On/off Sensors, Analog Sensors, Sensor Examples, Level
Translating, Choosing a Converter.
10.Clocks and Calendars: BASIC-52's Real-time Clock, A Watchdog
Timekeeper.
11.Control Circuits: Switching Power to a Load, Controlling a
Switch Matrix, Op Amp with Programmable Gain, Controlling a Stepper
Motor, Speed Control of a Continuous DC Motor.
12.Wireless Links: Infrared Links, Increasing the Distance, Radio
Links.
13.Calling Assembly-language Routines: Assembly-language Basics,
What You Need, Loading a Routine, File Formats for Assembly-language
Routines, Assembling a Program, Uploading a Program, Example:
Creating a Sine Wave, Avoiding Program Crashes, Interrupts, Adding
Custom Commands and Instructions, A General-purpose EPROM Programmer.
14.Running BASIC-52 from External Memory: Reasons, Copying BASIC-52,
System Requirements, Storing BASIC-52 Programs.
15.Related Products: Enhanced BASIC-52, BASIC compilers, Programming
Environments, Pc Boards, BASIC-52 Source Code.
Appendix A. Sources, Books, BBS's, Product
Vendors.
Appendix B. Programs for Loading Files.
Appendix C. Number Systems, About Number Systems, Kilobytes and
Megabytes. |