![]() |
Support for Arduino Uno Wifi R4 - Printable Version +- phyphox Forums (https://phyphox.org/forums) +-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6) +--- Forum: Feature requests (https://phyphox.org/forums/forumdisplay.php?fid=8) +--- Thread: Support for Arduino Uno Wifi R4 (/showthread.php?tid=1798) Pages:
1
2
|
Support for Arduino Uno Wifi R4 - kaddigat - 09-11-2023 Hi there, is there a possibility to run the phyphox BLE library on Arduino Wifi R4, or is support planned in near future? RE: Support for Arduino Uno Wifi R4 - Jens Noriʇzsɔɥ - 09-11-2023 We have just received two of the new Unos, however, not yet looked into these. Support is certainly planned, “when” depends on the effort we have to put into it. Hard to tell right now. RE: Support for Arduino Uno Wifi R4 - Jens Noriʇzsɔɥ - 09-13-2023 At first sight, it looks that the new Unos operate exactly like the IoTs. The following patch makes it work for the time being (the libraries are stored in the sketchbook folder): Code: diff -dur phyphox_BLE.std/library.properties phyphox_BLE/library.properties Please note that you also need to add “PhyphoxBLE::poll();” to the “loop()” function and you must provide a name in “PhyphoxBLE::start("<name>");” (likely a bug in our BLE driver for the IoT)… RE: Support for Arduino Uno Wifi R4 - Jens Noriʇzsɔɥ - 09-13-2023 BTW, the BLE support has just been added to the Arduino code base on August 30. Please note that you have to update the board firmware to make it work at all… RE: Support for Arduino Uno Wifi R4 - HannoK - 09-14-2023 Hi Jens, great you found time, supporting the R4 Wifi. As a newbie in Arduino / C++ I don't really have an idea, what to do with the patch-code. Do I have to include it to the first section of declarations in my *.ino file or do I need to modify the phyphoxBle.h file or similar? RE: Support for Arduino Uno Wifi R4 - Jens Noriʇzsɔɥ - 09-14-2023 In order to patch (edit), you need to find the Arduino sketchbook folder, head to the libraries and phyphox_BLE folder, and edit the three files in the “diff […]” lines. The diffs perhaps speak for themselves… ![]() If you have (hopefully just) some hours of time, I would recommend to wait for the library update. The next major update has been pending for days (weeks). At the moment, it looks that the R4 changes are either minimal –or fix substantial … inconveniences in the IoT part anyway. So we should not hold these back. RE: Support for Arduino Uno Wifi R4 - HannoK - 09-15-2023 Had been impatient ;-) - anyway, it is working now and I have learned something in the end. Thanks RE: Support for Arduino Uno Wifi R4 - Jens Noriʇzsɔɥ - 09-15-2023 The update is now available in the Arduino IDE: phyphoxBLE 1.2.0 (see https://github.com/phyphox/phyphox-arduino/releases/tag/v1.2.0)… RE: Support for Arduino Uno Wifi R4 - Ekfereth - 11-19-2023 Ηι, Ι try to use an Arduino UNO R4 with a sonar sensor HC-SR04. I get this error message : Compilation error: 'currentConnections' is not a member of 'PhyphoxBLE' I send you my code Code: #include <ArduinoBLE.h> RE: Support for Arduino Uno Wifi R4 - Jens Noriʇzsɔɥ - 11-19-2023 There is no “currentConnections” in the NanoIOT driver that is used for the UNO R4. It just exists for ESP32 boards and boards with NRF52. Which example is your code built one? I wonder if all the class members that you are accessing should really be exposed to public… |