Go Down

Topic: new wireless comms module (Read 5404 times) previous topic - next topic

levanter

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



Thanks in advance

levanter

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 :-)

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

::)

thanks

John T

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.

John T

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!

Nachtwind

Did anyone succesfully run it 0014 or 0013?
It does 'crash' every time it reaches the setup for me (using a 328)...
Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead

mikem

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.

AlphaBeta

How's the progress on making it a class?


mikem

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.

follower

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.

Athos

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)?







mikem

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

Cheers.

TeamMCS

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.

phill

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?

phill

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

CrashingDutchman

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?

Go Up