Git Product home page Git Product logo

Comments (5)

ArnieX avatar ArnieX commented on July 18, 2024

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.

osos avatar osos commented on July 18, 2024

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.

ArnieX avatar ArnieX commented on July 18, 2024

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.

osos avatar osos commented on July 18, 2024

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.

ArnieX avatar ArnieX commented on July 18, 2024

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)

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.