new wireless comms module

Hello,
Im not familiar with that device, but it looks like it encodes and transmits 8 bit data. Very nice, but VirtualWire is intended for single-bit input and output transceivers. So I would say no.

It looks like a nice device though, good for parallel data. Could be used with Arduino, though not with the VirtualWire library.

Cheers.

@mikem: Thanks for the info. I'm not brave enough to go it alone yet, so I'm going to try to get some experience via the virtualwire library first :slight_smile: I'm still very much a noob.

Does anyone know anywhere in the UK which sells RxB1 receivers and TxC1 transmitters?

Mike, this is a significant new module! I have the RLP434 and TLP434 and have not never able to get reliable/solid communication until now. I don't know if I had a particular fussy set of modules or it was something else, but I spent many hours on it. I had tried the Holtek HT-12E/HT-12D route, and various other encodings with only partial success until now. Your VirtualWire library is not only the simplest solution hardware-wise, it seems to work the best for me.

One small item in the library. When I run it on a atmega8 based arduino I get a TIMSK1 undeclared. I believe this notation is only valid on the atmega168. I changed it to TIMSK in VirtualWire.cpp and it compiled and ran fine. I suspect you just need to wrap in it in a processor compile-time check.

Thanks again! I'll look forward to the OO version!

-Harry

Hello,

thanks for the feedback.
I have fixed that compile problem for atmega8 and uploaded a new version to
http://www.open.com.au/mikem/arduino/VirtualWire-1.1.zip

Cheers.

Hi MikeM

Thanks for posting the VirtualWire libary it looks fantastic. I am having a few problems compiling it, but I am sure this is an IDE problem and not VirtualWire.

Which IDE do you use for the ATMEGA 168 Arduino

I am using Arduino 0012 Alpha IDE, I copied the Virtual Wire Library to

C:\SU\Arduino\arduino-0012\hardware\libraries\VirtualWire

then opened the client.pde

when i try and compile I get the following error:

(see next post for image) -------->

(as this is my first post I could only post an image in my second post)

Thanks in advance

Hi

I found this post
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1222985221/2

and added the extra lines under virtualwire.h and it now compiles :slight_smile:

#include <VirtualWire.h>
#undef int
#undef abs
#undef double
#undef float
#undef round

::slight_smile:

thanks

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?