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.
I haven't checked the post in a while. At any rate, it appears to me that the problem is strictly hardware since the proteus simulation works perfectly. I will be getting a demo board and trying that since most of the connections are readily available with those.
Yeah, actually I tried it on proteus and I cannot get the microcontroller pic16f887 to simulate correctly. However, the microcontroller pic16f877 works on the simulator. I will try and obtain that microcontroller and give it a go with that.
One question:
Would the port connections remain the same? I will be connecting PORT c bits 0-3 to databits 4-7 and the enable and rs bits according to what you previously posted.
okay so guys, I tried the following code under the assumption that using the lcd should be relatively the same between the microcontrollers. I just changed the first P1 to PORTC which is the identifier for the pic microcontroller. I also used the port assumptions of connecting PORT C bits 0-3 to...
I understand that he is not programming for pic. However, my question is just that since that LCD is 4 bit, it can take 4 input data. Which pins of P1 is he using for that?
Romel, you could clarify which ports you are using on the microcontroller as output ports? Which line of code indicates that?
---------- Post added at 21:45 ---------- Previous post was at 21:30 ----------
I'm sorry let me rephrase my question. Are you still connecting the first four ports...
I am going to try some new implementations on Wednesday, so we will see if those work.
Thanks for the suggestions!
I'll post whether or not some of those adjustments work.
I really appreciate your helping me on this project.
Is the C language for the Keill similar to Hi-tech C?
---------- Post added at 23:47 ---------- Previous post was at 23:45 ----------
Also, the above code is generated for what kind of microcontroller?
I am using a 16x2 lcd. I could not find a simulator that has all the parts necessary to simulate my circuit.
The circuit and code is extracted from a textbook written by Dogan Ibrahim on Programming Microcontrollers for Temperature Sensing. I have attached the page with the relevant schematic...
Okay so I tried checking with a sample program on two different lcds with the same result, black boxes despite a voltage reading on the pins.
I think it highly unlikely that both lcds are broken. Anything is possible though.
Any suggestions?
I am trying to program a microcontroller for temperature sensing and output to an lcd. I have programs both in Fed C and Hi-tech C included below.
The FED C program has voltages at the outputs but the LCD remains with a black lined display (all black boxes)
The Hi-tech C program does not have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.