Coder Social home page Coder Social logo

hc-sr04--x2--wemos-d1-mini-shield's Introduction

HC-SR04--x2--WeMos-D1-Mini-Shield

Shield to attach up to two HC-SR04 ultrasonic distance sensors to a Wemos D1 Mini ESP8266 module.

Assembled Board with SENSE1, mounted to a Wemos D1 Mini

Sensor datasheet

Second datasheet source

Works with one or two sensors. The first is mounted to the shield, the second is intended to be mounted elsewhere and connected with a four-conductor cable. It could also be mounted directly to the board facing the opposite direction as the first sensor.

Utilizes a BS138DW SOT-363 chip (which is just two BSS138 N-channel enhanced mode MOSFETs in one package) for level switching the ESP8266's 3.3V trigger pulse up to 5V for the sensors (ref: https://learn.sparkfun.com/tutorials/retired---using-the-logic-level-converter). The down-convert is a simple voltage divider.

All resistors are 0805 size. Resistors on top of board (with the IC) are 10K, resistors on bottom are 20K.

SENSE1 is mounted to the board
Trigger pin: D3
Echo pin: D4

SENSE2 (optional) can be located off-board
Trigger pin: D7
Echo pin: D8

The board and SENSE1 have been tested. Example Arduino sketches are in work. Boards available from OSH Park here: https://oshpark.com/shared_projects/YeCIIDGi

hc-sr04--x2--wemos-d1-mini-shield's People

Contributors

aaronjasso avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

seco

hc-sr04--x2--wemos-d1-mini-shield's Issues

Incorrect header footprint for SENSE2

SENSE2 is intended to be connected via a JST PH-4 connector. The footprint requires a 0.1" pin pitch, but the existing footprint is something less than 0.1".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.