DashBarkHuss
Member
I recently was able to control a 3 meter (60 leds) strip with an arduino uno.
For the Uno project:
The same setup isn't work with teensy.
I have RED led's/mosfet connected to pin 9.
using the blink code
But nothing happens.
I know 9V is too high to power a teensy. But I am powering the teensy from the computer serial port. I only need the 9V for the LED strip. Not sure if this is ok.
I'm wondering if I need a different mosfet but in the amazon reviews people say this works with 3.3V. I'm a little confused about what to look for in the data sheet, but it says that Gate to Threshold Voltage is min 1V and max 2V.
Are there any glaringly obvious changes I need to make? Is this possible to accomplish? Does what I describe seem like it should work?
For the Uno project:
- I used this tutorial.
Here's the fritzing diagram from the tutorial - I ONLY connected the RED LEDs.
- My LED strip had 60 led's
- 9V battery to power LED's, (you can use this to power the arduino uno too. For the teensy I'm using the serial port because 9V is too high)
- I used a p30N06le mosfet | amazon link | spark fun data sheet |
The same setup isn't work with teensy.
I have RED led's/mosfet connected to pin 9.
using the blink code
Code:
void setup() {
pinMode(9, OUTPUT);
}
void loop() {
Serial.println("on");
digitalWrite(9, HIGH);
delay(1000);
Serial.println("off");
digitalWrite(9,LOW);
delay(1000);
}
But nothing happens.
I know 9V is too high to power a teensy. But I am powering the teensy from the computer serial port. I only need the 9V for the LED strip. Not sure if this is ok.
I'm wondering if I need a different mosfet but in the amazon reviews people say this works with 3.3V. I'm a little confused about what to look for in the data sheet, but it says that Gate to Threshold Voltage is min 1V and max 2V.
Are there any glaringly obvious changes I need to make? Is this possible to accomplish? Does what I describe seem like it should work?