4.9 SD MMC INTERFACE
Hardware Setup: Insert SPI jumpers SCK, SDO, SDI and /CS.
Insert SD/MMC card into the socket. Connect a DB9 cable between PC and UART1. Setup
the terminal software with following settings:
Enable terminal to receive data in string format.
Load the SD_MMC_INTERFACE.hex file from LPC2148>codes> SD MMC INTERFACE
folder using flash magic on the microcontroller flash memory.
Description: This application code demonstrates SD/MMC interface on SPI bus. On reset
microcontroller writes a string of data as " NEX ROBOTICS" on the memory card and reads
back the same data. This data is sent to UART0, which can be observed on receive window
of terminal software.
4.10 DC MOTOR CONTROL
Hardware Setup: Insert LED jumpers D1-D4.
Insert Switch jumpers SW1-SW4
Insert PWM jumpers for +5V
Connect Motor i/p supply (12V) to the V pin on L293D header
Load the DC_MOTOR_CONTROL.hex file from ,
LPC2148 > codes >DC MOTOR CONTROL folder using flash magic on the microcontroller
flash memory.
Description: This application demonstrates, how to use L293D for controlling DC motor.
SW1 is used to Start/Stop Motor1 connected across terminals A & B on the L293D o/p
header. SW2 is used to control direction of Motor1. SW3 is used to Start/Stop Motor2
connected across terminals C & D on the L293D o/p header. SW4 is used to control direction
of Motor2.
4.11 STEPPER MOTOR CONTROL
Hardware Setup: Insert ULN2003 jumpers 1-4. Connect common wire on the stepper motor
to external supply as per the motor's rating. Connect the other 4 wires i.e. Coil 1 to coil 4 to
the inputs 1 to 4 on the ULN header. If stepping sequence is inappropriate then alter the
connection sequence.
Load the STEPPER_MOTOR_CONTROL.hex file from LPC2148>codes>STEPPER
MOTOR CONTROL folder using flash magic on the microcontroller flash memory.
NEX Robotics Pvt. Ltd.
www.nex-robotics.com
Baudrate
9600
Databits
8
Parity
None
Stopbits
1
LPC2148 DEVELOPMENT BOARD
54
Need help?
Do you have a question about the LPC2148 Pro and is the answer not in the manual?
Questions and answers