• Stars
    star
    128
  • Rank 280,233 (Top 6 %)
  • Language
    C++
  • License
    GNU General Publi...
  • Created over 6 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

3rd Party Indoor Location using ESP8266/ESP32 and Find3 (https://github.com/schollz/find3)

esp-find3-client

Indoor Location using ESP8266/ESP32 and Find3 (https://github.com/schollz/find3)

Original repository at https://github.com/DatanoiseTV/esp-find3-client

Quick start

  • Download Arduino IDE
  • Download ESP32 support for Arduino IDE
  • Download and install ArduinoJSON library
  • Fetch code and edit esp-find3-client.ino
  • Change WiFi SSID and Password to reflect your WiFi Setup. You can add multiple APs.
  • Change GROUP_NAME to your group name
  • If you wish to enable BLE scanning, set USE_BLE to 1.
  • Upload code to ESP8266/ESP32 and watch the Arduino Serial Terminal for debug info.

Learning new locations

Android / iOS

The easiest way to learn new locations is using the Find3 app. Follow the official instructions at https://www.internalpositioning.com/doc/tracking_your_phone.md

Multiple ESP beacons

  • Prepare each ESP beacon by changing the #define LOCATION "<YOUR_LOCATION>" to the location used for learning the individual beacon.
  • Set #define MODE_LEARNING 1 on the top of the code
  • Put the corresponding beacons in the places / rooms you want to learn
  • Power up beacons using USB power supplies or batteries and let it run for 5-10 minutes
  • Disconnect all beacons and change #define MODE_LEARNING 0 on the top of the code to go back to tracking mode.

What does it do?

This code runs on an ESP8266 / ESP32 microcontroller, which has WiFi (and BLE on ESP32) on-board and is widely available from about 2€.

It connects to your WiFi and a Find3 server, scans continuously for neighboring WiFi access points and their signal strength and submits it to the server. The server uses machine learning to learn and estimate the location from this information.

This way the ESP is used as a "WiFi-Beacon" for Indoor Location.

Is it stable?

It was a short project of mine done in a matter or a couple of hours. Any bug reports and/or forks are welcome. Things seem to work fairly good so far. Use it at your own risk. This comes with no warranty.

Technical details

It performs the following steps:

  • Connect to WiFi
  • Synchronize time using NTP (needed for timestamps)
  • Scan for WiFi APs (and now also BLE on ESP32)
  • Prepare JSON to submit to server
  • Submit JSON with WiFi BSSIDs and BLE adresses and their corresponding RSSI to Server

Contact

You can contact me at find32dev (at) ext.no-route.org.

More Repositories

1

PicoADK-Hardware

A RP2040 based Audio Development Kit with 32 Bit Audio Output. Build your own standalone synthesizers!
188
star
2

PicoADK-Firmware-Template

🎡 🎹 Firmware boilerplate for the RP2040 powered PicoADK Audio Development Board. Build your own stand alone synthesizers! Includes all nuts and bolts (FreeRTOS, USB MIDI, Vult DSP, Hardware Plumbing, DMA, ..). https://github.com/DatanoiseTV/PicoADK-Hardware
C
137
star
3

AKWF_WaveForms

AKWF Single-Shot Waveforms as Signed 16-bit Integer C-Headers for use in Wavetable Synthesis. Resampled to 256+1 Samples.
C
33
star
4

PicoADK-Eurorack-Module

A Eurorack Module with 8x CV ins, 6 potentiometers, OLED screen, and 32-bit Audio Ouput ...
19
star
5

rp2040-vult-demo-board-template

A Vult DSP template for the RP2040 DSP Demo Board (PCM5102 32-bit Audio Codec, CV, Gate, MIDI)
C
14
star
6

wg-web

A CRUD-Application for managing WireGuard peers (e.g. for dynamic peer management) - WiP
Python
13
star
7

USB-C-Eurorack-PSU

STUSB4500 + TPS5430 based USB-C Eurorack PSU
C++
10
star
8

MT8816

Arduino Library to contol a Mitek MT8816 8x16 Analog Crosspoint Switch
C++
8
star
9

AudioOS

Buildroot based Raspberry Pi 4 OS with Real Time Kernel
Makefile
5
star
10

RP2040-Base-Template

A basic template for RP2040 based boards using PICO-SDK.
C
4
star
11

VCVRack-AbletonLink

PoC VCV Rack 2.0 module providing Ableton Link with Start/Stop Sync.
C++
3
star
12

rp2040-base-pcb-template

A template EasyEDA project with Raspberry Pi RP2040, USB-UART Bridge, 16MB Flash and 800mA LDO optimised for JLCPCB PCBA. πŸ”Œ πŸ”¨
3
star
13

AKWF_WaveForms_1024

Resampled AKWF Waveforms as C-Headers (1024+1 samples each)
C
3
star
14

JUCE-Vult-Demo

A monophonic phase-distortion synthesizer example written in Vult DSP. Standalone / AU / VST3.
C++
3
star
15

BeMicro-CV-Multicomp

Pick-and-mix to create your own custom computer on the BeMicro CV FPGA Board.
VHDL
2
star
16

NordModularPatches

Patches for Nord Micro Modular, Nord Modular G1 and Nord Modular G2
2
star
17

PicoUI

WiP User Interface Graphics + Input handling library for Arduino
C++
2
star
18

RemoteIO-gRPC

Remote I/O service for RaspberryPi using gRPC (and Protobuf)
Go
2
star
19

NorthernLights

Work in progress nRF24 DMX wireless light controller (ArtNet, DMX)
C++
2
star
20

AmbikaVoicecardControl

Arduino Library for controlling an Ambika Voice Card via SPI.
C++
2
star
21

RP2040-NRF24-Sensor-Node

A low-power Raspberry RP2040 + nRF24L01+ Sensor Node with LiPo Charger and Protection Circuitry
2
star
22

AudioOS-Buildroot

Realtime Audio optimized OS for Raspberry Pi 3/4 based on Buildroot.
Makefile
2
star
23

AudioOS-JUCE-Example

C++
1
star
24

DadaControl

JavaScript
1
star
25

BitmapFnts

C
1
star
26

OpenFrameworks-PS3Eye-FaceTracker

Just a dirty test with OF, The PS3Eye and FaceTracker @60fps.
1
star
27

debugomatic-gui

A GUI based on dear imgui for the RP2040 debug-o-matic board (swd scan, jtag scan, i2c enum, ..)
C++
1
star
28

modep-pi4-aarch64

Tweaks and config for modep-host / modep-ui for Raspberry Pi 4/400.
1
star
29

FabLabML

Fab Lab Markup Language - A markup language to describe your fablab
1
star
30

raspberry-juce

Dockerfile
1
star
31

imgui-cmake-template

C++
1
star
32

MIDIBox-FB01-Programmer

Yamaha FB-01 4-op FM Synth MIDI CC proxy / programmer
C
1
star
33

PicoADK-Firmware-Arduino

Work-in-progress Arduino version for the PicoADK Audio Development Board
C++
1
star
34

GLSL-Shaders

C
1
star
35

linux-rpi-5.4.y-rt

Raspberry Pi Kernel 5.4.y with PREEMT_RT Realtime Patches.
C
1
star
36

RaspberryPi-PL011-MIDI

C
1
star
37

Teensy_AK4558

Eagle
1
star
38

PicoADK-Eurorack-Module-VCV

VCV Rack Module for the PicoADK Eurorack Module "Aurora"
C
1
star