Forum Replies Created
-
AuthorPosts
-
March 24, 2016 at 4:51 pm in reply to: USING OF PWM TECHNIQUE TO CONTROL SPEED OF A MOTOR ,WHEN LPC2148 MICROCONTROLLER IS USED #13823
ANJUSHA
Participantonce see the l293d driver internal circuit, its a h-bridge….
one driver can drive 2 motors
and for PWM technique refer "OcFreaks LPC2148 PWM TECHNIQUE". It will be very helpful….
March 24, 2016 at 4:44 pm in reply to: USING OF PWM TECHNIQUE TO CONTROL SPEED OF A MOTOR ,WHEN LPC2148 MICROCONTROLLER IS USED #13822ANJUSHA
Participanti dont exactly about the concept ur asking…..just refer "ocfreaks lpc2148 " it might give an idea for you.
August 30, 2014 at 1:05 am in reply to: for a beginer, how to design programmer circuit for 8051 #12092ANJUSHA
ParticipantThere is no inbuilt ADC in 8051….
1) so, first select ADC chip which should be interfaced to 8051…ex:ADC0804, TO This chip is connected to the sensor and try for ADC interfacing programming….of 8051
microcontroller to PC
1) to connect the kit to PC…..Make use of MAX232 in between kit and computer, and try for UART programming……of 8051
just once try it,ok
August 8, 2014 at 1:05 am in reply to: for a beginer, how to design programmer circuit for 8051 #11991ANJUSHA
ParticipantThank you sir..i am inerested to learn and develop a programmer circuit .As a beginner
thinking that 8051 is basic microcontroller…i thought to develop programmer circuit for AT89s51.
so, can you suggest me how to learn ,to develop a programmer circuit…
and what should i learn first?
ANJUSHA
Participantthank you sir. i understand how relations between different clocks like pclk,cclk..in ARM
October 30, 2013 at 3:19 am in reply to: USING OF PWM TECHNIQUE TO CONTROL SPEED OF A MOTOR ,WHEN LPC2148 MICROCONTROLLER IS USED #10564ANJUSHA
Participantthank you so much.i understand well…. sir i tried with 8051,its ok..but in ARM7 LPC2148 controller, there are two frequencies.one is crystal frequency =12MHz and PCLK(pheripheral clock)=30MHz, where (VPBDIV=0X02 i.e 1/4 of the default PLL output=60MHz )….now my doubt is which frequency we have to consider in performing PWM in this controller and let me know how? how frequency and Ton and Toff are related and with which frequency?
ANJUSHA
Participantthank you for guiding me….
i came to know on what basis we hav to select motor related to a application.
June 20, 2013 at 2:44 am in reply to: plz tell the problem in this lcd program.it is not showing the output #9994ANJUSHA
Participantyou have taken port1 for passing commands
and port2 for data but for lcd we consider 8/4 data pins …then how can you make use same 8 pins for port1 and for port2..so consider any one port.
so take port2/port1.use command 0x01 to clear the display before 0x80 and b/w every command in intializing lcd use delay;
ANJUSHA
Participanthello sir,
i calculated and i got it…i taken pclk as 30MHZ, by considering VPBCLK as 0x02;
ANJUSHA
Participantthank you sir for guiding in interfacing resistive touch screen to 2148.i suceccfully interfaced and i am getting readings also in serial terminal.
sir,i want to create a wheel chair with dc motors…i was unable to select motor regarding rpm and how much voltage required to drive…..if
load == (wheel chair + person of 30kg) has to be handled by that dc motor..can you kindly suggest me the specifications of which type of dc motor has to be selected.please sir.,,right now i interfaced 150rpm dc motor…its working..but i want to make project some what nearer to realistic.help me sir.
June 12, 2013 at 3:34 am in reply to: 4bit lcd program for 2148…..i am getting perfectly output in kiel but in proteus nothing is displaying on lcd..can you tell me #9950ANJUSHA
Participantthank you sir.
June 10, 2013 at 1:07 am in reply to: 4bit lcd program for 2148…..i am getting perfectly output in kiel but in proteus nothing is displaying on lcd..can you tell me #9925ANJUSHA
Participanthello sir
i included the code i written for 4-bit lcd…i mean to say that i can observe ,whethet that pin is getting data as per program,on peripheral window of port0 and port 1..and again i tested using proteus….choosing microcontroller and 16×2 lcd..output is not getting.just lcd contrast light is glowing.no cursor blinking….sir can u check whether initial commanda for 4_bit lcd are correct? and solve this problem sir…i wi be thankful to you.
June 10, 2013 at 12:58 am in reply to: 4bit lcd program for 2148…..i am getting perfectly output in kiel but in proteus nothing is displaying on lcd..can you tell me #9924ANJUSHA
ParticipantJune 10, 2013 at 12:55 am in reply to: 4bit lcd program for 2148…..i am getting perfectly output in kiel but in proteus nothing is displaying on lcd..can you tell me #9923ANJUSHA
Participant#include <LPC21xx.H>
void delay(int count ) ;
void lcddata(int c);
void lcdcmd(int t);void delay(int count)
{
int j=0, i=0;
for (j=0;j<count;j++)
for (i=0;i<250;i++);
}void lcdcmd(int t)
{
int s=0;
s=(t>>4) & 0x0f;
s=s << 16;
IO0CLR=0x10000000; // rs =0 p0.28
IO0CLR=0x20000000; // rw =0 p0.29
IO0SET=0x40000000;IO1CLR=0X000F0000;
IO1SET = s;
delay(1000);
IO0CLR=0x40000000; //en=0 p0.30
s = t & 0x0f;
s=s<<16;IO0CLR=0x10000000; // rs =1 p0.28
IO0CLR=0x20000000; // rw =0 p0.29
IO0SET=0x40000000;IO1CLR=0X000F0000;
IO1SET = s;
delay(1000);
IO0CLR=0x40000000; //en=0 p0.30
}void lcddata(int c)
{
int d=0;
d=((c>>4) & 0x0f);
d= d<<16;
IO0SET=0x10000000; // rs =1 p0.28
IO0CLR=0x20000000; // rw =0 p0.29
IO0SET=0x40000000;IO1CLR=0X000F0000;
IO1SET = d;
delay(1000);
IO0CLR=0x40000000; //en=0 p0.30
d= c & 0x0f;
d=d<<16;IO0SET=0x10000000; // rs =1 p0.28
IO0CLR=0x20000000; // rw =0 p0.29
IO0SET=0x40000000;IO1CLR=0X000F0000;
IO1SET = d;
delay(1000);
IO0CLR=0x40000000; //en=0 p0.30
}void msgdisplay(unsigned char k[])
{
int i;
for(i=0; k!=’