Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Development / Re: Compiling Ruby/SerialPort on OSX (Intel) on: May 12, 2007, 03:43:42 am
I have had no problems on my non Intel OS X box.

Can you tell me if you have installed the xcode developer tools that are required for the make to work.

The xcode tools are available on your OS X install disk.
2  Forum 2005-2010 (read only) / Interfacing / Re: USB serial + serial communication over RF on: June 05, 2007, 03:36:22 pm
They are out of my continent as well....I'm in Australia, but their shipping is a good price and very quick....so if you have a few things to order it may be worth it ;-)
3  Forum 2005-2010 (read only) / Interfacing / Re: USB serial + serial communication over RF on: June 05, 2007, 11:42:24 am
I'm working on exactly this style of project now using cheap 433Mhz xmit/rrecv pairs. I have got the transmitter working fine (using TX pin) with the connection to the computer at the same time but the receiver is still having problems starting up on the RX pin for a reason yet undetermined.

That said, I can get it working with a manual tweak and using h/w send and receive works fine.

Try these ones on Sparkfun (or ones like them) and see how you go.

http://www.sparkfun.com/commerce/product_info.php?products_id=872

That page also has code and a walkthrough for doing it all on Arduino...it just doesn't seem to work with either my versions of the xmit/recv or maybe its the newer Arduinos.

Ben
4  Forum 2005-2010 (read only) / Interfacing / Re: Help with 434mhz xmit and recv on: May 20, 2007, 05:48:09 am
Sorry for the delay in getting back to this....I;ve been focused (unsuccessfully) on getting an LM3914 LED Driver to work with PWM....

Anyway, today I set up a circuit with the xmit data connected to a button then +ve and measured the voltage from the receiver data.

It all worked...press the button and the voltage changes on the receiver. Only thing was that when the button was pressed down (closed)...the receiver data line went low.....would this be as expected for the serial coding??

I'm thinking that if this is fine....maybe I just build a pulse based sort of morse code like on off tied to a set of pin instead of the serial port which seems to be giving me hassles. Any thoughts.
5  Forum 2005-2010 (read only) / Interfacing / Re: Help with 434mhz xmit and recv on: May 01, 2007, 04:22:33 am
Well after another day of playing around I am no closer to a solution.

The last thing I can think of is using a PNP based switch with the resistor such that once the program starts running I set a pin high which is connected to the base of the transistor effectively taking the resistor out of the circuit.

Only other weird thing is that when I do get it working in the strange way of removing the resistor it only works if I have a piezo buzzer connected between the rx and gnd...weird!!

 smiley-sad
6  Forum 2005-2010 (read only) / Interfacing / Re: Help with 434mhz xmit and recv on: April 29, 2007, 06:49:49 am
Hey hey hey!!!!  smiley-grin You are a champ!!!

I have put the power to ext and plugged in a 9v battery.

This provided no joy as the program would not start.

I added the 10k resister from the RX to the GND and the process started. HOWEVER....there was still no data being received.

I then removed the 10k resister once the program was running and it started receiving.

Sooooo.... I have to plug in external power, add the resister, wait till the program starts then remove it?

Is there a "Smarter" way to do this???
7  Forum 2005-2010 (read only) / Interfacing / Re: Help with 434mhz xmit and recv on: April 29, 2007, 06:38:31 am
How do I disconnect it?
8  Forum 2005-2010 (read only) / Interfacing / Re: Help with 434mhz xmit and recv on: April 28, 2007, 05:40:40 pm
Hi Daniel,

Thanks heaps for your suggestions.

I created a simple xmit using a simple digital write and get what seems like a strong signal out.

I have tried a range of RX code with no luck...from a digital read on Pin 6, an analog read on p6 and a serial RX on P0. No matter what I code it seems like there is nothing being understood by the MCU.

Interestingly, attaching a piezo from the RX data out to the gnd makes a very strong squeek normally and when data is xmit'd it goes quiet which seems to show the TX/RX modules are fine.

The price, doco and structure of these modules is the same as all the other various forms of 433/434 modules that sparkfun and others have used.

I'd greatly appreciate anymore ideas from anyone.
9  Forum 2005-2010 (read only) / Interfacing / Re: Help with 434mhz xmit and recv on: April 28, 2007, 05:41:21 am
I'm planning to do that next time I get to my father in laws in a couple of weeks.

That said, are there any other ideas? Could this version of the Arduino be any different to the ones used in the walk throughs etc.
10  Forum 2005-2010 (read only) / Interfacing / Re: Help with 434mhz xmit and recv on: April 28, 2007, 05:10:30 am
Yes. The datasheet and the site are inconsistent. There has been a few articles in the Silicon Chip magazine here in Australia that say the 5v is correct and that the fact it says 3v is not helpful ;-)
11  Forum 2005-2010 (read only) / Interfacing / Help with 434mhz xmit and recv on: April 28, 2007, 02:26:44 am
For the last few days I have been trying to get a simple RF network working between two Arduinos (both NG Rev C with ATMEGA168).

I have a simple transmit program

Code:
/* Simple xmit code */

byte counter;
int val=0;

void setup() {
  Serial.begin(1200);
  digitalWrite(13, HIGH);  
  delay(2000);
  digitalWrite(13, LOW);
  counter=10;
}

void loop() {
  // send output to xmit
  digitalWrite(13, HIGH);  
  delay(200);
  digitalWrite(13, LOW);
  Serial.print(counter);
  delay(5000);
}

and a simple receiver code
Code:
/* Simple Recv */

int incomingByte = 0;

void setup() {
  Serial.begin(1200);
  digitalWrite(13,HIGH);
  delay(1000);
  digitalWrite(13,LOW);
}

void loop() {
  if (Serial.available() > 0) {
    incomingByte = Serial.read();
    digitalWrite(13,HIGH);
    delay(50);
    digitalWrite(13,LOW);
    delay(50);
    digitalWrite(13,HIGH);
    delay(50);
    digitalWrite(13,LOW);
  }
}

When I connect the Arduinos to USB ports on different computers and a wire between the gnd on each and a wire from the tx (pin 1) on the sender to the rx (pin 0) the programs work perfectly.

When I then replace the wired connections with a transmitter http://jaycar.com.au/productView.asp?ID=ZW3100 and reciever http://jaycar.com.au/productView.asp?ID=ZW3102 I have had no luck getting them to work.

These are standard 434Mzh xmit and recv pairs much like http://www.sparkfun.com/commerce/product_info.php?products_id=7815

I have followed the example http://www.sparkfun.com/datasheets/RF/KLP_Walkthrough.pdf for the Sparkfun items which look identical based on the datasheets.

On the transmitter I have connected 5v to the vcc, gnd to gnd and the tx (pin 1) to the data pin on the 434 xmit. I have a led on Pin 13.

On the receiver I have connected the various gnds to gnd, vcc to vcc and the rx (pin 0) to the data pin on the 434 recv. I have a LED on Pin 13

The sender Arduino flashes every two secs as it moves through the transmit code and when I plug the xmit wire in I am blocking my garage door remote from working so it seems like the xmiter is working.

The receiver blinks once on startup of the code but nothing more after that. I have also stuck a small piezo buzzer between the data out of the recv and ground and clicked my garage remote and hear a tiny chirp each time which tends to show that the receiver is working.

For good measure I bought a new set of xmit/recv yesterday and it made no difference.

Finally, I have also tried using the SoftwareSerial library and have again had no luck (it would work when wired but not wireless).

Any help or pointers would be much appreciated as this seems to be a topic not many people have covered.
12  Forum 2005-2010 (read only) / Interfacing / Re: multiple 433.92 MHz RF transmitter/receiver se on: April 24, 2007, 08:28:41 am
Littlebannas, would you be able to post the details of the 433 rx tx code and a photo of the connections. I've had not luck getting the two devices to talk to each other using basic serial prints and reads.
13  Forum 2005-2010 (read only) / Workshops / Arduino - Melbourne Australia on: May 12, 2007, 03:48:44 am
Hi

Is anyone here based in Melbourne and interested in catching up for a few Arduino sessions....be they teaching style or a birds of a feather style

Cheers

Ben
Pages: [1]