Please could you provide details on interfacing lpc2148 with servo motor for solar tracking , the preferred sensor for interfacing is an LDR.
I need to know if servo-5v will work with the 3.3V of lpc2148 directly.Please help me with the circuit.
Regards,
Anu
Posts: 14,118
Threads: 61
Joined: Oct 2014
The ARM7 LPC2148 development board is specifically designed to help students master the skills required in the area of embedded systems. The kit is designed in such a way that all possible features of the microcontroller will be easily used by students. The kit supports the system programming (ISP) that is made through the serial port.
The ARM7 (LPC2148), ARM Primer Kit from NXP is proposed to smooth the progress of the development and debugging of several designs that cover high-speed 32-bit microcontrollers.
Stepper motor
A stepper motor is a synchronous, brushless electric motor that converts digital pulses into mechanical shaft rotation. Each revolution of the stepper motor is divided into a discrete number of steps, and a separate pulse must be sent to the motor for each step.
![[Image: interfacing-stepper-motor-to-microcontroller_1.jpg]](https://www.pantechsolutions.net/media/wysiwyg/interfacing-stepper-motor-to-microcontroller_1.jpg)
Stepper motor interface
FIG. 1 shows how to interconnect the stepper motor with the microcontroller. As you can see, the stepper motor is connected to the pins of the microcontroller output port through a ULN2803A array. Thus, when the microcontroller is pulsating with a particular frequency to ULN2803A, the motor is rotated clockwise or counterclockwise.
Stepper motor interface with LPC2148
Now we want to control a stepper motor in LPC2148 Slicker Board. It works by activating and deactivating four I / O port lines that generate at a certain frequency.
The ARM7 LPC2148 Slicker board has four numbers of I / O port lines, connected to the I / O port lines (P1.16 - P1.19) to rotate the motor step by step. ULN2803 is used as the driver for port I / O lines, the output of the controllers connected to the stepper motor, the provided connector for the external power supply if necessary. The stepper motor can connect the JP17 or J6 connector.