Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vogler/esp-distance-sensor
Ultrasonic distance sensor (HC-SR04) and 4-digit display (TM1637) on a Wemos D1 mini
https://github.com/vogler/esp-distance-sensor
distance-sensor esp8266 esp8266-arduino hc-sr04 tm1637 tm1637display wemos-d1-mini
Last synced: about 1 month ago
JSON representation
Ultrasonic distance sensor (HC-SR04) and 4-digit display (TM1637) on a Wemos D1 mini
- Host: GitHub
- URL: https://github.com/vogler/esp-distance-sensor
- Owner: vogler
- License: mit
- Created: 2022-03-17T22:20:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-16T16:59:22.000Z (over 2 years ago)
- Last Synced: 2024-11-05T15:52:26.232Z (3 months ago)
- Topics: distance-sensor, esp8266, esp8266-arduino, hc-sr04, tm1637, tm1637display, wemos-d1-mini
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# esp-distance-sensor
Ultrasonic distance sensor (HC-SR04) and 4-digit 7-segment LED display (TM1637) on a Wemos D1 mini.Install the following Arduino libraries:
- [HCSR04](https://github.com/Martinsos/arduino-lib-hc-sr04)
- [TM1637TinyDisplay](https://github.com/jasonacox/TM1637TinyDisplay)Connect jumper wires on mini breadboard (both on 5V):
- HC-SR04: TRIG = D2, ECHO = D1
- TM1637: CLK = D5, DIO = D6![image](https://user-images.githubusercontent.com/493741/158905022-e630a85b-c96c-48a4-bf7e-05835f2802c3.png)
![image](https://user-images.githubusercontent.com/493741/158905070-fe12307f-c9b0-4e82-b145-227535b9ba78.png)
![image](https://user-images.githubusercontent.com/493741/158905214-a718f023-bf45-4fd8-b416-b4149c7270d2.png)
![image](https://user-images.githubusercontent.com/493741/158909079-f1c0595b-ac21-4b6f-bb29-be2c50385c56.png)