Template: Open051C User Manual
Getting Started with modules
We provide various modules for Open051C User Manual development board aiming to improve your development efficiency. These modules are not only designed for STM32 but also can be used for many other MCU platforms. Let's begin with the demos.
Development Environment
- KEILMDK Version:4.54
- Programmer/Debugger:ULINK/V2
- Programming/Debugginginterface: SWD
- Resultof demos which based on serial port are all checked via SSCOM32, defaultconnection is connect the serial port converter to the USART1 interface.
- Serial port assistant SSCOM3.2 settings:
Select a proper COM port | |
---|---|
Baud rate | 115200 |
Data bits | 8 |
Stop bits | 1 |
Parity bits | None |
Flow control | None |
8Ios
Overview
8I/Os demo,detect the 8 independent button is pressed or not
Hardware connection
|
Operation and result
- The below information will be printed on the serial debuggingassistant:
ADC+DMA
Overview
ADC acquisitiondemo
Hardwareconnection
|
Operationand result
- Rotate the potentiometer on the Analog Test Board, the belowinformation will be printed on the serial debugging assistant:
DAC+DMA
Overview
AD acquisitiondemo
Hardwareconnection
|
Operationand result
- You should hear sound from the Analog Test Board.
GPIO_LED
Overview
GPIO_LED demo
Operation and result
Short the LED JMP
Operation and result
The LED blinking
GPIO_LED_KEY
Overview
Change LEDstatus via button
Hardware connection
Short the LED JMP
Operation and result
Push the joystick, the LEDstatus should keep changing accordingly.
I2C
Overview
Read and writedata on E2PROM via I2C protocol
Hardware connection
|
Operation and result
- The below information will be printed on the serial debuggingassistant:
I2SUDA1380 & SD_FATFS
Overview
Read and write data onE2PROM via I2C protocol
Hardware connection
|
Operation and result
- The below information will be printed on the serial debuggingassistant:
JOYSTICK
Overview
Change the LEDstatus via button, joystick
Hardware connection
Short the LED JMP,JOYSTICK JMP,KEY JMP.
Operation and result
Push the joystick or thekeys, the LED status should keep changing accordingly.
LCD22
Overview
This LCD is 2.2inch resistive touch screen LCD, the resolution is 320x240, drive by mode ofSPI, greatly reduce the pins, MCU with little IO can also available to driveit.
This demo showsdot, the drawing line, the drawing circle, character, etc displayed on the LCD.
Hardware connection
|
Operation and result
Display image on the LCD
LCD22-Touch
Overview
Calibratethe touch screen by click
three times,and then enter into drawing board in the touch screen interface.
You can drawlines freely on the drawing board.
Hardware connection
Connect the "2.2inch320x240 Touch LCD (A)" to the board.
Operation and result
Display imageon the LCD
Message will be displayed on the LCD |
Application
Handheld device display
FATFS V0.08A-SD Card
Overview
Development board drivethe SD card via SPI interface; development board read and write the SD card .
Hardware connection
|
Software configuration
Operation and result
The belowinformation will be printed on the serial debugging assistant:
NRF24L01
Overview
NRF24L01 transmits datavia wireless way.
Hardware connection
|
Software configuration
Download thetransmitting and receiving program for the two NRF24L01 boards respectively.
Operation and result
Messagewill be printed on the serial debugging assistant.
One-Wire
Overview
Connect theDS18B20, detect the temperature
Hardware connection
Connect the DS18B20 to theonboard One-wire socket
Operation and result
The below information willbe printed on the serial debugging assistant:
PS2
Overview
Drive PS2 keyboard via 2GPIO
Hardware connection
|
Operation and result
Press keys on the PS2keyboard, the related key value will display on the serial debugging assistant:
RTC
Overview
Open103C RTCdemo
Hardware connection
Operation and result
The below information willbe printed on the serial debugging assistant:
SPI
Overview
Drive the AT45DBXXDataFlash Board via SPI interface
Hardware connection
|
Operation and result
The below information willbe printed on the serial debugging assistant:
Ucos II
Overview
Ucos ii demo, run twotasks, one is LED0, the other is LED2; switching the two tasks
Hardware connection
Short the LED jumper |
Operation and result
The two LED blinking indifferent frequency.
USART
Overview
USART serial portcommunication demo
Hardware connection
Connect a serial portconverter to the onboard USARTX interface (connect to USART1 or USART2 dependson the program)
Operation and result
The below information will be printed on the serial debugging assistant: