Skip to content
Graphical data monitoring, Logger and debugger for CAN protocol based on ARM microprocessor
Branch: master
Clone or download
Latest commit 2850e9e Nov 30, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
driver
util V1.0 Oct 5, 2018
.gitignore
File_Config.c V0.9 - MMC Oct 5, 2018
JLinkArm_Monitornig.ini
LPC2300.s
LPC23xx.h
Main.c V1.0 Oct 5, 2018
Monitoring.plg
Monitoring.uvgui.erfan V1.0 Oct 5, 2018
Monitoring.uvopt
Monitoring.uvproj V1.0 Oct 5, 2018
README.md Update README.md Nov 29, 2018
RTA_Config.c
RTA_LPC2300.s V0.9 - MMC Oct 5, 2018
Retarget.c V0.9 - MMC Oct 5, 2018
app_config.h
config.h
debug.h
font5x8.h
initialization.c
initialization.h
pic1_glcd.h

README.md

Multi task monitoring and logger system

Touchscreen graphical data monitor, debugger and Logger for CAN protocol based on an ARM-microprocessor which designed for an autonomous middle size robot.

Features

N|Solid N|Solid


Software

Multi-task monitoring and logger system programmed by Keil uVision with C programming language. In the driver section, I implemented and defined CAN protocol, Graphical LCD, SPI, Interrupts and memory card in this system. In the util section which includes all the details of the monitoring system, we have initialization, tab, logger, network, RGB Led and Main files.

  • initialization.h: defined all driver files and pin configuration so every other file can use this library for accessing to whole system parameters.
  • tab.h: contains commands that display the taskbar and get the touchscreen information.
  • logger.h: to make a text file every minute and save data on the memory card and Information on the CAN bus is stored on it
  • network.h: read or write on CAN bus, along with this activity, the RGB LED file displays these reading and writing functions via RGB Leds.

Hardware

To build this device, firstly, Its electronic circuits designed in Altium Designer software. The circuit of this device consists of 3 different parts. It launched after assembling and taking various tests. A system consisting of two electronic circuits and a graphical LCD that put together.

1- Main board

Processor, touch screen control and display input circuits. This system reads the CAN bus data and displays information on the graphical LCD. All data are saved in an external memory to use when needed. Additionally, There is also a touch controller that the user can enter any manual command.

Unit Description
Proccessor LPC2368 NXP ARM7
4-wire Touch Controller Texas Instruments ADS7843
CAN controller interface NXP PCA82C250
Graphical LCD KS0108
Clock frequency 12.000000 MHz
RTC frequency 32.768 KHz

N|Solid

2- I/O board

Storage circuit and system inputs. This board designed for all input connection like CAN, power, memory card and programmer. All of data

Unit Description
Storage MMC Memory card
Programmer ULINK2

N|Solid

3- Pin configuration

NXP LPC2368 has four different ports.

Port 0:

Pin Connection
0 CAN 1 RXD
1 CAN 1 TXD
2 GLCD R/W
3 GLCD D/I
6 GLCD Reset
15 Touch Driver SCK0
16 Touch Driver SSEL0
17 Touch Driver DOUT
18 Touch Driver DIN
19 MMC Driver CLK
20 MMC Driver CMD
21 MMC Driver PWR
22 MMC Driver DATA0

Port 1:

Pin Connection
0 GLCD DB0
1 GLCD DB1
4 GLCD DB2
8 GLCD DB3
9 GLCD DB4
10 GLCD DB5
14 GLCD DB6
15 GLCD DB7
16 GLCD CSA
17 GLCD CSB
18 RGB LED 1 Blue
19 RGB LED 1 Red
20 RGB LED 1 Green
21 RGB LED 2 Blue
22 RGB LED 2 Red
23 RGB LED 2 Green
29 Lock Button

Port 2:

Pin Connection
0 GLCD BackLight control
6 Touch Driver Busy
7 CAN 2 RXD
8 CAN 2 TXD
10 Touch Driver PENIRQ
11 MMC Driver DATA1
12 MMC Driver DATA2
13 MMC Driver DATA3

Port 4:

Pin Connection
29 GLCD Enable
You can’t perform that action at this time.