Pages: 1 [2] 3   Go Down
Author Topic: new wireless comms module  (Read 3801 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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



Thanks in advance
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

 :smiley

thanks
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 19
G.I.G.O.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 19
G.I.G.O.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Bonn, Germany
Offline Offline
God Member
*****
Karma: 0
Posts: 903
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead

0
Offline Offline
Jr. Member
**
Karma: 2
Posts: 81
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Norway@Oslo
Offline Offline
Edison Member
*
Karma: 12
Posts: 2033
loveArduino(true);
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How's the progress on making it a class?

Logged

0
Offline Offline
Jr. Member
**
Karma: 2
Posts: 81
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

New Zealand
Offline Offline
God Member
*****
Karma: 0
Posts: 999
Arduino pebbles
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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






Logged

0
Offline Offline
Jr. Member
**
Karma: 2
Posts: 81
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Cheers.
Logged

The Big Smoke
Offline Offline
Sr. Member
****
Karma: 0
Posts: 260
Hacking and Slashing
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 87
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 87
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Netherlands
Offline Offline
Sr. Member
****
Karma: 0
Posts: 414
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: 1 [2] 3   Go Up
Jump to: