Continue to Site

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.

Help on 16f877 as A/d conwerter

Status
Not open for further replies.

tigerkonsole

Junior Member level 3
Joined
Aug 22, 2005
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,479
Can anyone help me and tell me how can i use PIC16f877 as A/D converter:?:
 

thanks , but i want to use pic16f877 because its relatively cheap price and availability in the local market
 

**broken link removed**

On this link you can find some examples for PIC 18F452. They helped me a lot. This microcontroler is similar with 16F877 but not the same. You should read datasheets for boath and make appropriate corections in code. It all depends what you need.
 

tigerkonsole said:
thanks , but i want to use pic16f877 because its relatively cheap price and availability in the local market

okay, thats one of the reasons why i am also planning to use an 18F452 as an A/D converter :D

the link that i have provided you will help you in using the 16F877 as an A/D converter although it is written for the 16F876. but there are very minor differences between the 877 and the 876.

i hope that helps
 

here is some code and schematic to help you it was done in basic but it's just to show you how easy it is. It reads 0-5v but you can set it up to read 0-50v using the right parts so that you don't excced 5volts on the pic it al so has a bar graph under neath it hope it helps you

wizpic
 

opps! uploade wrong code that one is just a voltmeter this on is the voltmeter/bar grapgh

sorry

wizpic
 

thanx to all , there is nothing to do except trying building my project
 

If you didn't buy 16F877 yet my advice is to buy 18F452. They have similar price. Then you should try examples on the link that I post earlier. Most of your work is done there. But it's all on you.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top