new wireless comms module

Hi, when I use VirtualWire it seems to be throwing off the execution of the loop() function. If I throw in a delay(300), the function just starts over again at the top. Is this something I can fix?
Thanks in advance.

Found out that gcc-avr version 4.3.0 breaks this library. Upgrading to 4.3.2 fixed the problem. Amazing module! Have you considered making store and forward? This could be like the $10 XBee!

Did anyone succesfully run it 0014 or 0013?
It does 'crash' every time it reaches the setup for me (using a 328)...

I apologise to everyone who has been trying to use this module. I was not aware of the difficulties with arduino-0015, atmega 328 etc,

These problems have now been fixed and a new version of the library uploaded to
http://www.open.com.au/mikem/arduino/VirtualWire-1.3.zip

I will try to monitor this BB, or you can email me directly at mikem@open.com.au

Cheers.

How's the progress on making it a class?

Little progress on the class yet. Main problem is that there is an ISR involved, so I guess it has to be a singleton class.

I'd be inclined to suggest you develop a wrapper class and just automatically instantiate an object (a la Serial / HardwareSerial) and you can probably leave the ISR outside of it--if that works technically.

Similar sort of approach to what the Ethernet library uses (but without the ISR complication).

--Phil.

hi,

hi read about virtualwire and found that it would be useful for some ideas i have. i would like to try it, but i wasn't able to find the receivers/transmitters indicated in the documentation.

I live in italy, near napoli. Is there a place (either web or "physical" shop) where i can find cheap rf transmitters, receivers or transceivers for use with virtualwire library?

I found these on ebay, very cheap (~6$ for a couple tx+rx):

http://cgi.ebay.it/433Mhz-RF-link-kit-including-transmitter-and-receiver_W0QQitemZ320346083288QQcmdZViewItemQQptZBI_Connectors_Switches_Wire?hash=item320346083288&_trksid=p3286.c0.m14&_trkparms=66%3A2|65%3A15|39%3A1|240%3A1318

do you think they can be ok? there it says that the rx output high value is half of Vcc. So i guess i have to feed it with 10V to make the values match with arduino's input pin voltage levels... is it right?

In the end, can i use rf devices working at different carrier frequency (different than 433mhz)?

Looks like they might work, if you can get the supply voltages right. The transmitter frequency does not matter to virtualwire.

Cheers.

Hey Mike,

let me say, great work. Looks like a very interesting project - I'll have to give this a go!

Let me know if you need a file mirror.

Hey, I've just been looking at how to wire a DR3100 to the arduino, i just have one question about the diagram on the documentation. What is the ground on the rf ground? How is it different to the arduino ground?

does anybody know where i can get the equivlant code for winavr?

Did you ever get the dr3100 to work with Arduino? If yes, would you care about how you connected it and show some of your code?

No, I've gone for a different soloution and am playing arround with bluetooth. Alot faster, and possibility for controling my project from my phone :-D.

Saving the DR3100 modules for annother project which is on the back burner!

Am I correct in thinking that this library would not work with 315MHz modules?

having some issues with compiling this library, anybody knows what the issue is and how to solve it?
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1247924528

Adding the code below to the start of the code solved the compile issue!

#undef int
#undef abs
#undef double
#undef float
#undef round

You can pickup a modified copy of hte library here:

http://milesburton.com/wiki/index.php?title=Arduino_RF_Kit_Library_-_Get_your_Arduino_talking_over_the_air

Thanks for sharing that.