Created Tue, 02 Dec 2014 22:38:38 +0000 by PICedh
Tue, 02 Dec 2014 22:38:38 +0000
Hello;
I have modified the lib Virtual Wire originally developped for Arduino in order to be able to run it on PIC32 Microcontrollers The main changes concern the interruption setup and handling (OC1 and Timer 2)
VirtualWire is an library that provides features to send short messages, withoutaddressing, retransmit or acknowledgment, a bit like UDP over wireless, using ASK (amplitude shift keying). Supports a number of inexpensive radio transmitters and receivers. All that is required is transmit data, receive data and (for transmitters, optionally) a PTT transmitter enable.
The source code is avalable here
[url]https://github.com/RobotEdh/RobotChipKit/tree/master/libraries/VirtualWire[/url]
Doc is avalable on my site [url]http://webedh.free.fr/[/url]
Don't hesitate to use and feel free to ask any questions
Eric
Wed, 10 Dec 2014 01:29:20 +0000
This sounds really interesting. Are there any transceivers in particular, that you would recommend? What module(s) have you tested with?
Thanks!
Wed, 10 Dec 2014 09:56:12 +0000
I think it should work with all of this ultra cheap 315/433mhz RF modules (reciever & transmitter for less than an euro) you get on ebay or aliexpress. Some info links: https://www.pjrc.com/teensy/td_libs_VirtualWire.html http://www.instructables.com/id/RF-315433-MHz-Transmitter-receiver-Module-and-Ardu/step3/Arduino-Virtual-Wire-Library/ ...and so on.
Thu, 18 Dec 2014 20:43:52 +0000
I use RF Link Transmitter - 434MHz and RF Link Receiver - 4800bps (434MHz)
They are very cheap (3$)
Before I used XBee modules that are very expensive
Fri, 03 Apr 2015 09:53:25 +0000
I have added new functions in my lib that allow transmitting float data and identifying the source and the type of data. Very helpfull in case of multiple sensors (temperature, pressure, acoustic, brightness ...)