chipKIT® Development Platform

Inspired by Arduino™

FET´s the Basic IO Shield

Created Wed, 19 Apr 2017 22:38:58 +0000 by Scalia


Scalia

Wed, 19 Apr 2017 22:38:58 +0000

The Basic IO Shield (ChipKit uno32) have a 4 FETs. I tray used but I cant. The LED does not light.

This es my program IDE:

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.

  This example code is in the public domain.
 */
#if !defined(PIN_LED1)
  #define PIN_LED1 9
#endif

void setup() {
  // initialize the digital pin as an output.
  // Pin PIN_LED1 has an LED connected on most Arduino and compatible boards:
  pinMode(PIN_LED1, OUTPUT);
}

void loop() {
  digitalWrite(PIN_LED1, HIGH);   // set the LED on
  delay(1000);              // wait for a second
  digitalWrite(PIN_LED1, LOW);    // set the LED off
  delay(1000);              // wait for a second
}

PD: the SCHOTTKY DIODE MBR0520 [url]https://drive.google.com/open?id=0B3ttNPwGweGTdS1CUU1IOHM2aUk[/url]


mikes

Thu, 11 May 2017 22:47:01 +0000

The FETs on the IO Shield are open drain (sink) and your picture shows it connected incorrectly. The LED needs the end with the bar facing the fet, and the resistor connected to the +voltage. I think this video will help http://youtu.be/9cV6oKf1Nik