ZDev, Open-source Library for Micro-controllers

ZDev is an open source software framework, consisting of modules for easy and quick embedded application development. ZDev is free and open source software, and is distributed under LGPL. ZDev currently supports the following microcontrollers:

  • P89V51RD2 - 8051 micro. from NXP

  • P89V664 - 8051 micro. from NXP

  • LPC1343 - ARM Cortex-M3 micro. from NXP

ZDev has the following modules.

Common Modules

  • Board - Initialize the board

  • Event - Check for events and dispatch callbacks

  • IRQ - Enable/Disable interrupts, and register handlers

  • Timer - Call functions after a timeout

  • Delay - Generate short delays

  • Error - Handle error conditions

HID Modules

  • LCD - Display text on an LCD

  • Graphics - Draw text & images on a graphics display

  • Buttons - Read button status

Networking and Communication Modules

  • I2C - Communicate with I2C devices

  • SPI - Communicate with SPI devices

  • Serial - Communicate with serial devices

Analog and Digital I/O Modules

  • GPIO - Control digital pin state

  • PWM - Generate PWM signals

  • ADC - Measure analog voltages

  • DAC - Generate analog voltages

Storage Modules

  • EEPROM - Access non-volatile memory


  • Free - ZDev is free and doesn’t have a licensing cost nor royalities.

  • Open source - ZDev can be modified for requirement of the developer

  • Constant Updates - ZDev team at Zilogic constantly keeps it updated with new features and fixes to bugs

  • Tested - ZDev has been tested well on ZKit platforms - 8051, ARM and with several add-on boards from Zilogic Systems.

  • Rich set of Drivers - Most of the peripheral drivers are provided by ZDev and several subsystems for event driven application development are inherently part of ZDev.

  • Extensive Documentation - ZDev is backed up with extensive documentation for developers, available in PDF, HTML and Man pages!

  • Unified Platform Setup - ZDev has been ported to 8 bit 8051 to 32 bit ARM-Cortex controller. The APIs are similar and common around all the platforms.

Documentation and Source Code