Hi, I have a SPI sensor to interface to Nordic chip and need connection to 6 GPIOs+Vdd+Gnd. Is it possible using the grove sensor? Or I would need to design my own PCB?
From a firmware perspective, will I need to create and flash two firmwares, one for wifi chip and one for the nordic chip, or it will be possible to manage wifi connections, send http requests and so on, through the nordic chip only?
This is super interesting topic and from customer point of view Iām interested in the schedule.
Whatās the planned schedule for Ruuvi Dongle? Are we talking about months or years before I could order one?
I know I could solve my use case with gateway made out of Raspberry Pi, but the problem is I donāt believe enough on my technical skills. Of course I could find a maker to build the gateway and that might be my path.
Thanks for a great forum and nice products! Kudos to Ruuvi Team and Community!
Is there any code for ESP32 we could test? Very early stage version of code is okay, if it is at least semi-official and may lead to official version later. Iām mapping out technologies which we could use in very interesting environmental sensor project in Helsinki area this and next year.
Weāre currently evaluating ESP32ās BLE scanning performance using development kits and havenāt designed Ruuvi Dongle hardware (yet). You can order one today:
We already chatted about this in Telegram, but for the benefit of others coming across the thread. Unofficial code is at https://github.com/ojousima/ojousima.esp32_blegw.c, weāll move the code under Ruuvi once itās at readier stage.
My biggest issue when I tried to compile Otsoās code was wrong esp-idf version. The code compiles with v3.1, but not with v4.x version, which gets installed if you clone the code from github. In addition, if you use --recursive switch when cloning, all those submodules will be in wrong version and checking out esp-idf v3.1 after initialising them wonāt downgrade them.
Iām not an expert in this topic, but here is how I finally got esp-idf environment working:
After prototyping with the ESP32, weāve now started to build custom electronics. Iām working with its schematics as we speak.
Main features are:
nRF52 to listen BLE messages (!)
ESP32
WiFi
USB
Sensors (TBD)
Ruuvi Connector expansion port
Easy operation
All open-source
Main reasons for adding an nRF52 to listen Bluetooth messages are to have a
better antenna and
100% duty cycle.
ESP32 has a shared antenna between WiFi/BLE and ESP32 modules have teeny-tiny PCB antennas.
Ruuvi Dongle will have a far more better BLE antenna and itāll listen continuously in order to catch all the signals coming from nearby BLE beacons. ESP32 will provide a WiFi connectivity.
If youāre interested in contributing the firmware projects, give @otso a shout.
By default, the Dongle listens nearby broadcasting Ruuvi products and therefore it wonāt transmit anything. AFAIK, the article youāre referring to is about legacy Bluetooth devices (not BLE).
ETSI EN 300 328 defines EIRP at 1 MHz bandwidth to be max 10 dBm. This means that in Europe, 10 dBm is the max tx power for a BLE transmitter.
I thought you were developing 2-way communication between the Dongle and the tags.
I know that the link is not about BLE but it applies the same logic (class 1 and 2).
The BLE limit by definition is +10dBm, but the NRF52 can already transmit at +8dBm.
This looks awesome. Will you be able to flash the dongle with different Firmwares like you can the Ruuvitag? If so, what are you thinking about including as firmware?
Iād also love to see the dongle have the ability to broadcast BLE packets itself (I may be biased on this). What are your thoughts on that?
We plan to include bootloader in both ESP32 and nRF52, so you can upload your own code to both without any special equipment. Thereās no plan for other firmwares at least yet, but usually porting FW from one nRF52 board to another is really quick unless new drivers for external sensors have to be coded.
Hey,
I found this really late, but this sounds great! While reading all the posts some things came to my mind.
Related to this: āAdvertisement data is sent via MQTT with topic āRuuvi/{MAC_ADDRESS}/ā.ā
Is it fixed this way? I could think that it would be beneficial to determine the MQTT topics freely and utilizing parsing of the BLE messages. For example I might want to have different topics for different device types or physical locations or message content.
Regarding what messages to forward. I would like to see filtering where any part of the BLE message could be used for whitelisting or blacklisting messages.
For both 1 & 2 maybe regular expressions would be powerful and simple enough? Is it user friendly enough is another question.
Bigger topicā¦ I would love to see this device function also as Bluetooth Mesh node with at least Proxy and Relay features, but ideally also Friend feature. I donāt know how easily it would be possible, but It would be great to create a network using e.g. Bluetooth Mesh light bulbs or any other devices and then have this or some of these gateways to get connection to Internet and have custom use cases utilizing the network.
Form factorā¦ I think the USB dongle is great. Itās easy to find USB chargers and even that is often not needed as USB sockets are āeverywhereā. I think I would also benefit from PoE, but price is higher priority!