Comments (2)
Hello,
Anytime I work with a module that is unknown to me I tend to play it safe. This is from previous experiences where a module should have been safe but wasn't. This was the primary reason for building it with an opto-isolator.
The decision was also driven by the cost of replacing the NodeMCU vs the RCWL01516 (if defective). For example, the cost of the NodeMCU is about $9 and the RCWL0516 is about $2, and the opto-isolator was less than $1.
In addition it seems that the RCWL0516 can accept 4–28 VDC for it's power supply. There was a time where I was going to experiment with supplying it with 12VDC to see if that had any effect on range or behavior. In that situation the isolation is a necessity to keep from damaging the NodeMCU in case there's a failure of the RCWL0516.
A future version of the project may replace the NodeMCU with an ESP-01. In that version I will probably still use the opto-isolator, and supply the 3.3v to the ESP-01S from a dedicated regulator (5v to 3.3v).
TIP : When using pre-built circuits that can be operated independent of support circuitry it's almost always a good idea to test them out before wiring them in. This was one of those situations. One of the RCWL0516 boards I bought was defective and output a constant 5v on the "OUT" pin.
from esp8266-rcwl0516.
You can use 3V3 output pin of RCWL-0516 for powering it with 3.3 V and in that case even failure wouldn't damage the ESP8266.
from esp8266-rcwl0516.
Related Issues (6)
- Add README content for ESP-01 HOT 1
- Sensor too sensitive HOT 1
- invert led on-off HOT 4
- Changes for ESP-01 HOT 1
- Witty Cloud ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp8266-rcwl0516.