ZKit-51 Motherboard
Description
The ZKit-51 Motherboard is an NXP P89V664 based 8051 microcontroller development kit. The board can be used for prototype development by hobbyists and engineers. The board is also suitable for teaching and learning embedded system programming.Features
The ZKit-51 Motherboard offers the following features
- NXP P89V664 micro-controller with 64KB Flash and 1KB RAM
- Power supply, jumper selectable between USB and external 5V supply
- 16x2 character LCD, with backlight
- USB serial interface, for communication and program download
- 2Kbit SPI EEPROM
- I2C RTC with battery backup
- Piezoelectric buzzer
- Four button keypad
- Push button with hardware de-bounce (interrupt input)
- 2 debug LEDs
- Connectors, for add-on boards
Documents
Software
- SDCC - Small Devices C Compiler
- FlashMagic - In-System Programming Tool
- Smash - Opensource In-System Programming Tool
Sample Code
- buzzer/
-
This sample demonstrates piezo electric buzzer interfacing. When the
program is executed a 100Hz buzzing sound is produced
continuously. Ensure switch 1 of INTR/BUZZ DIP switch is in ON
position.
Download: for Windows for Linux - interrupt/
-
The sample demonstrates interrupt programming. The LEDs toggle
alternately on an INTR key press. Ensure that switch 3 of INTR/BUZZ
DIP switch is in ON position.
Download: for Windows for Linux - keys/
-
The sample demonstrates access of keys KEY1-KEY4. When the program is
executed, the keys are scanned and the key pressed is displayed on the
LCD.
Download: for Windows for Linux - lcd/
-
This sample demonstrates LCD interfacing. When the program is executed
the string "Zilogic Systems" is displayed on the LCD, and after a
delay of 1 second, the string "Explore ZKit-51" is displayed a
character at a time, in a typewriter fashion.
Download: for Windows for Linux - led/
-
This sample demonstrates LED programming. When the program is
executed, the LEDs are blinked alternatively.
Download: for Windows for Linux - rtc/
-
The sample reads and writes to RTC (PCF8563). Ensure that the RTC data
is backed up before running this sample as it overwrites the RTC time
registers. The Low Voltage indicator flag is also overlooked for the
sake of simplicity.
Download: for Windows for Linux - serial/
-
This sample demonstrates UART communication. When the program is
executed, a string is transmitted through the serial interface, and
can be seen using a serial terminal program like Hyperterminal or
Minicom. The serial terminal program should be configured with the
following parameters: 9600 baudrate, 8 data bits, no parity, 1 stop
bit. Also note that while using a serial terminal program, the USBSIO
DIP switches 3 & 4 should be in OFF position.
Download: for Windows for Linux - spi/
-
This sample demonstrates SPI EEPROM access. When the program is
executed the number of reboots occurred is displayed on the LCD. The
reboot count is incremented when the board is reset or
power-cycled. Since on power off or reset data in RAM is lost, the
reboot count is stored in the SPI EEPROM.
Download: for Windows for Linux - timer/
-
This sample demonstrates hardware delays using 8051 timers. When the
program is executed the LEDs are blinked alternatively with a time
period of 1 second.
Download: for Windows for Linux
Related Courses
