uPAC-5000
The .zip file contains the required header files, libraries and a lot of useful demos.
FILE NAME | DESCRIPTION | VERSION | SIZE | DOWNLOAD |
---|---|---|---|---|
upac-5000_demo.zip | upac-5000 SDKs and Demo Samples | - | 3.14 MB |
File Structure
upac-5000_demo.zip
Basic
The table below lists the required header files and libraries for uPAC-5000 that are contained in Lib subfolder.
uPAC-5000 Libraries
FILE NAME | DESCRIPTION |
---|---|
Lib | Required Header Files and Libraries header file: uPAC5000.h library: uPAC5000.lib --------------------------------------------- Other Header Files and Libraries For MiniOS7 COM Port header file: OS7_COM.h library:OS7_COM.lib |
Demo Samples for System Operation and Local I/O Expansion
The table below lists the useful demos for uPAC-7186E system operation and I/O expansion that are also contained in this folder.
FILE NAME | DEMO | DESCRIPTION |
---|---|---|
File | Config_1_Basic | Reads information from text files(basic). |
File | Config_2_Advanced | Reads config file (text file)(advanced). |
Hello | Hello_C | Reads library version and flash memory size. |
Hello | Hello_C++ | Reads library version and flash memory size. |
MISC | Rotary_switch | Shows how to read the position of the switch. |
Memory | EEPROM | To write a value to EEPROM and show it on monitor. |
Memory | EEPROM-r | To reading the data you write to EEPROM. |
Memory | EEPROM-w | Inputting a value to write to EEPROM block 1 peer address (value will auto-plus 1). |
Memory | Flash | To read, write and erase Flash memory. |
Memory | Flash-r | To read the value that is wrote to the flash memory. |
Memory | Flash-w | Inputting a value and write to flash memory. (value will auto-plus 1) |
Memory | NVRam-r | To read the value that is wrote to NVRAM. |
Memory | NVRam-w | To write a value to NVRAM (value will auto-plus 1). |
Date Time | - | User can read and write the date & time of RTC. |
Timer | DEMO90 | It’s a demonstration for using Timer function. |
Timer | DEMO91 | To use CountDownTimer channel 0 for LED ON/OFF. |
Timer | DEMO92 | To use StopWatch channel 0 for LED ON/OFF. |
Timer | DEMO96 | To use User timer function for 5DigitLed. |
Timer | DEMO97 | To use DelayMs function for LED ON/OFF. |
Timer | DEMO98 | To use I-7188 timer function to send/receive data to/from 7000's modules. |
LED | LED | To control red led and 7-segment display. |
LED | Seg7led | To control red led and 7-segment display. |
COM_Ports | C_Style_IO | 1. Show how to write a function for input data. 2. To get a string. 3. To use C function: sscanf,or just use Scanf(). |
COM_Ports | Receive | Receive COM Port Slv_COM.c is non-blocked mode. Receive.c is blocked mode. |
COM_Ports | Slv_COM | Slave COM port demo for (request/reply) or (command/response) application. |
COM_Ports | ToCom_In_Out | How to Read/Write the byte data via COM port. |
7K87K_Module | 7K87K_demo_for_com | User can use com port to connect and control 7k or 87k modules. |
7K87K_Module | 7K87K_DI_for_Com | User can use com port to connect and control 7k or 87k modules. |
7K87K_Module | 7k87K_DO_for_Com | User can use com port to connect and control 7k or 87k modules. |
7K87K_Module | 7K87K_DIO_for_Com | User can use com port to connect and control 7k or 87k modules. |
7K87K_Module | 7K87K_AI_for_Com | User can use com port to connect and control 7k or 87k modules. |
7K87K_Module | AO_024_for_Com | User can use com port to connect and control 7k or 87k modules. |
7K87K_Module | AO_22_26_for_Com | User can use com port to connect and control 7k or 87k modules. |
Libraries and Demo Samples for MiniOS7 File System (MFS)
The 5000_FD subfolder contains a lib subfolder that contains the required header files and libraries for MiniOS7 File System (MFS). It is also contains a lot of useful demos.
▎Required Header Files and Libraries
FILE NAME | DESCRIPTION |
---|---|
lib | Required Header Files and Libraries header file: MFS.h library: MFS_V224.LIB |
▎Demo Samples
FILE NAME | DEMO | DESCRIPTION |
---|---|---|
7186FD | Utility | Utility for the MiniOS7 File System. Operations Include Dir, Read, Write, etc. |
7186FD | MFS_QA | Quality assurance program for the MiniOS7 File System. Including function test, read/write performance test. |
7186FD | Puts | How to write a string to a file in the 64MB flash memory. |
7186FD | Gets | How to get a string from a file in the 64MB flash memory. |
Refer to the MiniOS7 File System Library for more information about MiniOS7 File System.
Libraries and Demo Samples for MiniOS7 microSD
The microSD subfolder contains a lib subfolder that contains the required header files and libraries for MiniOS7 File System (MFS). It is also contains a lot of useful demos.
▎Required Header Files and Libraries
FILE NAME | DESCRIPTION |
---|---|
lib | Required Header Files and Libraries header file: microSD.h library: SD_V106.LIB |
▎Demo Samples
FOLDER | DESCRIPTION | |
---|---|---|
microSD | sd_qa | Shows how to connect and control the microSD. |
microSD | sd_read | Shows how to connect and control the microSD. |
microSD | sd_util | Shows how to connect and control the microSD. |
microSD | sd_write | Shows how to connect and control the microSD. |
Refer to the MiniOS7 microSD Library for more information about MiniOS7 File System.
Libraries and Demo Samples for Ethernet
The Ethernet subfolder contains a lib subfolder that contains the required header files and libraries for enabling Ethernet communication. It is also contains a lot of useful demos.
▎Required Header Files and Libraries
FILE NAME | DESCRIPTION |
---|---|
lib | Required Header Files and Libraries header file: Tcpip32.h library: tcp_dm32.lib |
▎Demo Samples
FILE NAME | DEMO | DESCRIPTION |
---|---|---|
TCP | TCP_Client | Connection support client and server for TCP |
TCP | TCP_Server | Connection support client and server for TCP |
TCP | SMTP | Connection support client and server for TCP |
TCP | ICMP | Connection support client and server for TCP |
TCP | DHCP | Connection support client and server for TCP |
UDP | UDP_Server | Connection support client and server for UDP |
UDP | UDP_Client | Connection support client and server for UDP |
Libraries and Demo Samples for 2G/3G
The 5200_GSM subfolder contains a lib subfolder that contains the required header files and libraries for 2G/3G service. It is also contains a lot of useful demos.
▎Required Header Files and Libraries
FILE NAME | DESCRIPTION |
---|---|
lib | Required Header Files and Libraries header file: GSM.h library: GSM.LIB |
▎Demo Samples
FILE NAME | DEMO | DESCRIPTION |
---|---|---|
5200_GSM | UDPClientDemo | UDP Client Demo. |
5200_GSM | TCPClientDemo | TCP Client Demo. |
5200_GSM | smsDemo | Send/Receive SMS message. |
5200_GSM | NITZDemo | Check the status of NITZ. |
Libraries and Demo Samples for XW-Board
The XWboard subfolder contains a lib subfolder that contains the required header files and libraries for XWboard. It is also contains a lot of useful demos.
▎Required Header Files and Libraries
FILE NAME | DESCRIPTION |
---|---|
lib | Required Header Files and Libraries for XW310C header file: XW310C.h library: XW310C.LIB Required Header Files and Libraries for XW310 header file: XW310.h library: XW310.LIB Required Header Files and Libraries for XW304 header file: XW304.h library: XW304.LIB Required Header Files and Libraries for XW110 header file: XW11-.h library: XW110.LIB Required Header Files and Libraries for XW107 header file: XW107.h library: XW107.LIB |
▎Demo Samples
FILE NAME | DEMO | DESCRIPTION |
---|---|---|
XWboard | XW511i | Shows how to connect and control the XW-board. |
XWboard | XW310C | Shows how to connect and control the XW-board. |
XWboard | XW310 | Shows how to connect and control the XW-board. |
XWboard | XW304 | Shows how to connect and control the XW-board. |
XWboard | XW110i | Shows how to connect and control the XW-board. |
XWboard | XW107 | Shows how to connect and control the XW-board. |
Framework
This folder contains a Framework_Demo_List.htm file that describes all the demos contained within this folder.
It is also contains the required header files and libraries for MiniOS7 framework that are contained in lib subfolder within this folder.
Libraries and Demo Samples for MiniOS7 Framework
▎Required Header Files and Libraries
FILE NAME | DESCRIPTION |
---|---|
lib | Required Header Files and Libraries header file: MFW.H library: FW_09314.lib |
▎Demo Samples
FILE NAME | FUNCTION | DESCRIPTION |
---|---|---|
FW_Demo01 | TCP Client | To connect to the network, create socket and use it to communicate over TCP by acting as a TCP client. |
FW_Demo01_1 | TCP Client | To connect to the network, create socket and use it to communicate over TCP by acting as a TCP client. This sample also shows how to convert a host or domain name to an IP address using DNS. |
FW_Demo20 | Modbus slave | The uPAC-5000 work as a Modbus TCP/RTU/ASCII slave which supports Modbus TCP/RTU/ASCII. |
FW_Demo20_1 | Modbus master | The uPAC-5000 works a Modbus TCP/RTU master, which polls Modbus TCP/RTU slave devices. |