Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by hassan ali

  1. H

    why this code doesn't work

    now after takes ur advices the cursor is only moving on lcd and there is nothing displayed, so any one can please check out the subroutine "CONVERT" which is used to get the ASCII code for the number to display it on LCD.
  2. H

    why this code doesn't work

    Re: why this code desn't work i try it but it still not work i guess that the problem in the initialization of LCD , may be the routine"LCDCMD" isn't in the right position.
  3. H

    why this code doesn't work

    Re: why this code desn't work yes , i try it because i work only on proteus , here is my circuit diagram https://obrazki.elektroda.pl/6_1312023036.jpg
  4. H

    why this code doesn't work

    Re: why this code desn't work i mean that this program must take the counter value and display it on LCD but it's display any thing , so can u help me to find the problem in this code.
  5. H

    why this code doesn't work

    #include<reg52.h> sbit en=P3^0; sbit rs=P3^1; sbit rw=P3^2; #define lcd P2 void delay(unsigned int ); void lcddata(unsigned char ); void lcdcmd(void); void convert(unsigned char); unsigned char mybyte; void main(void) { void lcdcmd(); T0=1; TMOD=0x06; //counter 1 mode 2 TH0=0; while(1) {...
  6. H

    a problem in keil in c

    thanks for ur answer i try it and it's work correct , but if i get this error "MISSING FUNCTION PROTOTYPE" what does it mean???? here is my new code #include<reg52.h> #define lcd P2 sbit en=P3^0; sbit rs=P3^1; sbit rw=P3^2; void main(void) { unsigned char z; lcdcmd(0x38); delay(250)...
  7. H

    a problem in keil in c

    hi, iam a beginner in c programming , when i type this simple code on keil i found about 15 errors . here is my code and also here is a list with the types of errors. code: #include<reg52.h> void delay(unsigned int) void main(void) { P2=0X55; delay(250); P2=0xAA; delay(250); } void...
  8. H

    gsm\gprs modem problem

    are read manual? Are you set correct baudrate and handshaking? yes i have already do these steps successful.
  9. H

    gsm\gprs modem problem

    i have connected my gsm modem with computer using hyper-terminal but here is a problem on windows xp the hyper-terminal when i opened the window when i try to write any command there is no letters wrote on screen.. i.e; if i try to write any thing the screen is white always , so i try another xp...
  10. H

    8051 controller always hangs up after power on

    Re: 8051 hang up problem I have servery my code an i am sure that is right but , when i changed it , it's output still not correct, but sorry i want to correct something when i said hang up i mean that the out put is not correct , because am using a LCD 2x16 and the output on it is wrong , so i...
  11. H

    8051 controller always hangs up after power on

    i have already set up my project but the controller always hang up after power on , why it's hang up , and what is the resources affects on 8051 to hang it up???? and how can i solve this problem?????
  12. H

    8051 controller asm problem

    first thank u for your reply but i have already do these previous steps but i asked for how can i sub the number from 65535 and then take this number to load the counter.
  13. H

    8051 controller asm problem

    hi , sorry for my English i have connected my project (8051 interface with keypad), the keypad output is in decimal, so by example (if i write 800 using keypad)i want to take this number and then subtract this number from (65535) and then load the counter (TH0 , TL0) with the output result from...
  14. H

    8051 increment problem

    how to increment six digits in 8051 ???? by example if i have 123456 (how can i increment the first number "6" to reach to 9 and then became "0" and became 123460 and so on for all numbers)
  15. H

    photoresistor problem

    i want to use a pnp phototransiotr to get the photo light pulse from a device and get then the output from the photo transistor the device is an electronic digital meter produce it's pulses from a led which gives a pulses light for each turn and then i want to take these pulses with a photo...

Part and Inventory Search

Back
Top