Search found 21 matches

by Brento
Thu Jun 10, 2021 4:55 am
Forum: ESP32 Arduino
Topic: Servo Data Line Noise?
Replies: 0
Views: 2081

Servo Data Line Noise?

I am having a really bizarre issue with an MG996R servo, controlled by an ESP32-D2WD. Completely intermittently (once or twice a day, running all day), and without making a call to any Servo class methods, it will jump around. AFAIK know, the power is stable. But, I am wondering if perhaps some nois...
by Brento
Mon Jan 25, 2021 9:27 am
Forum: ESP32 Arduino
Topic: ESP32 D2WD won't start on some compiles (byte alignment?)
Replies: 0
Views: 1793

ESP32 D2WD won't start on some compiles (byte alignment?)

I've been having an intermittent problem lately, where 1 in 4 downloads to my custom-built ESP32 boards won't launch, despite perfectly valid compiling code. I get the following message on the serial monitor "VMDPV_1|1_".. and nothing else executes. The strange thing is, that this happens immediatel...
by Brento
Tue Jul 14, 2020 2:30 am
Forum: Hardware
Topic: ESP32 Reboots when doing serial comms
Replies: 6
Views: 7294

Re: ESP32 Reboots when doing serial comms

Yes, thanks for your help. I re-posted this on another topic, when I realized this might not be a hardware issue. I think this solves it. Problem was unique to the D2WD in that it has more reserved flash pins than the D0WD. I incorrectly assumed that the additional flash pins needed for the D2WD fre...
by Brento
Sat Jul 11, 2020 2:46 am
Forum: ESP32 Arduino
Topic: ledcWrite and Serial.println Conflict?
Replies: 2
Views: 3831

Re: ledcWrite and Serial.println Conflict?

pin 10 is not available on either board. Please consult a pinmap https://github.com/espressif/arduino-es ... ard-pinmap Even for the D2WD chip? According to https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf, page 10, the embedded flash uses different pins on the D2W...
by Brento
Sat Jul 11, 2020 12:20 am
Forum: ESP32 Arduino
Topic: ledcWrite and Serial.println Conflict?
Replies: 2
Views: 3831

ledcWrite and Serial.println Conflict?

I originally posted this under the Hardware topic, but, I think this may not be a power issue at this point. I am wondering if there is some sort of conflict possible with ledcWrite and the use of the serial ports? In the code below, it seems that if I comment out ledcWrite from the setup, Serial.pr...
by Brento
Sat Jul 11, 2020 12:11 am
Forum: Hardware
Topic: ESP32 Reboots when doing serial comms
Replies: 6
Views: 7294

Re: ESP32 Reboots when doing serial comms

Update. I am now wondering if there is some sort of conflict possible with ledcWrite and the use of the serial port. It seems that if I comment out ledcWrite from the setup, Serial.println("beep") works fine indefinitely. void setup() { Serial.begin(9600); Serial.println("setup begin"); ledcSetup(1,...
by Brento
Fri Jul 10, 2020 12:13 am
Forum: Hardware
Topic: ESP32 Reboots when doing serial comms
Replies: 6
Views: 7294

Re: ESP32 Reboots when doing serial comms

that's the only code running on the entire board? print shouldn't draw hardly any current or cause any appreciable voltage loss from what I know? In the loop, yes. The setup has some initialization routines, and where the baud rate is set, of course. If I make a call to serial.println in the loop, ...
by Brento
Thu Jul 09, 2020 11:56 pm
Forum: Hardware
Topic: ESP32 Reboots when doing serial comms
Replies: 6
Views: 7294

ESP32 Reboots when doing serial comms

I have a custom designed PCB that intermittently reboots with the following message: Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled. Core 0 register dump: PC : 0x400d5f70 PS : 0x00060730 A0 : 0x00000000 A1 : 0x3ffc4e50 A2 : 0x00000000 A3 : 0x00000000 A4 : 0x0000...
by Brento
Mon Jul 06, 2020 1:06 am
Forum: Hardware
Topic: D2WD Processor Doesn't Run
Replies: 2
Views: 3648

Re: D2WD Processor Doesn't Run

Just an update.. I finally got the thing working. Turns out my Arduino project settings were incorrect. It MUST be set to Partion Scheme: Minimal (2MB FLASH) when uploading to the D2WD. I noticed this when it detected 2MB when doing previous upload attempts. For some reason I thought this chip was s...
by Brento
Sun Jul 05, 2020 10:06 pm
Forum: Hardware
Topic: D2WD Processor Doesn't Run
Replies: 2
Views: 3648

D2WD Processor Doesn't Run

I recently had a PCB printed, and was having some difficulty communicating to if via the built in CP2102N chip I added to it. However, I put a few extra jumpers on the board, and managed to upload the code using a separate CP2102 board. https://www.robotshop.com/ca/en/cp2102micro-usb-to-uart-adapter...