Red light on board - Can't run "Blink"

Hi!
I am very new to Arduino, but I'm decent at programming in JS and HTML.
I watched a few videos about how to set up my board with the "Blink" program a while ago (I prefer learning by reading), but ran into some problems:

The problems
• At first my board, which I believe to be a "Pro Micro" (but I need to verify this, how do I get to know which board I have?), was blinking yellow and green a little "random"-like when plugged into my laptop. (the board has 2-3 LED:s) – But after having ran a pasted-in version of the program "Blink" that i believe i got from some website that a video linked to, the board seemed to have broken for I am no linger getting that "random"-like blinking anymore, just one red light that is constantly on.

My Questions
• Is the constant red LED a common issue? And how do I solve it?
• How do I run the program "Blink" on my board?
• How do I determine which board I have?
• How do I select the board I have in the Arduino software?
• Where can I get the code for the program "Blink"?

Next I will post a picture of my board (with the red light).

Thanks, Leo.

Welcome to the forum

  • We do not know what program you loaded so don't know if you have a problem
  • Load it from the File/Examples menu in the IDE and upload it to the board
  • The name of the board is printed on it. It could be wrong, but it is unlikely
  • Select the board using the IDE Tools/Board menu. You will also need to select the port
  • Load it from the IDE File/Examples menu and view it in the IDE
1 Like
// Pro Micro Test Code
void setup(){}void loop()
{digitalWrite(17, LOW);   
 TXLED1; 
 delay(1000);
 digitalWrite(17, HIGH);
 TXLED0;
 delay(1000);}

sparkfun pro micro clone

1 Like

Here's the entire test sketch.

/* Pro Micro Test Code
   by: Nathan Seidle
   modified by: Jim Lindblom
   SparkFun Electronics
   date: September 16, 2013
   license: Public Domain - please use this code however you'd like.
   It's provided as a learning tool.

   This code is provided to show how to control the SparkFun
   ProMicro's TX and RX LEDs within a sketch. It also serves
   to explain the difference between Serial.print() and
   Serial1.print().
*/

int RXLED = 17;  // The RX LED has a defined Arduino pin
// Note: The TX LED was not so lucky, we'll need to use pre-defined
// macros (TXLED1, TXLED0) to control that.
// (We could use the same macros for the RX LED too -- RXLED1,
//  and RXLED0.)

void setup()
{
  pinMode(RXLED, OUTPUT);  // Set RX LED as an output
  // TX LED is set as an output behind the scenes

  Serial.begin(9600); //This pipes to the serial monitor
  Serial.println("Initialize Serial Monitor");

  Serial1.begin(9600); //This is the UART, pipes to sensors attached to board
  Serial1.println("Initialize Serial Hardware UART Pins");
}

void loop()
{
  Serial.println("Hello world!");  // Print "Hello World" to the Serial Monitor
  Serial1.println("Hello! Can anybody hear me?");  // Print "Hello!" over hardware UART

  digitalWrite(RXLED, LOW);   // set the RX LED ON
  TXLED0; //TX LED is not tied to a normally controlled pin so a macro is needed, turn LED OFF
  delay(1000);              // wait for a second

  digitalWrite(RXLED, HIGH);    // set the RX LED OFF
  TXLED1; //TX LED macro to turn LED ON
  delay(1000);              // wait for a second
}

HTH

a7


@alto777 @kolaha
It looks like the desired port is not showing up in the PORT-menu... It used to show up as "Arduino" in the PORT-menu before the board froze in a state of a red LED, but no longer aparently. How do I solve this? :confused:

I have the board plugged in.

изображение
are you sure your board is 8MHz 3.3V version?
for 16MHz 5V version jumper J1 should be closed.



I have two boards now. Two Pro Micro Clones. One (the old one) still doesn't work; It just doesn't show up in the ports menu, even after I restarted the Arduino program. This error first appeared after I ran a program on the board with the wrong configurations (wrong selected board), but shall the board really be broken permanently after this??

The second Pro Micro Clone seems to work fine and shows up in the ports menu. Does anyone know how to fix the error with the first board?

Thanks / Leo

Maybe you get a chance here:

https://www.shellhacks.com/arduino-pro-micro-reset-restore-bootloader/

(you have to choose the correct setup for your board, as stated before)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.