Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 22nd December 2003, 09:15 PM   (permalink)
Default Pic termometor Rs485

Hello I have a pic project to do for school.
I have to interface a pic micro mcu 16f877 to a dallas temp. sensor and connector 3 of such pic to a pc and read the temperature from each pic by choicing say # 1,2,0r 3
I can do the pic to sensor,but i am lost at the interfce to the pc---rs485
protocol and how to do the addressing of the pic.

I would like to know if anyone could assist me and can give some info on the rs485.
thank a lot.
guyana is offline  
Old 23rd December 2003, 02:14 PM   (permalink)
Default

Are you required to use RS485?? RS232 is much easyer to interface with a pc.
Exo is offline  
Old 23rd December 2003, 02:43 PM   (permalink)
Default 75176

Use a 75176 or similar for rs485

http://www.parallax.com/dl/docs/cols/nv/vol1/col/28.pdf


or convert TTL from the pic to RS232 that should be running on the pc with a MAX232 or similar.

http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1798

http://www.electronic-engineering.ch...h/16c74rs.html
Rescyou is offline  
Old 23rd December 2003, 06:21 PM   (permalink)
Default rs485

yes it has to be rs485
since we wil be using mulitiple points.
guyana is offline  
Old 24th December 2003, 05:12 AM   (permalink)
Default Maxim

Have a look around on the Maxim site, they should have what you need there. You'll have to probably use two different IC's, one that converts TTL to RS485 then one that converts RS485 into RS232 if your plumbing it into your computer. You will also have to figure out if half duplex will do the job or if you will need full duplex. I've used the 75176 TTL/485 variations for my stuff from time to time and they work pretty slick in half-duplex communication.

Resc.
Rescyou is offline  
Old 31st December 2003, 10:23 AM   (permalink)
Default Re: Pic termometor Rs485

Quote:
Originally Posted by guyana
Hello I have a pic project to do for school.
I have to interface a pic micro mcu 16f877 to a dallas temp. sensor and connector 3 of such pic to a pc and read the temperature from each pic by choicing say # 1,2,0r 3
I can do the pic to sensor,but i am lost at the interfce to the pc---rs485
protocol and how to do the addressing of the pic.

can give some info on the rs485.
thank a lot.
sincy is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 04:09 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker