PIC16F877A Project Help

mikroC, mikroBasic and mikroPascal PRO for Microchip’s 8-bit PIC MCUs.
Post Reply
Author
Message
mike675
Posts: 2
Joined: 15 Apr 2019 14:31

PIC16F877A Project Help

#1 Post by mike675 » 15 Apr 2019 14:47

Hello, I am a student in my 4th year in university, I have a small micro project that's divided into 4 parts.
My plan is to divide the work and do part by part and not move on till the previous part is fully complete
The project is listed below as a word attachment
there are a list of projects.
Mine is the car monitor system

I managed to do the belt and door part so far
However I have a small problem.
the data on the LCD keeps refreshing quickly, so the data turns on and off really fast. I cant seem to find where the problem is

I will also attach my progress so far below in a word file. Any help would be appreciated.

**NOTE** I am not allowed to use Interrupts for this projects, only LCD, Timers, and LEDs.
Attachments
Project Progress.docx
my progress
(10.43 KiB) Downloaded 89 times
Project Topics (3).docx
car monitor system is the project
(29.22 KiB) Downloaded 83 times

User avatar
filip.grujcic
Posts: 822
Joined: 14 May 2018 08:34

Re: PIC16F877A Project Help

#2 Post by filip.grujcic » 15 Apr 2019 16:01

Hello,

I believe the cause of the issue is that you have LCD_Init() inside your while(1), so it's getting called over and over.
Call the LCD_Init() before the while loop.

Kind regards,
Filip Grujcic

mike675
Posts: 2
Joined: 15 Apr 2019 14:31

Re: PIC16F877A Project Help

#3 Post by mike675 » 15 Apr 2019 16:04

oh I see, ok I will try it out tomorrow in the labs(I am only allowed to work in the labs at specific times)

I will get back to you if I face the same problem again if you don't mind

Post Reply

Return to “PIC PRO Compilers”