Difference between revisions of "Open103C"

From Waveshare Wiki
Jump to: navigation, search
Line 18: Line 18:
 
|website_en=[http://www.waveshare.com/ Waveshare website]
 
|website_en=[http://www.waveshare.com/ Waveshare website]
 
}}
 
}}
 +
== Introduction ==
 +
STM32 development board designed for STM32F103C series, features the STM32F103CBT6 MCU, and integrates various standard interfaces, pretty easy for peripheral expansions.
 +
 +
[http://www.waveshare.com/Open103C-Standard.htm More]
 
{{Open103C User Manual}}
 
{{Open103C User Manual}}
 
== Resources ==
 
== Resources ==
*[http://www.waveshare.com/Open103C-Standard.htm Introduction]
 
 
*[[:File:Open103C-UserManual.pdf|User Manual]]
 
*[[:File:Open103C-UserManual.pdf|User Manual]]
 
*[[:File:Open103C-Schematic.pdf|Schematic]]
 
*[[:File:Open103C-Schematic.pdf|Schematic]]

Revision as of 06:50, 16 November 2015

[中文]

Open103C Standard
STM32F1 Development Board
Open103C-Standard l.jpg

STM32 development board designed for STM32F103C series, features the STM32F103CBT6 MCU, and integrates various standard interfaces, pretty easy for peripheral expansions.
Open103C Package A
STM32F1 Development Board
Open103C-Package-A l.jpg
Open103C Package B
STM32F1 Development Board
Open103C-Package-B l.jpg
{{{name4}}}

{{{name5}}}

Introduction

STM32 development board designed for STM32F103C series, features the STM32F103CBT6 MCU, and integrates various standard interfaces, pretty easy for peripheral expansions.

More

Getting Started with modules

We provide various modules for Open103C 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

  • KEIL MDK Version:4.54
  • Programmer/Debugger:ULINK/V2
  • Programming/Debugginginterface: JTAG/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

5IOs

Demo

5I/Os demo,detect the 8 independent button is pressed or not

Hardwareconnection

Open103C-User-Manual-2.jpg

  • Connect the "5IO Keypad" to the onboard 8I/Os interface (make sure the G pin on the module connects to the GND pin on the 8I/Os)

Operation and result

  • The below information will be printed on the serial debuggingassistant:

Open103C-User-Manual-3.jpg

ADC

Overview

AD acquisitiondemo

Hardwareconnection

Open103C-User-Manual-4.jpg

  • Connect the Analog Test Board to the board via 8I/Os interface

Operationand result

  • Rotate the potentiometer on the Analog Test Board, the belowinformation will be printed on the serial debugging assistant (the KEY value islarger indicates that the current voltage is larger):

CAN-LoopBack

Overview

Development boardinternal CAN demo

Hardware connection

Operation and result

The belowinformation will be printed on the serial debugging assistant:

Open103C-User-Manual-5.jpg

CAN-Normal

Overview

CANcommunication between two Open103C boards

Hardwareconnection

Two "SN65HVD230 CAN Board" are required, connect them to two Open103C board respectively;

Connect the two CAN board via DuPont wire(CANL->CANL,CANH->CANH)

Operationand result

  • Thebelow information will be printed on the serial debugging assistant:

Open103C-User-Manual-6.jpg

ENC28J60

Overview

The developmentboard communicates with the PC via Internet

Hardware connection

Open103C-User-Manual-7.jpg

  • Connect the "ENC28J60 Ethernet Board" to the onboard SPI interface, then connect it to PC through an Ethernet cable

The IP of the PC configuring as 192.168.0.xxx;for example:

Configuring IPof both the PC and the module on the same network:

Right click the Internet->Properties -> ClickLocal connection->ClickProperties->FindInternet Protocol Version4(TCP/IP V4, the followingdialog box will pop up, set the appropriate IP address, subnet mask, anddefault gateway:

IP address: 192.168.0.11

Subnet Mask: 255.255.255.0

Default Gateway: 192.168.0.1

Operation andresult

Open thebrowser; enter 192.168.0.100/888; press the Enter key:

Open103C-User-Manual-8.jpg

GPIO_LED _JOYSTICK

Overview

Change LEDstatus via button, joystick

Hardware connection

Short the LED JMP,JOYSTICK JMP,KEY JMP

Operation and result

Push the button orjoystick, the LED status should keep changing accordingly

I2C

Overview

Read and writedata on E2PROM via I2C protocol

Hardware connection

Open103C-User-Manual-9.jpg

  • Connect the AT24/FM24 Board to the board via I2CX interface( connect to I2C1 or I2C2 depends on the program)

Operation and result

  • The below information will be printed on the serialdebugging assistant:

Open103C-User-Manual-10.jpg

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 IOs can also available to driveit.

This demo showsdot, the drawing line, the drawing circle, character, etc displayed on the LCD.

Hardware connection

Open103C-User-Manual-11.jpg

  • Connect the "2.2inch 320x240 Touch LCD (A)" to the board

Operation and result

Display image on the LCD

LCD22_TouchPanel

Overview

Calibrate thetouch screen by click

Open103C-User-Manual-12.jpg

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 image on the LCD

Open103C-User-Manual-13.jpg

Display image on the LCD

Application

Handheld device display

Micro SD

Overview

Open103C drive SD card viaSPI interface; Open103C read and write SD card

Hardware connection

Open103C-User-Manual-14.jpg

  • Connect the Micro SD Storage Board (with SD card) to the board via SPI1 interface

Software configuration

Operation and result

Thebelow information will be printed on the serial debugging assistant:

Open103C-User-Manual-15.jpg

NRF24L01

Overview

NRF24L01 transmits datavia wireless way.

Hardware connection

Open103C-User-Manual-16.jpg

  • Connect the NRF24L01 Board to the board via SPI interface

Software connection

Two NRF24L01are needed for this demo, the software configuring as below:

Whenconfiguring as mode of transmitting, enabled: #define T_O_R 1, comment out: //#define T_O_R 0;

Whenconfiguring as mode of receiving, enable: #define T_O_R 0,comment out: //#define T_O_R 0

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 belowinformation will be printed on the serial debugging assistant:

Open103C-User-Manual-17.jpg

RTC

Overview

Open103Conboard RTC demo

Hardware connection

Operation and result

The belowinformation will be printed on the serial debugging assistant:

Open103C-User-Manual-18.jpg

SPI

Overview

Drives the AT45DBXXDataFlash Board via SPI interface

Hardware connection

Open103C-User-Manual-19.jpg

  • Connect the "AT45DBXX DataFlash Board" to the onboard SPIX interface (connect to SPI1 or SPI2 depends on the program)
  • Connect a serial port converter to the onboard USART2 interface

Operation and result

Thebelow information will be printed on the serial debugging assistant:

Open103C-User-Manual-20.jpg

Ucos II

Overview

Ucos ii demo, run twotasks, one is LED, the other is LCD; switching the two tasks

Hardware connection

Open103C-User-Manual-11.jpg

  • Short the LED jumper
  • Connect the "2.2inch 320x240 Touch LCD (A)" to the board

Operation and result

LCD displays message, LEDskeep blinking at the same time

USB-JoyStick Mouse

Overview

Open103C USB mouse demo,Open103C works as USB device to control the mouse

Hardware connection

Open103C-User-Manual-21.jpg

  • Connect the board to the PC through USB cable

Software configuration

Operation and result

An USB devicewill appear on the PC device manager:

Control the computer cursor by joystick

VS1003B

Overview

Play music via VS1003B.

Hardware connection

Open103C-User-Manual-22.jpg

  • Connect the "VS1003B MP3 Board" to the onboard SPI interface

Operation and result

  • VS1003 (GPIO): P0 LEDkeep blinking
  • VS1003 (line in): canhear music from the PC
  • VS1003 (line out): canhear music from the MCU FLASH
  • VS1003 (record): can hearsound from the microphone

Resources

STM32 Software

IDE

Programmers

USB Driver

Other Software

STM32F1 Datasheets

  1. REDIRECT Template:Related Resources

Support

Support

If you require technical support, please go to the Support page and open a ticket.