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 17th March 2004, 12:43 AM   (permalink)
Default Multiple Units Transmission Coding

Hey ya all..

Not sure if I shud post it in this section, but I need some help with transmission protocol. Now, its like this, my PIC is sampling a voltage every few milisecond and sends out data around 20 - 50ms using wireless transmission. The problem is when I use more than one PIC to send data to the same receiver. How shud I send data so there is no data contention? The data has to be as close to real time as possible, from each unit. How shud the PICs work to send data in systematic way? Using watchdog timer to set the interval transmission timing?

Thanx
Spasm is offline  
Old 17th March 2004, 02:13 AM   (permalink)
Default

spasm,

i'm trying to cumincate wireless between 2 pics, could you give me some tips, using a 2 16f877's
i connect the transmitter to c6 on pic1 and the recivor to c7 on pic 2 ,

then what do i do, whats the code like.

help me please.
kitedude is offline  
Old 17th March 2004, 07:44 AM   (permalink)
Default

Hey kitedude,

It depends on how yr transmitter/receiver works..
For my setup, I just throw the data to the PIC's USART transmission protocol which sends out data serially thru the transmitter module. As the transmission protocol, look at the 16f877's manual. It shows step by step instruction on how to send. If u were to use a normal I/O port, then u have to send out the data independantly. That u have to look at Nigel's tutorial.
Spasm is offline  
Old 17th March 2004, 10:16 PM   (permalink)
Default

thanks for that but nigels tutorial are in asm and i'm programming in c
kitedude is offline  
Old 18th March 2004, 09:52 AM   (permalink)
Default

Ohh...hrmmm....cant help u there then..im programming in assembly too..
Spasm is offline  
Reply

Bookmarks

Thread Tools
Display Modes





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


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

eXTReMe Tracker