Page 1 of 1

FET´s the Basic IO Shield

Posted: Wed Apr 19, 2017 11:38 pm
by Scalia
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:

Code: Select all

  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

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


Re: FET´s the Basic IO Shield

Posted: Thu May 11, 2017 11:47 pm
by mikes
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