Pullout GPIO pins on Wifi Shield

Hi there,
I'm just looking at the PCB layout for the Wifi shield, and I was wondering if we still will have access to the Cyton GPIO pins D18, D17, etc. I'm interested in buying a wifi shield, and I just want to make sure that I still have access to those pins for triggering, I/O, etc. Also, will the GPIO inputs still be stored in the same packet as our channel voltages like with the previous versions?

Thanks so much!
Jeff

Comments

  • I have a  same question for Ganglion: Will the A3, A4, A5, A6 on Ganglion be still accessible? Or are there any GPIO outbreaks on the wifi board that would allow reading analog signals? 
  • Hi all, on the WiFi shield we use only two pins

    Cyton: D13 and D18, leaving three other pins, D11, D12, and D17. In analog mode this means you can't read A7 when wifi is attached.
    You can use the new board mode features to read from these inputs on the fly. Documentation for board mode changing

    Ganglion: D_24 and D_4/A_5 are not available for use when the wifi shield is present. If you want the ability to change board modes on the fly, open an issue in the ganglion library repository on GitHub. 

    @dancingdarwin you still have D11, D12, and D17
    @wliao229 you still have A_3, A_4, and A_6

    Here is the code from the Cyton:

      switch (curBoardMode) {
        case BOARD_MODE_ANALOG:
          auxData[0] = analogRead(A5);
          auxData[1] = analogRead(A6);
          if (!wifi.present) {
            auxData[2] = analogRead(A7);
          }
          break;
        case BOARD_MODE_DIGITAL:
          auxData[0] = digitalRead(11) << 8 | digitalRead(12);
          auxData[1] = (wifi.present ? 0 : digitalRead(13) << 8) | digitalRead(17);
          auxData[2] = wifi.present ? 0 : digitalRead(18);
          break;
        case BOARD_MODE_MARKER:
          if (newMarkerReceived){
            auxData[0] = (short)markerValue;
            newMarkerReceived = false;
          }
          break;
        case BOARD_MODE_BLE:
        case BOARD_MODE_DEBUG:
        case BOARD_MODE_DEFAULT:
          break;
      } 
  • Brilliant. Thanks very much for the clarification!
  • I also added docs on it: 


    If you think they would be helpful in another spot, let me know. Should these be on the product page? Thanks!
  • Yea I was checking that page first. I think having it on the product page would be helpful too, esp since it looks like the pins are not labelled on the picture (which I assume is for cross-compatibility between Ganglion+Cyton). Thanks!
Sign In or Register to comment.