Programming The Zilog ZNEO Microcontroller By Example
by Dan Eisenreich
The Programming The Zilog ZNEO Microcontroller By Example series will provide readers with a thorough understanding of how to design and program embedded control systems using the Zilog ZNEO microcontroller. This book series will present, in detail, all of the architectural features of the ZNEO and provide the reader with a detailed explanation of how to develop programs that use the full capability of the microcontrollers. This is not intended to be a replacement for the Zilog product specification, but will serve as a companion to the Zilog documentation, providing the reader with many example programs. In fact, the most significant aspect of the book series will be the numerous, detailed, documented and explained C programs that demonstrate how to configure and use each and every feature of the ZNEO microcontroller.
Each book in Programming The Zilog ZNEO Microcontroller By Example series will be essentially separate chapter of a larger book. Together they will form a complete book of example programs for the ZNEO microcontroller. Separately they will each be able to stand on their own and will focus on one point or aspect of the ZNEO. Users can read the individual books that they are interested or the entire series for a complete understanding.
The examples will be based on the new Zilog Education Platform.
Get yours at the Zilog Store.
Send comments or questions to firstname.lastname@example.org.
I make no promises on the release dates, order, or scheule. Im working on this as time is available. Im currently planning on the following mini-books in the series (the exact title may change):
The Getting Started volume is an overview of the ZNEO Microcontroller. Includes 16 examples of how to write programs for it and get things working. (80 pages in the PDF).
Progress: 100% (Complete). Buy it now: as a DRM free PDF from Smashwords, from Amazon for Kingle or Google Play books.
Will take you through each feature of the new Zilog Educational Platform, discuss the capabilities of the hardware and work through one or more example programs demonstrating how to write software for the ZNEO to fully utilize that component. Includes the speaker, liquid crystal display, keypad, USB interface, test shield, BlueTooth shield and WiFi shield.
Progress: 25% of the way there!
A thorough overview of interfacing devices to the Z16F using digital interfaces: Simple parallel interface, Driving hi-current devices, Reading values, Level Shifting, Open Drain devices, Using Latches to expand IO space, Using shift registers to expand IO space.
Serial interfaces come in several varieties including those not implemented in hardware. This book will include examples on: UART RS-232 and using the stdio library, Adding UART IO complexity with interrupt, UART RS-485 / Multimode, I2C Interface, SPI interface, PS/2 interface, BitBang IO for 1-wire and UNIO memories and sensors.
Everything there is to know about Analog IO including: Analog Inputs on the ZNEO microcontroller, Using the ZNEO comparator, Adding Analog Input (with digital IO I2C, 1-wire, SPI), Adding Analog Output (with digital IO, I2C, 1-wire, SPI), Approximating Analog output with PWM, Making a R2R ladder for Analog Output, 1-bit audio output.
Worked examples from all of the previous chapters and some new information where I give tons of example code for ~30 different temperature sensors using all sorts of interfaces: PWM, Analog, I2C, SPI, 1-wire
Worked examples from all of the previous chapters and some new information where I give tons of example code for each of the sensors in the SparkFun Sensor Kit.
Various ways to add memory to the Z16. SRAM, FLASH, SPI, I2C, 1-wire, UNIO. Ways to acess flash. Ways to address RAM. Differences in the small/large memory model. wip_Memory
All about controlling an assortment of motors, relays, solenoids, etc. Overview on motor types, type of controller hardware, Controlling DC low voltage motors, Controlling DC motors, high current or high voltage, Controlling servos, Controlling stepper motors
Thorough overview of low power modes. How to modify your development board to measure current and voltage so we can monitor power draw, How STOP mode and HALT mode work.
All about communicating an assortment of interfaces such as bluetooth, wifi, USB, GSM radios, etc. Starting with a wireless overview and then progressing through many examples in IrDA, FM MHz transmitters/receivers, WiFi radios, Bluetooth, GSM radios, and an example of wirelessly posting your data to the internet (Sen.se and cosm.com)
Intended as a second in the series for students with little or no C programming experience. Will include the basics of C programming and many examples of C programming using the ZNEO.
Tools and techniques for programming the debugging the ZNEO microcontroller. Includes using a Serial Cable for debugging, USB cable, The Zilog Programming/Debug protocol, discussion on general C and assembly debug techniques, Using an oscilloscope, Using LEDs status indicators, Using a logic analyzer.
For students with little or no assembly programming experience. Will include the basics of assembly programming and many examples programming the ZNEO.
Rather than use the development kits and boards available, I will show the various steps to making a custom embedded system based on the ZNEO. Includes a Minimum parts version, Stamp version (like the Mini-Z), Arduino Footprint (Compatible with Arduino shields) version, And something like a 1984 home computer (a 16-bit CPU with 1MB Flash, 512 KB RAM, SD Card, LCD).
The example programs for the above mini books will use one or several of the available Zilog development boards.
Zilog ZNEO education platform
Mini-Z ZNEO 28-Pin Module
Mini-Z ZPAN 28-Pin Module (Mini-Z with Bluetooth radio)
Mini-Z WLAN 28-Pin Module (Mini-Z with WiFi radio)
ZNEO Z16F Series Development Kit, Z16F2800100ZCOG
ZNEO Contest Kit, ZNEOCTK0100KIT (while this kit is marked as End Of Life, there are a few left in the Mouser Electronics store and occasionally one is available from a seller on eBay).