• Stars
    star
    189
  • Rank 204,649 (Top 5 %)
  • Language
    C++
  • Created about 3 years ago
  • Updated about 1 year ago

Reviews

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

Repository Details

Makerfabs ESP32 UWB & Display

/*
Version:		V4.3
Author:			Vincent
Create Date:	2021/11/6
Note:
	2021/12/9 	V2.0:Add a Indoor Positioning demo.
	2022/6/29 	V2.1:Add DW3000 library.
	2022/8/1  	V3.0:Provides a library available for high-power versions. Move DW3000 to other 		  					     repositories.
	2022/9/6	V3.1:Added changes to the high-power version.
	2022/10/26 	V4.0:Add new version with SSD1306
	2022/11/15	V4.1:Change library name to mf_DW1000.zip
	2022/12/29	V4.2: Change wiki link
	2023/1/3	V4.3: Change directory name.
*/

[toc]

Makerfabs

Makerfabs home page

Makerfabs Wiki

Makerfabs ESP32 UWB Serials

Intruduce

ESP32 UWB : esp32-uwb-ultra-wideband

ESP32 UWB Pro : esp32-uwb-high-power

ESP32 UWB Pro with Display : ESP32 UWB Pro with Display

Wiki Link : ESP32 UWB Pro with Display

Ultra-wideband (UWB) is a short-range, wireless communication protocol that operates through radio waves, enables secure reliable ranging and precision sensing, creating a new dimension of spatial context for wireless devices.

This new ESP32 UWB pro with display is the updated version of ESP32 UWB Pro, with the following new spec:

  • On-board OLED, 1.3” 128*64, so the distance results can be directly displayed
  • Lipo battery charger& connector, so this module can work separately with batteries
  • Update UWB position, so the module can be directly installed into a case
UWB Basic UWB Pro UWB Pro with Display UWB DW3000
CPU ESP32-WROOM/WROVER ESP32-WROVER ESP32-WROVER ESP32-WROOM/WROVER
Core UWB DW1000 DW1000 DW1000 DW3000
Screen N N Y N
Measuring distance(m) 45 200 200 20
Battery Socket N N Y N
UWB Channel 2/5 2/5 2/5 5/9
Apple Interoperable N N N Y
Suitable for Normal Testing Long distance needed Long distance needed Product development

UWB Basic

front

UWB Pro

front

UWB Pro with Display

front

Example

Compiler Options

If you have any questions,such as how to install the development board, how to download the code, how to install the library. Please refer to :Makerfabs_FAQ

  • Install board : ESP32 .
  • Rename mf_DW1000.zip to DW1000.zip and install it.
  • Install library : Adafruit_SSD1306
  • Upload code, select board "ESP32 DEV"

**This library was modified from the DW1000 library to work with the Makerfabs hardware. **

Please download the latest version from our Github.

Example List

uwb_tag

For ESP32 UWB and ESP32 UWB Pro

Distance to the receiving end of the test. You need an anchor point to receive data.

uwb_tag_display

For ESP32 UWB Pro with display

Distance to the receiving end of the test. You need an anchor point to receive data.

anchor

For ESP32 UWB and ESP32 UWB Pro

Distance test anchor point.

anchor_display

For ESP32 UWB Pro with display

Distance test anchor point.

Indoor positioning

For ESP32 UWB and ESP32 UWB Pro

Three UWB modules were used for indoor plane positioning. Data is transmitted through UDP protocol and graphically displayed in Python.

The law of cosines is used to calculate tag coordinates.

def tag_pos(a, b, c):
    # p = (a + b + c) / 2.0
    # s = cmath.sqrt(p * (p - a) * (p - b) * (p - c))
    # y = 2.0 * s / c
    # x = cmath.sqrt(b * b - y * y)
    cos_a = (b * b + c*c - a * a) / (2 * b * c)
    x = b * cos_a
    y = b * cmath.sqrt(1 - cos_a * cos_a)

    return round(x.real, 1), round(y.real, 1)

Pin Define

ESP32 UWB and ESP32 UWB Pro

#define SPI_SCK 18
#define SPI_MISO 19
#define SPI_MOSI 23

#define DW_CS 4
#define PIN_RST 27
#define PIN_IRQ 34

ESP32 Pro with display

#define SPI_SCK 18
#define SPI_MISO 19
#define SPI_MOSI 23

#define UWB_SS 21   // spi select pin
#define UWB_RST 27  // reset pin
#define UWB_IRQ 34  // irq pin

#define I2C_SDA 4	//I2C screen ssd1306
#define I2C_SCL 5

More Repositories

1

Project_Touch-Screen-Camera

C++
103
star
2

Makerfabs-ESP32-UWB-DW3000

C++
77
star
3

Makerfabs-ESP32-S3-Parallel-TFT-with-Touch

C++
62
star
4

Lora-Soil-Moisture-Sensor

Lora Soil Moisture Sensor
C++
50
star
5

ESP32-S3-Round-SPI-TFT-with-Touch-1.28

C
50
star
6

ESP32_IMU_Module

HTML
39
star
7

ESP32-S3-Parallel-TFT-with-Touch-7inch

C
34
star
8

Makerfabs-ESP32-S2-Parallel-TFT-with-Touch

C
32
star
9

MaTouch-ESP32-S3-Rotary-IPS-Display-with-Touch-2.1-ST7701

C++
32
star
10

ESP32-S3-Parallel-TFT-with-Touch-4.3inch

ESP32-S3 Parallel TFT with Touch 4.3inch
30
star
11

Maduino-Zero-4G-LTE

C++
29
star
12

ESP32-S3-Parallel-TFT-with-Touch-4inch

C
23
star
13

PICO_Merchanical_Hand_Driver

Python
22
star
14

ESP32-S2-MLX90640-Touch-Screen-Thermal-Camera

C++
21
star
15

ESPlay

The game source of ESPlay Micro
20
star
16

Project_MakePython_Audio_Music

C++
20
star
17

Makerfabs-ESP32-S3-SPI-TFT-with-Touch

C++
18
star
18

Project_Touch-Camera-ILI9341

C++
16
star
19

Project_ESP32-Web-Radio

C++
16
star
20

Pico_Primer_Kit

C
15
star
21

MaUWB_DW3000-with-STM32-AT-Command

C++
15
star
22

Project_WiFi-Statistics

C++
12
star
23

ESP32-S3-4G-LTE-CAT1-A7670X

C++
12
star
24

Project_IoT-Irrigation-System

Python
11
star
25

Makerfabs_RS485-LoRa-Wireless-Station

C++
11
star
26

Project_Soil-Moisture-Sensor-Wifi

Python
11
star
27

Maduino-Zero-A9G

Maduino Zero A9 or A9G demo code
C++
11
star
28

Makerfabs-MakePython-ESP32-Color-LCD

Python
11
star
29

ESP32-RTOS

C++
10
star
30

ESP32_PLAY

C++
10
star
31

Home-Assistant-AC-Dimmer

C++
10
star
32

Lora-Relay-4Channel

Python
9
star
33

Makerfabs_FAQ

C++
9
star
34

Makepython-ESP32

Python
9
star
35

4G-LTE-Hat-For-Raspberry-Pi

9
star
36

Project_ESP32-2048GAME

C++
8
star
37

Home-Assistant-Weather-Station

C++
8
star
38

Wind-Weather-Station

C++
8
star
39

Project_ESP32-Voice-Interaction

C++
8
star
40

Project_IMU-Car-Racing

Python
7
star
41

Project_Gps-Trace-Analysis

Python
7
star
42

Makerfabs_SmartClock_Kit

C
7
star
43

LoraWAN-Soil-Moisture

C++
7
star
44

Project-ESP32-LVGL

C
7
star
45

Maduino-Zero-Lorawan

C++
6
star
46

Makerfabs_3.5TFT_Lora_Controller

C++
6
star
47

Makerfabs_MaLora

C++
6
star
48

esp_tool

esp download tool for ESP8266 and ESP32 in windows
6
star
49

Lora-Relay

Lora Relay
C++
6
star
50

Project_Lora-Relay-Wifi

Python
6
star
51

ESP32-S3-SPI-TFT-with-Touch-2.8inch

C
6
star
52

MaTouch-ESP32-S3-RotaryIPS-Display1.28-GC9A01

C++
6
star
53

NRF52840

C++
5
star
54

Makerfabs-ESP32-C3-SPI-TFT-with-Touch

C++
5
star
55

SquareLine-Demo

C
5
star
56

Raspi-Voice-Interaction-Hat

Python
5
star
57

Makepython-Lora-Gateway

Python
5
star
58

Project_TTS-Weather-Broadcast

Python
5
star
59

Maduino-CANbus-RS485

C++
5
star
60

Project_ESP32-Flappy-Bird

C++
4
star
61

MaESP-ESP32-C3-OLED

C++
4
star
62

Game

Python
3
star
63

MakePython-Lora

Python
3
star
64

Industrial-grade-Soil-Remote-Monitor-V2

C++
3
star
65

Project-Wind-weather-station

C
3
star
66

Makerfabs-Lora-AC-Dimmer

C++
3
star
67

Project_Wakemaster-Alarm-Clock

C++
3
star
68

MakePython

Play MakePython with python
3
star
69

MaduinoLoraRadio

Maduino Lora Radio
C++
3
star
70

MakePython-A9G

Python
3
star
71

Home-Assistant-Relay-8-Channel

C++
3
star
72

SenseLoRa-LoRa-Receiver

C++
3
star
73

Makerfabs_SerLCD

C++
2
star
74

Makerfabs_Raspi_AI

Python
2
star
75

Makerfabs-LoRa_TDS_sensor

C++
2
star
76

Maduino-Power-Line-Modem

C++
2
star
77

nodemcu_integer_0.9.6

nodemcu_integer_0.9.6-dev_20150704
2
star
78

MakerPython-Audio

MakerPython Audio(ESP32+uDA1443)
2
star
79

4G-LTE-CAT1-Air-Monitor

C++
2
star
80

MaTouch-1.9inch-TFT-Breakout

MaTouch 1.9β€œ TFT Breakout, ESP32-S3 with 1.9" TFT
C
2
star
81

4-Channel-Lorawan-Relay

C++
2
star
82

SenseLoRa-Industrial-grade-Air-Monitor

C++
2
star
83

MQTT

Python
1
star
84

Mabee_Soil-Mositure

C++
1
star
85

Mabee

C++
1
star
86

3.5-inch-TFT-Display-480x320-for-Mega

3.5 inch TFT Display 480x320 for Mega
1
star
87

ESP32-S3-4G-LTE-CAT1-SIM7670G

ESP32-S3-4G-LTE-CAT1-SIM7670G
C++
1
star
88

MaESP-ESP32-Dev-Kit

The source for MaESP ESP32 Dev Kit
Python
1
star
89

ESP32-S3-Parallel-TFT-with-Touch-1.9inch

ESP32-S3 Parallel TFT with Touch 1.9inch
C
1
star
90

Home-Assistant-Controller-8-Channel

C++
1
star
91

DIY-ESP-Smartwatch-Kit

DIY ESP-Smartwatch Kit
1
star
92

ESP32S3-IR-Temperature-Monitor

C++
1
star
93

MaTouch_Knob

C
1
star
94

MaUWB_ESP32S3-with-STM32-AT-Command

C++
1
star
95

ESP32-WiFi-AC-Dimmer

C++
1
star
96

MaTouch-simplified-packages-for-squareline

1
star
97

NBIOT-Air-Monitor

C++
1
star
98

SIM808_Demo

Maduino Zero SIM808 GPS Tracker v3.5
C++
1
star
99

MaduinoZeroNFC

MaduinoZeroNFC
C++
1
star
100

MaPIE

C++
1
star