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.

micro processor mini project p18f4580

Status
Not open for further replies.

Alssarty Hani Mohammed

Newbie level 3
Joined
Apr 23, 2015
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
21
hello guys,,,,,i am new here,,,however i need ur helps ......i am asked to do miniproject using flame sensor to detect fire using microprocessor chip 'p18f4580',,,,,and have a prob with the program code
any help?
 

Alssarty Hani Mohammed

Newbie level 3
Joined
Apr 23, 2015
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
21
thanks,,,,u look really knowledgeable.....which make me kind of embarrassed...the thing is that i am sec year student and i have microprocessor subject which i am really beginner in it.......and the doctor asked us to do a mini project using either (LM35 Analog Linear Temperature Sensor) or Flame Sensor which is interfere in p18f4580 chip, using assembly language and apply it in Proteus for simulation.......so i dont know what to do
 

milan.rajik

Banned
Joined
Apr 1, 2013
Messages
2,528
Helped
540
Reputation
1,078
Reaction score
524
Trophy points
1,393
Activity points
0
Yes, We should help you by guessing your code ? Zip and post the complete project files and mention which compiler you are using and what is the clock frequency. Flame sensor modules from ebay give a digital out. It either gives low or high when flame (IR) is detected. You have to connect flame sensor output to INT0 pin and write external interrupt code. When there is an external interrupt either rising edge or falling edge detection based on sensor output take necessary action.

- - - Updated - - -

Here I am attaching a project. I have tested it in Proteus 8.2 Sp2 and it works fine. I have used a sensor which gives high to low signal on flame detection. I have also tested it in hardware and it works fine. I have tested with flame sensor from https://Banggood.com

When flame is detected it turns ON an LED.
 

Attachments

  • PIC18F4580 Based Flame Detector.rar
    75.4 KB · Views: 5

Alssarty Hani Mohammed

Newbie level 3
Joined
Apr 23, 2015
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
21
I tried to open the project file with Proteus 8.0, but there was some mistake as it wouldn't open,,,,would you mind posting it again.
 
Last edited by a moderator:

milan.rajik

Banned
Joined
Apr 1, 2013
Messages
2,528
Helped
540
Reputation
1,078
Reaction score
524
Trophy points
1,393
Activity points
0
My file is Proteus 8.2 SP2 format and it will not open in Proteus 8. See attached image and draw the circuit. When you turn the LogicToggle from 1 (RED) to 0 (BLUE) the LED will light.
 

Attachments

  • flame detector.png
    flame detector.png
    36.8 KB · Views: 4

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
19,777
Helped
4,350
Reputation
8,709
Reaction score
4,316
Trophy points
1,393
Activity points
130,886
Hi,

nice to see:
The OP does nothing but to ask someone to do his job.
And the others ask for relating informations (but the OP refuse to give), they give hints on parts to use, give technical advice, give code and schematic....

What the OP at least has to do:
Doing research in the internet finding related informations, going through datasheets and documents, trying to find a solution by himself. Draw his own schematic, running simulations, doing his own calculations.

I doesn't have to be perfect, nor should it be free of mistakes..
Just some little things to show he wants to solve something by himself...

Klaus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top