Should esp32 code run on an esp32-cam?

Daveyman123
Posts: 26
Joined: Sun Jun 16, 2019 5:37 pm

Should esp32 code run on an esp32-cam?

Postby Daveyman123 » Thu Jun 20, 2019 10:55 pm

So me and my dad are trying to catch would be thieves and also someone leaving behind alcohol bottles. At his storage business the cameras don't reach to these spots.

Without being too invasive I want to sense bluetooth and/or wifi signals of relatively close phones sort of like a pax counter. This is in lue of using a pir sensor which I have always found finicky and I want to make use of the esp32' cam's wifi/ble chip.

So to start I researched for the past few days or week. I found that most phones don't use ble so maybe that is out. I also found that the esp32 cam is a bit finicky and I'm not sure if it is compatible with other code I have found.

One time I was able to get the light to come on when my phone was near using code I found for the esp32.

Any help or direction would be nice

Here is code that is supposed to detect ble devices. Sometimes it works for me sometimes it doesnt and it always seems to return gibberish in the serial output even though I provide 5v and select the right board and the 115200 baud.
https://gist.github.com/wybiral/2a96c1d ... 0586c4b13e

Who is online

Users browsing this forum: Google [Bot] and 106 guests