ESP32 network activation resets the board

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
pccminister
Posts: 7
Joined: Wed Mar 04, 2020 8:44 am

ESP32 network activation resets the board

Post by pccminister » Wed Mar 04, 2020 8:55 am

Hi

I am a noob in micropython and my background is in PLC and Industrial automation.
I`ve found some interesting stuff in micropython for my projects eg. MQTT.

I tried to connect to my Wifi with ESP-WROOM-32 and when I try to activate the wlan according to reference in micropython.org I get this:

Image

when I type wlan.active(True) the board resets itself?!!!

Should I buy a new one?

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: ESP32 network activation resets the board

Post by Roberthh » Wed Mar 04, 2020 9:00 am

That could be a power supply issue. Try another USB port, capable of delivering robust power, like an USB3 port, and use a good USB cable.

pccminister
Posts: 7
Joined: Wed Mar 04, 2020 8:44 am

Re: ESP32 network activation resets the board

Post by pccminister » Wed Mar 04, 2020 9:34 am

yup! that was the problem.
thank u
note to self: dont use self-made usb cables for important projects :D

fstengel
Posts: 55
Joined: Tue Apr 17, 2018 4:37 pm

Re: ESP32 network activation resets the board

Post by fstengel » Wed Mar 04, 2020 12:56 pm

This could almost become part of a FAQ. There are quite a few questions in the forum on the same issue (amonst them one of mine :oops:)

Jonwalter
Posts: 6
Joined: Mon Apr 09, 2018 12:41 pm
Contact:

Re: ESP32 network activation resets the board

Post by Jonwalter » Thu Mar 05, 2020 2:15 pm

pccminister wrote:
Wed Mar 04, 2020 8:55 am
I am a noob in micropython and my background is in PLC and Industrial automation.
Hey,
The thing is, some electrical motors like Siemens (https://eltra-trade.com/catalog/siemens-motors) include PLC programming, along with SCADA, DCS, Instrumentation, etc..
Looking at the other end, PLC programming is used for Industrial Automation, in addition to some other fields.
Last edited by Jonwalter on Sat Mar 14, 2020 12:32 pm, edited 1 time in total.

pccminister
Posts: 7
Joined: Wed Mar 04, 2020 8:44 am

Re: ESP32 network activation resets the board

Post by pccminister » Thu Mar 05, 2020 9:11 pm

Jonwalter wrote:
Thu Mar 05, 2020 2:15 pm
pccminister wrote:
Wed Mar 04, 2020 8:55 am
I am a noob in micropython and my background is in PLC and Industrial automation.
Funny thing. My bg is industrial automation to :D Glad that you solved your problem!
thank you for the support :)

PLCs have to work with IoT soon there will be cheap PLCs with the ability to work with and alongside IoT.

I was so lucky to know about micropython so soon. C was making me pull out my hair!!! :D

Post Reply