Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Graphical data monitoring, Logger and debugger for CAN protocol based on ARM microprocessor

Topics

Resources

Releases

No releases published

Packages

No packages published