Symbol set:

Both of A and B are one pin of a given connector.
A & B := A linked with B
Both of CON1 and CON2 are the connectors
Connect (CON1, CON2): {CON1_i&CON2_j }
!!! := Pay attention

Pay attention: MAKE SURE POWER CONNECTION IS CORRECT!!! JP1:1->POWER; 2->GND


Reference material

1. System architecture
2. CPU board
CC1110 CPU board_antennaground.pdf
3. Mother board
Circuit diagram of Cute Box mather Board V2.0
4. Motor control board
Circuit diagram of mortor control board
Pattern diagram of motor control board

GPIO: LEDs and Keys control

The difference of the input mode and output mode.
The related registers of GPIO: PXSEL, PXDIR.

Hardware:

1. Connect(JP10_2 & JP10_3)
2. SW1: 6 ON; SW2:6 OFF
3. SW3:7,8 OFF; SW4:7,8 OFF

Software:

CuteBoxSide: TestLedKey(CuteBox V1.0\TestLedKey)
Compile and download the hex file to CuteBox

Test:

Push the key to switch the flashing pattern of the two LEDs

RS232C: GND, TX, RX

Hardware:

1. Connect the RX/TX to MPU
SW1: 3, 4 ON
SW2: 3, 4 OFF
2. Connect the RX/TX to PC
Connect(JP12, COM): {JP12_1&COM_2, JP12_2&COM_3, JP12_3&COM_5}

Software:

1. PC side: AccessPort.exe
1.1 download the AccessPort
1.2 set the baud rate of PC side
IRON_Configuration/Option/Set the baud rate to 115200 bit/s
2. Cutebox side: TestLedUart (CuteBox V1.0\TestLedUart)
Compile and download the hex file to CuteBox

Test:

Test1: Test the sending function
1. Open the AccessPort window
2. Power on the CuteBox
3. If the "UART test succeed" appear in the window of AccessPort.
Then test succeed
Test2: Test the receive function
1. Make an echo function in the CuteBox side
2. Send the string from PC to CuteBox
3. If the same string display in the receive window of AccessPort
Then test succeed

3D accelerometer: MMA7361

Hardware:

1. Put the accelerometer DIP module to CN5
!!! Direction consistency
2. The accelerometer scale selection
JP4: 1&2 ±1.5G | 2&3 ±6.0G
3. Connect the 3 axis input to the MPU
SW1: 1,2,5 ON
SW2: 1,2,5 OFF

Software:

1. PC side:
Reference to the RS232
2. Cutebox side: TestLedUart (CuteBox V1.0\TestLedUart)
Compile and download the hex file to CuteBox

Test:

If the string of accelerate such as "X123Y321Z312" can be detected by AccessPort
Then test succeed.

Reference:

MMA7361 datasheet
MMA7361 DIP module user manual

Ultrasonic sensor: LV-MaxSonar-EZ1

Hardware:

1. JP10: 1&2
2. (SW1: 6 ON) & (SW2: 6 OFF)
3. Connect EZ1(GND, 5V, AN) with Ribbon cable
Connector (EZ1, Ribbon): {EZ1_1&Ribbon_2, EZ1_2&Ribbon_1, EZ1_5&Ribbon_5}
4. Connect Ribbon connector with CN3
!!!: Direction consistency
5. Connect the RS232 to MPU
reference the RS232 section on this page

Software:

1. PC side:
Reference to the RS232
2. CuteBox side: TestUltrasonic (CuteBox V1.0\TestUltrasonic)
Compile and download the hex file to CuteBox

Test:

If the string of distance such as "U110 U90 U80" can be detected by AccessPort
Then test succeed.

Reference:

LV-MaxSonar-EZ1-Datasheet.pdf


LCD&Touch Panel: TPSA-500

Hardware:

1.(SW2: 3, 4 ON) & (SW1: 3, 4 OFF)
2. CON (JP9, TPSA): {JP9_1&TPSA_CN2_+5V, JP9_2&TPSA_CN2_GND}
3. CON (JP6, TPSA): {JP6_3&TPSA_CN2_TX, JP6_4&TPSA_CN2_RX}

Software:

1. Install the TPSA Support Application on the PC (Ask the Teacher assistants to get the software).
2. Read the user manual attached in the reference to understand the usage of the software.

Test:

1. Transport the sample picture to the TPSA-500 and storage to the 1st page.
2. Download the sample code (TestLcdTouch.hex) to the Cutebox.
If the picture display on the LCD
Than succeed.

Reference:

LCD plus touch panel user manual