We have not released an official firmware version for the VM211 with VMA301 support, but that doesn’t mean there isn’t one …
You can download version 4.2 here: https://velleman.bitrix24.eu/~Qniuv
This version adds support for the VMA301 DS1302 module and the VMA354 TUYA IoT inteface that is coming out soon. This will enable your EarthListener to send the values to the cloud so you can monitor them worldwide via the Tuya smart life app.
Both libraries are stored localy and should work without problems. Please note that this firmware build is currently experimental and not officially supported. Like that’s going to stop anyone… but there, we said it .
If no VMA301 module is installed, the VM211 ignores the functionality, so you’ll see no difference in the interface. If you add the module, the date and time will be used for logging and displayed next to the VellemanForMakers logo. We still need to implement a setup page to alter the time, after some time you’ll see a small offset.
The library that is posted for the VM301 is indeed written for older Arduino IDE’s. You cannot simply use it as a local library, that’s why we used another for the VM211. Like we said before, we do not recommend local libraries, but in the case of the VM211 it’s easier to support because every library change is otherwise a new build.
This firmware adds the VMA301 on pins 35; 37 and 39.
You can use other pins, but don’t forget to change these lines:
const int kCePin = 35; // Chip Enable RST pin on VMA301
const int kIoPin = 37; // Input/Output DAT pin on VMA301
const int kSclkPin = 39; // Serial Clock CLK pin on VMA301
Pins 30, 31 and 32 are used for additional outputs. Pins 14 and 15 for the Tuya IoT interface (Serial3).
@bert.test maybe something you might find interesting .