Problem in coding with LCD interfaced 8051 Voting machine
This link mentions the code for LCD interfaced voting machine-
1)When i convert this c code to hex file using keil, its size is 6KB, but 8051 supports 2kb only
2)I think there is some mistake in the code as this code is not running in proteus simulation
I am new to microcontrollers so required help... By the way this site has been quite helpful...
hex C code file which you using??? mail that one too
Sir i have just mailed u that also...
I have been suggested by my seniors to use eagle software for designing the PCB, i will start working on it soon and let you know...
plz send me (jahangir03eee@gmail.com) the hex code
Thank you all of you for your response and help, the proteus simulation of Voting machine is working and the code is right, I realized it when instead of using battery in the simulation I used ground and power terminals...
But one question, why do we take start and stop button as active low in contrast to candidate buttons as active high...???
for PCB layout design try to use PROTEUS... it provides a very good simulation as well and it is one of the standard and well known tool....
am trying with the same project i think the code is not correct
becos p3^0 and p3^1 are rx and tx in 80c51 and even in the loop void_count there are few mistakes
can any 1 provide correct code plzz
thanxx in advance
@Raghvan : I dont think it wud matter if you take these buttons as active high or active low.. if you change this configuration then you'll have to do slight modifications in the code.
@Akhil : You are right about P3^1 and P3^0 pins being Tx and Rx, but that wouldnt matter in this case coz no serial communication is taking place. And the code is correct since so many people on this forum including me have tested this code and circuit successfully. Can you please share what mistake did you find with vote_count() function?
Will any one pls help me with vhdl code for electronic voting machine pls
I've done the connections for lcd based voting machine using bread board as given. But when i give the supply, the lcd is displaying only boxes in first line and nothing is happening even if i press the buttons. i don't know where the mistake is.
guys please guide me,i need to submit this project in four days.
Hi....can any one help me in writing the code for updown counter using lcd display and 8051 controller........??????
lcd is not displaying.....it shows 0's only.....i think there is problem with program.....
what is purpose of preset(three leg resistor) in the circuit diagram.
it works without it but dont work with it .......
plz ans me
Electronic voting machine..
In proteus , after voting it only display zeros for all candidates
can some one help me....
pls anyone send the source code for voting machine in assembly language
its urgent...........
i have problem with data pins(7-14) of my lcd these pins are showing the voltage level as 0v.
iam using pull up resistor for making these pins high ,but these pins are again showing voltage level as low(0v).
please help where the problem is
my emeil id is jontychandrasekhar2@gmail.com
preset is used for adjusting the contrast of lcd
Respected sir,
We are also having problem with our circuit for voting machine,we have succesfully done the simulation.But when we made the pcb and the lcd just shows boxes and nothing else.
Hi Prateek,
Check your connections properly especially the READ/WRITE pin, it should be logic zero always. Also check the connections to the DATA/INSTRUCTION pin and the ENABLE PIN.
A tip for debugging: Always include a LED in your hardware and in your code there should be lines to glow this LED, so that you can atleast make sure that the code is running properly in your microcontroller.
respected seniors,
can anyone of you please mail me all the working code and proper working pcb layout for LCD based 8051 voting machine?
i am doing it for first time!!!!