Actions

ZL27ARM

Revision as of 10:16, 30 August 2018 by Wlodzimierzhepner (talk | contribs) (CAN interface)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

ZL27ARM is versatile evaluation board for STM32F103 microcontrollers. It is equipped with many peripherals (CAN, USB, digital thermometer). It can be used as development board or in educational purposes.

Zl27arm.jpg


Features
  • STM32F103VBT6 microcontroller in LQFP100 package (128kB Flash, 20kB SRAM, 2×SPI, 2×I2C, 3×UART, USB, CAN, ADC)
  • Two crystal resonators (8MHz, 32.768kHz)
  • 4-switch keyboard
  • 5-position joystick
  • 8LEDs
  • Five 16-bit GPIO ports
  • Connector for 2×16 alphanumeric LCD (for example LCD1602)
  • LCD backlight with brighness control (PWM)
  • Digital thermometer TC77 (Microchip) with SPI
  • CAN interface with DB9M connector
  • USB interface (device)
  • Piezoelectric speaker
  • Analog potentiometer
  • 20-pin JTAG connector
  • USB connector for data transmission between PC and STM32 microcontroller
  • SD/MMC connector
  • DB9 connector and RS232 interface
  • Jumpers for boot memory selection


Standard equipment
Kod Opis
ZL27ARM
  • Assembled ZL27ARM board


Schematic

Schematic of ZL27ARM is show on following pictures.


ZL27ARM sch1.png


ZL27ARM sch2.png


Power supply

ZL27ARM can be powered from USB (Con2 connector, PWR_SEL jumper in USB position) or from external supply unit (9...12V, Con1 connector, PWR_SEL jumper in EXT position). SW4 is power switch and D9 is power indicator. Board is equipped with +5V and +3,3V voltage regulators. Both voltages are available on pin headers.


ZL27ARM zas.png


ZL27ARM zas1.png


Keyboard

ZL27ARM is equipped with 4-button keyboard (SW0-SW3). All buttons have pull-up resistors. Buttons are connected to PA0-PA3 microcontroller lines. Notice! Microcontroller lines PA0-PA3 are common for keyboard and Joy1 joystick.


ZL27ARM kb.png


ZL27ARM kb1.png


Joystick

ZL27ARM is equipped with 5-position joystick. All switches have pull-up resistors. Joystick lines are connected to PA0-PA3 and PC5 microcontroller lines. Notice! Microcontroller lines PA0-PA3 are common for keyboard and Joy1 joystick.


ZL27ARM joy.png


ZL27ARM joy1.png


LEDs

ZL27ARM is equipped with 8 LEDs indicating high level on PB8-PB15 microcontroller lines.


ZL27ARM led.png


ZL27ARM led1.png


Analog potentiometer

ZL27ARM is equipped with P1 analog potentiometer (voltage range: 0...3.3V). P1 is connected to PC4.


ZL27ARM pot.png


ZL27ARM pot1.png


Digital thermometer

ZL27ARM is equipped with TC77 digital thermometer (by Microchip) with SPI interface. TC77 communication lines (SCK, SIO, CS) are available on JP7 connector.


ZL27ARM tc77.png


ZL27ARM tc771.png


Piezoelectric speaker

ZL27ARM is equipped with Spk1 piezoelectric speaker. For sound generation you can use microcontroller counters or you can do it programmatically. Speaker is connected to pin SPK on JP7 connector.


ZL27ARM spk.png


ZL27ARM spk1.png


Alphanumeric 2x16 LCD connector

ZL27ARM is equipped with connector for alphanumeric 2x16 LCD connector with HD44780 driver (4-bit mode). Contrast adjustment can be done with P2 potentiometer. LCD control lines are connected to microcontroller as shown in Tab. 1.


Board is designed to work with alphanumeric 2x16 LCD with pin header (for example LCD1602).


Lcd 1602 2.jpg


Lcd 1602.jpg


ZL27ARM lcd.png


ZL27ARM lcd1.png


Tab. 1. GPIO lines used to control LCD

LCD line GPIO Line
D7-D4 PC0-PC3
E PC10
RW PC11
RS PC12


LCD backlight

Backlight LEDs in LCD can be powered by NPN transistor (T3). Backlight can be also connected to +3.3V or to PWM by JP2 jumper.


ZL27ARM bl.png


ZL27ARM bl1.png


Position Description
Off Backlight on
uC Backlight controlled by PWM
USB interface

ZL27ARM is equipped with USB-B socket. JP9 jumper sets whether pull-up resistor for D+ is connected to GND (USB not active) or to PD2 microcontroller line.


ZL27ARM usb.png


ZL27ARM usb1.png


SD/MMC connector

ZL27ARM is equipped with SD/MMC connector (in SPI mode). Socket is connected to SPI1 lines (PA4-PA7 and PA8) of STM32F103VBT6 microcontroller.


ZL27ARM sd.png


ZL27ARM sd1.png


BOOT jumpers

ZL27ARM is equipped with BOOT0 and BOOT1 jumpers for boot memory selection (Tab. 2).


ZL27ARM boot.png


ZL27ARM boot1.png


Tab. 2. BOOT jumpers and boot modes

BOOT0 BOOT1 Boot mode
0 X Flash memory
1 0 System memory
1 1 RAM


I/O pin headers
ZL27ARM gpio.png


ZL27ARM gpio1.png


JTAG interface

ZL27ARM board is equipped with JP4 connector for programming/debugging using JTAG interface (for example ZL30PRG).


ZL27ARM jtag.png


ZL27ARM jtag1.png
Zl30prg.jpg


RS232 interface

ZL27ARM is equipped with DB9F connector (Con3) and voltage level converter TTL/RS232, that can be used to communicate with PC with RS232 interface. RxD and TxD lines are connected to PA10 and PA9 microcontroller lines (USART1).


ZL27ARM rs232.png


ZL27ARM rs232 1.png


CAN interface

ZL27ARM is equipped with Con4 connector and CAN L9616 converter, which is connected to PB8 and PB9 microcontrolller lines.


ZL27ARM can.png


ZL27ARM can1.png