Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. b0wi
    3. Best
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by b0wi

    • RE: 💬 Building a WiFi Gateway using ESP8266

      @mfalkvidd said in 💬 Building a WiFi Gateway using ESP8266:

      Indication leds: the same pin can be used. Pro: only one pin is needed. Con: you won't be able to see the type of indication. An alternaive, if you can't find enough pins, is to only activate one or two.

      Inclusion: hopefully someone else can assist. I have never used inclusion.

      It's working now!
      I'm using the following pins for the leds:

      // Flash leds on rx/tx/err
      // Led pins used if blinking feature is enabled above
      #define MY_DEFAULT_ERR_LED_PIN 0  // [D3 / GPIO 0] Error led pin (Red)
      #define MY_DEFAULT_RX_LED_PIN 2   // [D4 / GPIO 2] Receive led pin (Green)
      #define MY_DEFAULT_TX_LED_PIN 16  // [D0 / GPIO 16] Send led pin (Yellow)
      

      Pin layout ESP8266

      The leds where on all the time except when there was some activity, so I had to invent the leds:

      // Inverses the behavior of leds
      #define MY_WITH_LEDS_BLINKING_INVERSE
      

      For the inclusion button I've used:

      // Digital pin used for inclusion mode button
      #define MY_INCLUSION_MODE_BUTTON_PIN 5 // [D1 / GPIO 5] Button pin
      

      I needed to use an pull up resistor (10K ohm) for more stability.
      Pull Up Resistor

      posted in Announcements
      b0wi
      b0wi