@ RoSchmi - I have a couple Feather f=rfm69s and 3 raw radios, not breakouts.
@ Terrence - then I think, you have everthing you need. Feather RFM69 as the transmitter, Gadgeteer or FEZ NETMF Board with raw radio as receiver.
Canāt wait to have a play with this as it could be a perfect fit for my current project replacing the XBeeās.
So this driver needs to work on IoT as well. Would bit banging be acceptable?
Please, can you explain a litte bit more of what you are thinking.
@ RoSchmi - I was thinking it was only for .netmf If itās going to be for IoT with itās hard to get to bare metal then I will need to make some seperations in my version of the driver. I consider this a requirements change.
@ RoSchmi - Here is a guy who is working on getting the RFM12B to work on Windows 10 IOT Raspberry Pi. Hoping his code might help the overall movement.
Great work! Iām going to take a shot at porting this to Win 10 IoT Core. Iāll post back if I get something working.
Thanks, very interested to see your code.
Successfully built the library for Win IoT 10 Core. Most of the conversion was straightforward (things like converting āTicks()ā to System.Environment.TickCout; converting the Thread-ing calls were a little more work, but not muchā¦). Iāll start testing tonight or tomorrow.
Thereās one material change. Win IoT Core doesnāt have an InterruptPort class nor InterruptPortās DisableInterrupt()/EnableInterrupt() members. You can instantiate a Gpio pin in Win IoT, set the pinās DriveMode to Input (InputPullHigh in this case/if the pin supports it), and attach a handler to the pinās ValueChanged event which is nearly the same as attaching to an InterruptPortās OnInterrupt event. In the ValueChanged handler, you can determine if the pinās Edge is falling or rising (I think weāre interested RisingEdge in the RFM69 class). But I think the Gpio āinterruptā pin could still receive input while the ValueChanged handler is executing. Iāll take any guidance anyone cares to offer about handling interrupts properly in Win IoT.
Similar issue with OutputPort; thereās no OutputPort class in Win IoT, but you can configure a Gpio port as output, set the initial state to false (Low), etc. So I think the reset pin will work just fine.
A few other async/threading related-clean ups, but Iām hopeful Iāll have something to share in a few more days.
@ SmithJones - I canāt provide any technical help on this, but I am looking forward to checking out your library. I think RFM69 is the right radio (low power, long distance) for IOT telemetry data transport back to the gateway.
The sound of a Raspberry Pi running Windows 10 Iot Core (with a ānakedā Adafruit RFM69 radio attached) transmitting messages to a remote RFM69 receiver. Still a lot of cleanup to do, but itās working.
@ SmithJones - That is a beautiful sound.
@ SmithJones - Any updates on your Win10 Pi radio code?
I need to setup some wireless water monitoring stuff over 1000acres of land. I was hoping to use G120 and Adafruit RFM69HCW Transceiver Radio Breakout - 433 MHz [RadioFruit] : ID 3071 : $9.95 : Adafruit Industries, Unique & fun DIY electronics and kits
Before I go shopping. Did this ever get finished?
Edit: Actually should use these Adafruit RFM96W LoRa Radio Transceiver Breakout - 433 MHz [RadioFruit] : ID 3073 : $19.95 : Adafruit Industries, Unique & fun DIY electronics and kits
Does anybody know if the code is the same?
@ stotech - the driver used to work. What will be the distance between the sensors and the gateway in your application. How many sensors?
I suppose that the code will not work with the LoRa modules.
@ RoSchmi - I am interested in using the driver with Win10 IOT on a RPI. Will the diver work in that situation?
Actually I guess this should have been addressed to alias @ SmithJones
@ Terrence - the NETMF/Gadgeteer adaption of the driver will not work on RPi with Windows IOT. Unfortunately there are no new posts from @ SmithJones.
Concerning RPi and Linux I just saw this post:
http://jeelabs.org/2015/05/20/rfm69-on-raspberry-pi/
Personally Iām at the moment not interested in trying to make a driver for RPi and Windows IOT, unlessā¦ someone makes a very good offer :whistle:
@ RoSchmi - I understand. I guess I just need to get on board with the Arduino crowd and use the LowPowerLab driver and code.
Thanks.
@ Terrence - Yes, if you need less than letās say 50 units and want to stay with RPi and Windows IOT itās probably the better way to connect an RFM69-Arduino like the Moteino to the RPi through a serial port and let the Moteino/Arduino do the RF stuff. The advantage of the stable library will pay off the higher price.