Arduino code to control F-Machine devices via a H34A 315Mhz dongle.
Supported devices are:
As noted on their website, F-Machine uses 5 different types (A to E), probably with different commands, and maybe different frequencies.
This should be used to make your own remote. This might not suited for automation, as there is no feedback mechanism to make sure the device actually got the command and does what is expected.
Any Arduino compatible device should do. Tested on a Adafruit Trinket M0.
For the transciever I use a cheap H34A in 315Mhz version but any ASK/OOK 315Mhz emitter should work.
Just connect some wire to ANT, VCC to some 5V, GND to the ground, and DATA to your arduino data pin (D0 is the default in my code).
It is worth noting here that you won't be able to simply re-implement the Tremblr remote (using 5 buttons) with a Trinket M0, because it has only 5 exposed digital pins, and one is required to control the H34A.
Unfortunately, because Python is a bit heavy, it's hard to make it do proper sub-millisecond timings on microcontrollers. Also Arduino has a very nice lib that does all the timings for the 2262 for us. Just install the rc-switch library from the Arduino library manager.
Make sure you have installed the rc-switch library from the Arduino library manager.
Load rfmachine.ino in your Arduino IDE, edit the loop() command to your desires, and flash it on the required device.
More information can be found in the NOTES.md file.
@furrtek for help with most of this.
