• Community
  • Connect oak D cam to a ethernet network?

Hello, we are new to oak d and luxonis device.
What would be the best practice for connecting this to a ether Et network through wifi?

Esp connected to the oak d?
Other simplier ways?

Any informations about this would be nice.

  • erik replied to this.

    Hello julienbayle , I would suggest using an OAK-POE device, so either OAK-D-PoE, if you need depth perception, or OAK-1-PoE otherwise. We also have a few POE streaming demos, eg this one. You can use it as either a server or a client, so it's very flexible.
    Thanks, Erik

    Hi Erik, our topology doesn't allow to use ethernet cable. Wifi would be the only way.
    Actually, do you have an example including this kind of practice ?
    Does the Rasp within the oakD include a wifi that we could enable ?

    • erik replied to this.

      Hello julienbayle , the OAK-D-CM4 does have WiFi connectivity, so you could use that module.
      Another option would be to use OAK-D-IOT, which has ESP32 on-board, and stream data that way. Just note that it's 2mbps throughput (SPI connectivity between ESP32 and VPU), so any kind of high FPS/resolution streaming wouldn't be possible.
      Thoughts?
      Thanks, Erik

      Hi Erik and, again, thanks for your answer.
      Actually, I need only data flowing through wifi.
      The analysis would be done on-board in the OAK-D, and I'd send xyz people coordinates over udp over wifi.
      The destination computer would aggregate all data from one or n cam and would do the calculations i'd need.

      Looks like a way, doesn't it?

      • erik replied to this.

        Hello julienbayle , if you would only need spatial coordinates, you could use an OAK IOT device as well, and stream them via WiFi (from ESP32).
        Thanks, Erik

          erik Actually, we already got OAK-D. This is the reason of my questions.
          So, as far as I understood, OAK-D doesn't embed wifi module. I got it.
          I hope we'll have time for investigating and add something to the OAK-D for making it wifi enable.

          Thanks a lot for your answers.

          Hello julienbayle , correct, OAK-D doesn't have wifi module. The OAK-D-CM4 has wireless CM4 on-board (PN: CM4104008), so you could use that as well - or get a RPI4 and connect OAK-D to it.
          Thanks, Erik

            erik is there working codes somewhere for the option OAK-D + RPI4 ? I mean, does-it use SPI ? or what ?

            • erik replied to this.

              julienbayle you just connect it to the USB and use RPi4 as any other computer host (eg laptop/PC). So you can use any example/tutorial/experiment/demo and it should work.

                erik ok. thanks a lot. Cost wise, the ESP32 way could be better.
                Last (but not least) question: would you already have codes that would allow people tu use OAK-D with an ESP32 in that case ?

                OAK-D would capture frames, analyze persons data, and spread the message over wifi through esp32.
                I'm just trying to evaluate the cost of that SPI communications development if it would have been done already.

                • erik replied to this.

                  or maybe wouldn't it be out-of-the-box way to use a Raspberry 3 ? (cheaper)

                  Hello julienbayle regarding the OAK-D-IOT and ESP32, we do have a few demo apps here. You are right, RPi 3 would work as well.

                  a year later

                  Hello,
                  Has anyone tried connecting one of the 802.11ah modules based wifi? I am wondering if ESP32 is possible then up and coming (at its own speed!) 802.11ah Halow Wifi modules should work too in principal. I have not opened up my Oak-D modules yet so could you confirm if SDIO interface is available or not? The WIFI dev board that i want to test supports SDIO interface and so trying to gauge if it would work....

                  ![
                  ]

                  • erik replied to this.

                    Hi HS1 ,
                    In general, the IOT line and the SPI support are community support only (additional info here), but I will leave it to community for any additional input.
                    Thanks, Erik