Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

ADC0804 LCD micro controller.. no output

Status
Not open for further replies.

trenthartnick

New Member
HI
I am making a project in my college..
i got a program to interface adc0804 with microcontroller and then to show the result in the 2*16 LCD.

but for some reason the only output that comes on the lcd is " sensor data: "
after that i get nothing.

Please tell me what is wrong.
 

Attachments

  • LCD..h
    957 bytes · Views: 210
  • delay..h
    93 bytes · Views: 178
  • main..h
    388 bytes · Views: 168
  • ADC..h
    628 bytes · Views: 180
  • ADC..c
    801 bytes · Views: 179
  • LCD..c
    1.7 KB · Views: 384
  • delay..c
    154 bytes · Views: 156
  • main..c
    333 bytes · Views: 192
can anyone please help me with this..
im trying various versions and types of programs but to no effect..
i need some prog to interface ADC to uC.. then display output on LCD..
 
Well, the least you could do is tell us which microcontroller you are using? Schematics? You need to show some resolve. The program is not going to be served for you!
 
Last edited:
i have given the program im using in attachment..
theres something wrong in it..
im using 89c51
adc 0804

port 0 for adc connection.
port 2 for lcd connection.
 
Schematics help you keep stuff straight in your mind as you write the code.
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top