Show Posts
Pages: [1]
1  Using Arduino / Networking, Protocols, and Devices / Re: VirtualWire.h multiple transmitter one receiver on: May 22, 2013, 10:05:05 pm
Ok thanks for your help
2  Using Arduino / Networking, Protocols, and Devices / Re: VirtualWire.h multiple transmitter one receiver on: May 22, 2013, 09:05:54 pm
Okay so the transmitter will send data naturally around 10 times? So it will answer the problem of sending data at the same time
3  Using Arduino / Networking, Protocols, and Devices / VirtualWire.h multiple transmitter one receiver on: May 21, 2013, 06:47:11 pm
I'm planning to have multiple transmitter then send it to one receiver. The problem for sending data is when the two transmitter will send the data at the same time. So my sketch code for my transmitter will be this:

#include <VirtualWire.h>

void setup()
{
    // Initialize the IO and ISR
    vw_setup(2000);           // Bits per sec
}

void loop()
{
    while(vx_tx_active() == false){
    send("A");
  }
}

void send (char *message)
{
  vw_send((uint8_t *)message, strlen(message));
  vw_wait_tx(); // Wait until the whole message is gone
}


this means that if the sending of data was not successful it will send it again and again. Does my code is right? I'm just a newbie here. Thanks for your help. smiley
4  Using Arduino / Networking, Protocols, and Devices / Number of end nodes with one xbee master (Xbee 802.15.4) on: February 10, 2013, 04:34:27 am
How many Xbees can i use with only one xbee as a master?
5  Using Arduino / Project Guidance / Re: Xbee Shield to Arduino board on: January 29, 2013, 07:24:38 am
I was doing fine following you until I got here.
What do you mean by this?

Yes I know. Thank you.
6  Using Arduino / Project Guidance / Re: Xbee Shield to Arduino board on: January 29, 2013, 07:14:30 am
Okay, so if i got pins 0 and 1 to communicate with arduino. The rest of the pins can be programmed in some other stuffs? Because i'm planning to program a somewhat like buttons to the remaining digital pins.
7  Using Arduino / Project Guidance / Xbee Shield to Arduino board on: January 29, 2013, 06:49:31 am
Can i use the 13 digital pins (not the digital number 13) from programming in arduino uno with xbee shield on it?
Pages: [1]