Author Topic: New OOK library for Moteino  (Read 30356 times)

DenisJ

  • NewMember
  • *
  • Posts: 18
  • Country: it
Re: New OOK library for Moteino
« Reply #75 on: January 26, 2017, 05:54:02 AM »
I'm on Arduino mega 2560 now ... cause I don't want to broke the beautiful Moteino mega :-)

Sorry, I still not understand if I must use only an interrupt ...or two.

So I ask you please... on the RFM69HCW module I will use DIO0 or DIO2 ...or all two ?

Thanks again
Denis

kobuki

  • Sr. Member
  • ****
  • Posts: 289
Re: New OOK library for Moteino
« Reply #76 on: January 26, 2017, 06:06:33 AM »
DIO0 is used for the normal operation of the Moteino. It's not used in my lib.

DenisJ

  • NewMember
  • *
  • Posts: 18
  • Country: it
Re: New OOK library for Moteino
« Reply #77 on: January 26, 2017, 06:23:01 AM »
YESSS !!! it's work :-)
I receive a lot of nums with your OOKDumper sketch.
Thanks a lot !!!

Now please I want to ask you another think...
have you ever test a New Kaku protocol using your modified RFM69 lib ?   

I want to send/receive some commands to a domotics program that is linked with RFLINK gateway.

Thanks a lot again
Denis


kobuki

  • Sr. Member
  • ****
  • Posts: 289
Re: New OOK library for Moteino
« Reply #78 on: January 26, 2017, 06:33:06 AM »
I have no idea about the new KAKU protocol, sorry. But it's one of the most discussed protocols so I think you could find all required info on the net. Or someone else might be able to help here if you open a new thread.

DenisJ

  • NewMember
  • *
  • Posts: 18
  • Country: it
Re: New OOK library for Moteino
« Reply #79 on: January 26, 2017, 06:39:57 AM »
Ok ...no problem
Maybe if I can make it work I'll put it here in order to have it for future.

Let me tell you that you make a good work porting ASK/OOK to the RFM69 lib.

Thanks again
Denis

AntoineLyon

  • NewMember
  • *
  • Posts: 5
Re: New OOK library for Moteino
« Reply #80 on: September 26, 2017, 08:23:47 AM »
Hi, sorry if this is not the absolute right place for my question.

I found your lib to be exactly what I'm looking to. 1/ I need to scan OOK signals, so OOKDumper may be useful, 2/and to generate a specific signal, see picture, and OOKTrasmitTest may be perfect for that.

But I'm using an Arduino Feather M0 with RFM69HCW, changed your lib to use   #define RF69OOK_SPI_CS      8 and #define RF69OOK_IRQ_PIN     3, but no signal seems to be received. Do you have an idea of what I'm missing ?

Thanks

kobuki

  • Sr. Member
  • ****
  • Posts: 289
Re: New OOK library for Moteino
« Reply #81 on: September 26, 2017, 08:28:01 AM »
I don't own any M0-based device so I can't help, sorry. Maybe other folks using something like the Feather can say something. IIRC Felix's RFM69 lib has been ported or patched to support M0, so you might get ideas looking at its code.

AntoineLyon

  • NewMember
  • *
  • Posts: 5
Re: New OOK library for Moteino
« Reply #82 on: September 26, 2017, 08:55:23 AM »
I've already asked in a RH69 thread and Felix answered, but he has not explored the "not packetized" OOK. I will look on both libs deeper. Thanks.

oldfart

  • NewMember
  • *
  • Posts: 4
Re: New OOK library for Moteino
« Reply #83 on: September 30, 2017, 12:12:03 PM »
My plan is (was)
Most hand-held remotes in Europe operate at 868Mhz - blinds/roller shutters/garage doors etc.
I want to integrate a [device/ESP8266/Moteino] into Home Assistant to open/close (and maybe get the state of) those devices.
Would involve:
1. learn the remote codes (a bit like the Broadlink RM pro) from the hand-held remote
2. get those codes and save into Home Assistant (in hex/binary/whatever)
3. re-transmit those codes to the device, using MQTT from Home Assistant

so far I have a Moteino Mega, thats as far as I got.
Spent a week trolling round the internet, looking for suitable code.
Any ideas/comments??

miketuk

  • NewMember
  • *
  • Posts: 3
Re: New OOK library for Moteino
« Reply #84 on: January 18, 2019, 07:39:29 AM »
Hi

I would like to use the RFM69HCW to send data (or at least transmit a beacon), so thought this would be a good place to start.

I have hooked up the RFM69 on Sparkfun breakout to my Moteino and I am using the OOKTransmitTest.ino sketch.  To be sure, I have also taken DIO2 to pin 3 on the Moteino.

However, I am not seeing anything on 433.9mhz. I am listening with both my Kenwood THf7e and SDR# with a USB dongle. If I try with the LowPowerLabs provided libraries and using the Node.ino sketch, I see plenty of data on 433.0mhz, so I believe (!) everything is hooked up as it should be.

Any suggestions anyone?

Regards
Mike