Comments (2)
You can hook up several sensors on the same SCL, SDA lines. Before doing that you have to hook up a single sensor to the bus one by one and set different addresses for each sensor. Don't forget to add pullup resistors if they are not on the esp8266 board yet.
Also if you experience communication stability problems, try lowering pullup values and/or communication speed.
Also it seems you could use a basic tutorial on I2C bus - Sparkfun has a pretty good one that's easy to find.
from plantwateringalarm.
The tutorial is really helpful! Should've read it earlier. Thanks!
from plantwateringalarm.
Related Issues (18)
- No Part? HOT 1
- I2C addresses > 127 are invalid HOT 1
- Switch of read out registers when resetting HOT 3
- Sensor damaged by soil HOT 6
- How to change default I2C Address? HOT 1
- Do recent sensors ship with the firmware from this repo? HOT 3
- re-programming HOT 3
- Light calibration HOT 1
- Fluctuating Sensor data on Raspberry Pi on standalone and chirp HOT 2
- Software License HOT 5
- Operation with lithium cells HOT 2
- Disable BOD not working HOT 4
- Messing with Timer0 will break Arduino millis(), micros() and delay(), delaymicroseconds()
- Problem Interfacing with Raspberry Pi Over I2C HOT 1
- Are External I2C Pullup Resistors Required? HOT 3
- i2c power usage HOT 1
- Discharge through transistors 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 plantwateringalarm.