MH-ET live 38 endless reset

garazh317
Posts: 1
Joined: Thu Feb 29, 2024 7:36 am

MH-ET live 38 endless reset

Postby garazh317 » Thu Feb 29, 2024 7:42 am

Hi All,

Sorry for the noob question. I have the subj and simple code run 2 seven segments displays with the sevseg library. The code is below, when both display code is uncommented thee board goes to endless power reset. rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT). When I have only one ANY display and the second is commented - the board works perfectly well. I concerned about some PINS conflict, but don't have enough knowledge to find the issue. Please explain me what I'm doing wrong?

[Codebox]
#include <SevSeg.h>
SevSeg sevsegW;
SevSeg sevsegE;

void setup() {
Serial.begin(115200);
Serial.println();
byte numDigits = 1;
byte digitPins[] = {};
byte segmentPins1[] = {25, 26, 19, 21, 22, 32, 33, 4};
bool resistorsOnSegments = false;
byte hardwareConfig = COMMON_CATHODE;
bool updateWithDelays = false;
bool disableDecPoint = true;
bool leadingZeros = false;
sevsegW.begin(hardwareConfig, numDigits, digitPins, segmentPins1, resistorsOnSegments, updateWithDelays, leadingZeros, disableDecPoint);
sevsegW.setBrightness(90);
//ERRORS 7 SEGMENT
byte segmentPins2[] = {12, 13, 15, 5, 18, 27, 14, 2};
sevsegE.begin(hardwareConfig, numDigits, digitPins, segmentPins2, resistorsOnSegments, updateWithDelays, leadingZeros, disableDecPoint);
sevsegE.setBrightness(90);
}

void loop() {
sevsegW.setNumber(1);
sevsegW.refreshDisplay();
sevsegE.setNumber(2);
sevsegE.refreshDisplay();
}
[/Codebox]

ves011
Posts: 20
Joined: Fri Oct 07, 2022 2:31 pm

Re: MH-ET live 38 endless reset

Postby ves011 » Fri Mar 01, 2024 6:38 pm

Looks like brownout detector triggered.
Maybe the power supply of your board dosen't provide enough current.

Who is online

Users browsing this forum: No registered users and 347 guests