Opta Trouble Shooting - LEDR Status

Hello,

I'm looking for some trouble shooting documentation if possible regarding the LEDR.

I.e. What does the flashing red status of the LEDR represent?

I have a couple of OPTA's on my production floor that occasionally exibit a behaviour when powered on, where the LEDR is flashing red. It requires a reset before the program will run and communication can be made again. (Not always).

I have a NodeRed service which reads from the OPTA's in 5 second intervals.

The devices are simply reading a 0 - 10v reference signal which translates into a Speed for a puller and looped through a contactor for a power status.

Any help or a nudge in the correct direction would be greatly appreciated.

Thanks,

Mark

Same here, can't find any document regarding the LED status meaning of the LED above the reset button.

Ledr is flashing slowly after i pressed the reset twice. I don't know how to come out of it, Could someone help!

Did some test and notice that if program crashes, e.g. with intentional memory corruption, or abort(), LEDR will flash red, it's interesting that device will stuck in that state unlike other Arduino device that will simply restart the app.

I try to work around that issue by adding a watchdog which seems be able to take device out of the LEDR flash red status.

Can you explain how do you add a watchdog ?

tnks

donato

Check my example here

#include "mbed.h"

int watchDogTime = 10000;// Default Watchdogtime in ms


void setup() {
  mbed::Watchdog::get_instance().start(watchDogTime);// Initialize Watchdog timer
}

void loop() {
  // Do anything you want here
  
  mbed::Watchdog::get_instance().kick();// Reset Watchdog timer
}