Zynq-7000 Tutorial 1 – Vivado Installation


Zynq-7000 is a programmable System-on-Chip (SoC) manufactured by Xilinx. Zynq consists of Processing Systems (PS) and Programmable Logic (PL). The Zynq block diagram is shown in the following figure. The PS consists of hard core components, i.e. the components are permanently embedded in the silicon. The PS components are dual core ARM Cortex-A9, DDR3 memory controller, flash memory controller, and peripherals. The PL is an FPGA (Xilinx Artix-7 or Kintex-7 based FPGA), which can be used for implementing soft core components.

Xilinx Zynq7000

Continue reading “Zynq-7000 Tutorial 1 – Vivado Installation”

STM32F103 SPL Tutorial 8 – Interfacing Unipolar Stepper Motor

Stepper Motor

Stepper motor is an electromechanical device that converts electrical pulses into discrete mechanical movements. In this tutorial, I will explain how to control a unipolar stepper motor using STM32F103 microcontroller. If you don’t know the basic of the stepper motor, I suggest you to read this post. To interface a stepper motor from a microcontroller, we can’t directly drive it with GPIO pins because GPIO pins have maximum current that can sink or source from it. To overcome this problem, we can use driver circuit. The driver circuit for unipolar stepper motor can be built by using 4 transistors to drive large current to the 4 wires of a stepper motor. It also can be built with ULN2003 IC. This is the circuit for driving a unipolar stepper motor from STM32F103 by using ULN2003 IC.

Stepper driver

Continue reading “STM32F103 SPL Tutorial 8 – Interfacing Unipolar Stepper Motor”

STM32F103 SPL Tutorial 7 – Interfacing LCD16x2


LCD16x2 is a popular display module and commonly used in various devices. In this tutorial, I will explain about how to use LCD16x2 with STM32F103 microcontroller. If you want to know the detail how LCD16x2 works, you can follow this tutorial. To interface the LCD with STM32F103, you need the library files (lcd16x2.h and lcd16x2.c). You can get the library files and from here.

STM32F103 LCD16x2

Continue reading “STM32F103 SPL Tutorial 7 – Interfacing LCD16x2”