Welcome to

Sponsor Block



Robomenu
· Home
· Archive / Eski Yazılar
· Articles / Yazılar
· Chat Online / Sohbet
· Downloads / Dosyalar
· FAQ / Sorularınız
· Forums / Pano
· Links / Siteler
· Members / Üyelerimiz
· Messages / Mesajlar
· Statistics / İstatistikler
· Submit News / Yazı yaz
· Surveys / Araştırmalar
· Top 10
· Topics / Konular
· Tutorials / Dersler
· Your Account / Hesabınız

Visitors / Ziyaretçiler
There are currently, 3 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

  
RS485 Network
Posted on Monday, June 25 @ 16:40:12 EDT
Topic: Atelye
I've designed this project last year for a company but they cancelled the rest of the work for some reason i don't know. Instead of having it rust in the dust, i'm sharing it with you.

The project is basically a communication network by using the RS485 physical layer. A master can address and control 254 slaves and see their sensory inputs.





To make it more secure, i've developed my own communication protocol instead of using many sources on the net. Sure i've read lots of them very carefully and examined the basics of this kind of networks. While running, the master continuously sends data packets to the network each carrying a target address. Every target system receive the same data and monitor the address. If the address belongs to itself the slave sends a repply packet carrying the sensory inputs of itself. If the address is a foreing one, the slave simply ignores the packet immediately and starts to look for new ones. In this scheme, the master can continuously scan the sensors of many slaves.

Two RS232 chips are seen at the schematic above though the version of proteus program i had then didn'T have the necessary RS485 drivers on its library. The current versions have that and many other new chips.

By the way, the design is initially made in the real world, not on proteus only. All of the circuit design work is made on breadboard. After the project is cancelled, the 4 boards full of components stayed aside for months, dusting. Then i've decided to redraw all circuitry on proteus for testing the program and saving the circuit schematic for future use. I was wondering if proteus would be able to run a bigger project like this. and yes, the project worked almost like its working on real microcontrollers. I recommend everyone to use proteus.

Click the links below to download project files

Source Code Proteus Files Other files

 
Login
Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Related Links
· Source Code
· Proteus Files
· Other files
· More about Atelye
· News by ozkal


Most read story about Atelye:
Ultrasonic Distance Measurement System


Related Links

Article Rating
Average Score: 2.5
Votes: 4


Please take a second and vote for this article:

Bad
Regular
Good
Very Good
Excellent



Options

Printer Friendly Page  Printer Friendly Page

Send to a Friend  Send to a Friend




Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.048 Seconds