ESP32 resets on mechanical shock
-
- Posts: 6
- Joined: Thu Jul 04, 2019 12:37 pm
ESP32 resets on mechanical shock
Hi
I have a project with ESP32 and GY521, powered by an ion-lithium rechargable battery, to measure the angular velocity of a door. All the connections are soldered.
It runs nicely, but when the velocity is high, there is a high slowdown when the door knocks.
Is there any known reason for this ? Is it possible that reset button (EN) inertia cause it?
Thanks in advance
Gustavo Furtado
I have a project with ESP32 and GY521, powered by an ion-lithium rechargable battery, to measure the angular velocity of a door. All the connections are soldered.
It runs nicely, but when the velocity is high, there is a high slowdown when the door knocks.
Is there any known reason for this ? Is it possible that reset button (EN) inertia cause it?
Thanks in advance
Gustavo Furtado
-
- Posts: 6
- Joined: Thu Jul 04, 2019 12:37 pm
Re: ESP32 resets on mechanical shock
Sorry. I noticed that I didn´t define the problem...
If I close the door with a somehow high velocity, ESP32 resets itself. Only and always above a certain velocity.
Has somebody have this kind of issue?
My board is Wemos ESP32 D1 Minikit and giroscope is GY-571.
Thanks in advance for any help.
If I close the door with a somehow high velocity, ESP32 resets itself. Only and always above a certain velocity.
Has somebody have this kind of issue?
My board is Wemos ESP32 D1 Minikit and giroscope is GY-571.
Thanks in advance for any help.
-
- Posts: 9711
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 resets on mechanical shock
Strange. Perhaps one of your connectors is a bit wonky, and the acceleration makes it loose contact?
Re: ESP32 resets on mechanical shock
Could also be the crystal oscillator, vibrations will modulate the output signal.
-
- Posts: 6
- Joined: Thu Jul 04, 2019 12:37 pm
Re: ESP32 resets on mechanical shock
Hi ESP_Sprite
There is no conectors. All connections are made by soldering. I already bypassed the on/off switch, thinking like you, but nothing...
Hi PatrikB
I thougth this possibility. I posted this my issue to see if somebody had this problem, to share a possible solution...
I am working on it, but if one have a ligth please share with us...
Thank you for reply you two.
Gustavo
There is no conectors. All connections are made by soldering. I already bypassed the on/off switch, thinking like you, but nothing...
Hi PatrikB
I thougth this possibility. I posted this my issue to see if somebody had this problem, to share a possible solution...
I am working on it, but if one have a ligth please share with us...
Thank you for reply you two.
Gustavo
-
- Posts: 9711
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 resets on mechanical shock
Theoretically, the only other thing I can think of is ceramic capacitors that are microphonic... theoretically, for instance, if the cap on the reset line had this really really bad, it could reset the chip. I doubt that this is the case, it's more of a problem in analog circuits.
Re: ESP32 resets on mechanical shock
To test the hypothesis you could feed the ESP32 using an external signal generator through a flexible coax cable. Or try a MEMS based oscillator which should be more shock resistant than a crystal.
In one design I have seen the oscillator mounted on a cushion of foam to reduce vibrations/shock.
If you have access to a real-time spectrum analyzer you could use that to plot frequency vs. time (spectogram) to see how the oscillator behaves during the door closing.
In one design I have seen the oscillator mounted on a cushion of foam to reduce vibrations/shock.
If you have access to a real-time spectrum analyzer you could use that to plot frequency vs. time (spectogram) to see how the oscillator behaves during the door closing.
-
- Posts: 16
- Joined: Fri Jul 05, 2019 4:35 am
Re: ESP32 resets on mechanical shock
Your 6050 data goes over an angular velocity limit and crashes the esp32? Try lowering the sensivity in the 6050 setup.
I do fly quadcopters with esp32 + mpu6050 and never have this problem, not even on "hard landings".
I do fly quadcopters with esp32 + mpu6050 and never have this problem, not even on "hard landings".
- Attachments
-
- DSC02364.jpg (1.06 MiB) Viewed 12676 times
-
- Posts: 6
- Joined: Thu Jul 04, 2019 12:37 pm
Re: ESP32 resets on mechanical shock
Good hint VladTheImpeler. I´ll try to reconfigure 6050 less sensive..
I´ll came back with results...
Thank you all for replies...
I´ll came back with results...
Thank you all for replies...
-
- Posts: 6
- Joined: Thu Jul 04, 2019 12:37 pm
Re: ESP32 resets on mechanical shock
Hey VladTheImpeler
And what is the sensitivity of your 6050 (250 to 2000)? I had no success in this direction...
Maybe a poor power supply. What do you use as power supply for your quad-copter? What battery? Some capacitor, what value (uF)?
The answer for this questions may help me.
Thanks in advance...
And what is the sensitivity of your 6050 (250 to 2000)? I had no success in this direction...
Maybe a poor power supply. What do you use as power supply for your quad-copter? What battery? Some capacitor, what value (uF)?
The answer for this questions may help me.
Thanks in advance...
Who is online
Users browsing this forum: No registered users and 13 guests