Comments (5)
Hi,
first of, thanks for the appreciation. To the i2c that's simple as ESP8266 has only SW i2c and you can set whatever GPIO pins you wish I guess default are GPIO 0 and 2 or 0 and 4, I'm not very sure now, those pins are indeed broken out on the header. About SPI I'm really short of knowledge here as I have never used this interface, in case this is too supported only in SW you could likely just set pins you wish to use within your FW.
To keep small footprint we have decided to break out only few pins for additional relay or two or some motion sensor etc. that can extend device's functionality. Breaking all pins would require a lot more space.
Alternatively if SPI pins aren't broken out or possible to set within FW. You could solder wires directly to ESP module in place of SPI pins.
Hope this helps ;), also if you make Swifich, please post pictures here.
from swifitch.
Hi,
Please see this http://www.pighixxx.com/test/portfolio-items/esp8266/?portfolioID=360
The pins 12 (MISO), 13 (MOSI), 14 (CLK) and 15 (CS) represent the hardware SPI. Pin 15 (CS) may to software defined, but in general better performance is achived using the predefined HW pins
i2c are normally on pin 4 and 5.
from swifitch.
Hi,
pins that you are referencing as HW SPI aren't real GPIO, these are only to directly communicate with internal memory. For example ESP8266 12S already do not have these pins as they are useless. Pin 15 is GND.
BR,
Martin
from swifitch.
Ok. Not sure I completely understand. Just know that for my SPI enabled sensors etc, these IO-pins are to be used with the libraries available.
Would be fantastic if all available pins could be available on the PIN header on the board.
from swifitch.
That is virtually impossible due to size constrains. This device isn't to be allrounder it is meant to switch things on and off and offer limited pin out for sensors or another relays. There is currently no plan to extend the header. The best you could do is to wire pins that you need directly from ESP module by soldering wires to pins directly.
I'm sorry I can't help more here.
BR,
Martin
from swifitch.
Related Issues (14)
- ESP8266 vs ESP12S HOT 2
- Altium Designer Library HOT 1
- Can swifitch relay work with DC? HOT 5
- zapojenie swifitchu namiesto jednotlačítkového vypínača HOT 2
- Odpájanie od wifi HOT 3
- Photos of finished modules HOT 3
- How to control multiple relays? HOT 14
- PCB design files? HOT 2
- Doubt HOT 2
- Using swifitch with existing switches & 110v HOT 21
- PCB design in ascii format? HOT 9
- Zmenšení (Swifitch Mini) HOT 3
- How to desolder ESP8266 from NodeMCU HOT 17
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 swifitch.