1

I have a simple test sketch to run for my led aquarium:

#include <IRremote.h>
#include <IRremoteInt.h>

IRsend irsend;
void setup() {

}

void loop() {

irsend.sendNEC(0xF7C03F, 32);
delay (2000);
}

I am using a 850nm Infrared LED and a 330Ohm resistor. The connection: Digital 3 to Resistor -> GND enter image description here

On the Arduino nano it runs perfectly: the LED of my aquarium turns on and off like the sketch tells it to. But on the Pro Mini nothing happens.

To be honest, it is my first time using the pro mini. Maybe I forgot something??? I am using a FTDI232 (set to 5V) to flash it.

Hope someone can help me. Kind regard Daniel :)

9
  • Can you confirm, that the sketch really runs? You can use the Blink Sketch with a normal LED, so that you can see, if the sketch really runs, that you programmed onto the pro mini Commented Oct 17, 2019 at 9:16
  • Can you verify that the led lights up? I used the front-facing camera of my iPhone to see if my IR-led was blinking. Secondly; which pro-mini variant are you using? The 3.3V or the 5V one? Make sure you selected the correct one in the "boards" menu. Commented Oct 17, 2019 at 9:18
  • Yes, the blink sketch seems to run. The LED next to pin 9 turns on/off for 2 secs. Commented Oct 17, 2019 at 9:20
  • I think it is the 5V variant. (I measured VCC and GND and it gave me 5V). Commented Oct 17, 2019 at 9:21
  • how is that resistor connected on breadboard? in the same column? Commented Oct 17, 2019 at 9:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.