Questions tagged [reset]
Use this tag for discussing resetting the processor.
119
questions
-1
votes
1
answer
85
views
Use attiny85 reset pin as analog pin
I want to use the reset pin of the attiny85 as an analog pin to read the battery voltage, to be used as low level battery indicator.
So there is a lipo battery that will always be connected to this ...
-1
votes
2
answers
56
views
How can I get servos to not brownout my Arduinos and power supply?
I have a problem with a project where one servo is resetting (browning out) two Arduino Pro Minis running 3.3v/8mHz. The two Arduinos are connected by SoftwareSerial on pins 9 and 10 and the slave ...
1
vote
0
answers
18
views
How does arduino pro micro reset via USB? [duplicate]
The pro micro has no hardware reset circuitry that would allow host PC to cause a reset via USB. But when programming using the bootloader, the host PC must have a way to reset the pro micro to allow ...
2
votes
2
answers
147
views
Barebones AVR - Connecting RESET pin to Vcc
I want to build my first barebones AVR circuit.
I plan on NOT having a RESET button. For this reason, is it valid if I connect the ATMEGA's RESET pin to Vcc directly?
What I mean by this, is that in ...
3
votes
2
answers
81
views
Arduino resets or stuck during run, only when DC motors are connected
I'm using an arduino connected to 2 DC motors through L298N. the arduino is powered by a 9V battery, and the L298N is powered by 4 AA batteries. there's also a switch that starts the movement.
I've ...
0
votes
1
answer
192
views
Pro Micro Double Reset help; Not able to get upload done in 8 seconds
I have timed the double reset as best as possible multiple times but the upload doesn't happen before the board leaves bootloader mode.
this is all I'm given as an error which doesn't appear until ...
2
votes
1
answer
332
views
How to declare PB3 reset pin of ATtiny44 in program (using arduino IDE platform)
As follow-up of my former question:
Hi, I want to know how I can access PB3 reset pin of ATtiny44 IC. I ran out of pins so I am using it as I/O pin, but I am unable to declare it in the code.
This ...
0
votes
1
answer
305
views
How to use reset pin as I/O pin with ATtiny44
I am using the Arduino IDE as an ISP programmer to program my ATtiny44 IC. Unfortunately, I ran out of pins, so I want to use the reset pin as I/O. I read several articles online that says it is ...
0
votes
1
answer
112
views
How to reset flow control that prevents me from reading data from ESP8266?
I have a ESP8266 module (like this).
I ran a command AT+UART_DEF=115200,8,1,0,3 as mentioned in documentation of ESP8266 SDK to change the baud rate of my ESP8266 module.
It seems like by running this ...
1
vote
0
answers
129
views
wemos d1 mini keeps resetting while using SIM800L
I am trying to do a small project with SIM800L with Wemos d1 mini. It is a DTMF based project. The problem here is, every time I make a call the d1 mini is getting reset. This is my first project with ...
0
votes
1
answer
276
views
ESP32, NTP and SW reset
After HW reset (button or power reconnect) I get the correct NTP shift, but when I use ESP.restart() via MQTT I get the correct time without 3 3 HRS shift due to Tz. What happens after SW reset that ...
4
votes
1
answer
275
views
How do I escape a boot loop?
Note: This is a reference question (but feel free to write answers of your own!)
I uploaded code that contains a bug that causes my Arduino to immediately reset itself when starting using this code ...
1
vote
2
answers
2k
views
Arduino Reset via Software (every day)
Dear Stack Exchanger's,
I want to reset my Arduino and system in every 24h for preventing frozen software and also other connectivity stuffs.
I wrote a program which connects a digital pin to reset ...
2
votes
1
answer
325
views
How to difference hardware reset and software reset?
I have an arduino code with an SD card where I save some data. When I load a new code, The SD must update with the new data that I put in the code, but if I reset the Arduino by the reset button, I ...
0
votes
2
answers
290
views
Is there a way to make the RESET pin work in the inverse?
Is there a way for me to have this work the opposite way?
I have one cable with an alligator clip hooked up to the reset pin and another hooked up to ground.
When I clip them both together, the board ...
3
votes
0
answers
70
views
ESP8266 requires two resets to wake up from deep sleep [duplicate]
I'm working with the following circuit using a NodeMCU:
I have the solder jumper bridged between RST and BTN. In addition to what's in the schematic, pins 2, 3, and 4 of J1 are connected to the ...
0
votes
2
answers
128
views
Keep Alive for Arduino
Sometimes the arduino locks up for some reason. It would be nice to know why, but the problem is more general. I have found a hardware keep alive that resets the controller if it doesn't respond:
...
0
votes
1
answer
251
views
How to you initialize a reset on a sht30 digital thermometer?
I have a sht30 that will output correct temperature readings for about 5 min and then will drift off.
So I'm trying to hit the reset every few seconds to keep the readings accurate.
I am on a nano ...
0
votes
1
answer
188
views
Accessing funcition in object via `->` is crashing (resetting) Arduino
I have several classes that call each other running on an Arduino Mega. I am using the ArduinoSTL library to get the std library, most notably the std::vector.
The core problem is as follows: my ...
3
votes
2
answers
346
views
Arduino Nano randomly resetting
I am currently struggling with an intermittent problem with an Arduino project.
Background
I am using a LabVIEW program to control a few pieces of hardware. One of them is a NEMA 17 stepper motor that ...
1
vote
1
answer
214
views
Standalone ATmega328P stops responding when RX is connected
I have followed this demo and have set up a standalone ATmega328P being programmed from a Raspberry Pi via the SPI lines. I have also added a 16 MHz crystal with 22 pF capacitors, as well as I have ...
3
votes
1
answer
454
views
ESP8266 always resetting after 65 second of running
I have a simple code where ESP8266 is asking MySQL database about actual state of LED (whether 1 or 0) and when DB has 1 ESP8266 turns LED on... But my problem is after 65-66 seconds of server running ...
1
vote
0
answers
255
views
Use serial communication on Sparkfun SAMD21 mini board
I am working on an economic module to be able to use serial communication with the Sparkfun SAMD21 mini development card. And I have one, the DTR (of my CH340G) do I have to connect it to the reset of ...
1
vote
0
answers
299
views
Trigger ESP8266 reset pin on broken connection
I have an ESP8266 which I wish to place in deep sleep until a reed switch senses a door being opened. The ESP8266 is woken from deep sleep by briefly raising the RESET pin high.
In my original design, ...
5
votes
2
answers
2k
views
Jumping to bootloader from application code in atmega328p
I'm trying to program an Arduino Uno (atmega328p) using only the serial Tx/Rx lines (no DTR, so no automatic reset). This is so I can upload code via WiFi/TCP using an ESP-01.
To achieve this, I need ...
0
votes
1
answer
615
views
Reset HC-05 from within Arduino sketch
I have an HC-05 Bluetooth module attached to an Arduino Mega; the module is paired with a Raspberry Pi and fed data via a python program; there's roughly one send and one receive per second of about ...
1
vote
1
answer
1k
views
Using RST pin as external power switch
I have Arduino Nano with powered over USB. I have the request for external (physical) slide switch acting as power on/off for Arduino even if USB is always connected.
Looking at documentation and ...
2
votes
3
answers
247
views
Arduino Mega keep states after reprogramming
Based on:
https://forum.arduino.cc/index.php?topic=440978.0
And some previous experience with Arduinos. What I would like to accomplish here is that I have a 8 channel relay board with the relays in ...
3
votes
2
answers
3k
views
AsyncWebServer giving wdt reset
I am using 3 Esp32 modules. One being master and other two being nodes.
Nodes are connecting to the master's AP. Master is connected with GSM module to execute the web api.
Master esp is having a ...
-1
votes
1
answer
421
views
ESP8266-01 Resetting when DC motor runs
DC motor: 3-6v
Servo sg90: 3-7.2v
Esp 8266 01: 3.3v
I have 2 Arduino Uno both has their own ac-dc power adapter.
Lets say, 1st Arduino is Ard1 and 2nd is Ard2.
The Ard1 communicates to a web ...
1
vote
1
answer
633
views
ESP8266 reseted due to relay / AC plugged
My Wemos card is reseting for unknown reason. For example, the pump plugged on the relay works fine till 1am and then the pump stop. After a few research I figured out the ESP should reset because all ...
0
votes
2
answers
103
views
Resetting Arduino UNO code (newbie)
So today I started to learn Arduino uno. I have an LM35 temperature sensor and I got what I needed from it. Now it's just keep calculating till I plug it off.
I know there is a reset button. When I ...
1
vote
0
answers
163
views
Infinite loop if Serial.println() is not used
I'm trying to reset my program from software using the third method described here: Reset an Arduino Uno in code
The function is basically showing some data on an OLED display and afterwards should ...
1
vote
0
answers
353
views
Motor keeps spinning crazily after UNO board reset
I'm using a NEMA 17 stepper motor with A4988 motor driver and Arduino Uno board. I have used full microstepping (1/16th, so one revolution = 3200 steps).
I'm coming across this strange problem. ...
0
votes
1
answer
223
views
How can I clear the memory of my Arduino in this case?
I have made a code using involving HID control. But it seems that I messed up, but I can't upload a new sketch(nor edit the wrong code), because my Arduino is constantly doing things like Ctrl+Alt+...
-1
votes
1
answer
1k
views
Why should I connect GND to RST to send data through Rx using USB-TTL?
I've found that when I use Arduino Nano connected with USB everything is working great, and when I tryed to use it with USB to TTL connector I've understood that I can only read data. I tryed to ...
1
vote
1
answer
2k
views
Nano 33 IoT rescue from the dead: No USB. No upload mode
First of all: my board used to work fine.
Now my Nano 33 IoT turns ON (green light) when connected to USB on Mac but:
doesn't enter in upload mode after pressing twice on board button.
doesn't shows ...
0
votes
1
answer
451
views
Deep Sleep Reset with Shock Sensor
I am trying to design a circuit that wakes my ESP8266 (Wemos D1 Mini) from deep sleep using a shock sensor. I can achieve this using the reset pin but I need
it to ignore further requests to reset to ...
0
votes
2
answers
123
views
nodemcu GPIO6 clock
is there a way that i can declare gpio6 (CLK) as an input without getting a wdt reset? I'm somewhat new to circuitry, but my boss wants to use it(GPIO6) to talk with external devices. I have more ...
0
votes
2
answers
250
views
Reset arduino nano after disabling tx/rx
I know, i am a bit dummy sometimes and i don't know why i actually did this but here it is. I have an arduino nano and i want it to use an external power via the the Vin port using a 12V external ...
2
votes
0
answers
1k
views
How to enable auto reset in Arduino Leonardo?
I am trying to program an ATMega32u4 microcontroller through arduino IDE. I have added external oscillator(16Mhz) and capacitors and few other connections according to the Schematic. I had put a ...
1
vote
0
answers
212
views
Unable to upload to Arduino Uno From Raspberry Pi
I am trying to upload code to my Arduino Uno from my Raspberry Pi 3B+ and have been following this guide.
After following the instructions and trying to upload, I received this error message.
pi@...
1
vote
1
answer
2k
views
Firmware backup and restore
I need to have the firmware stored somewhere on the board in order to get back to it after flashing a new firmware.
Is there a way to store a backup of the firmware somewhere, and use a button to ...
0
votes
1
answer
2k
views
Reset Button not working + Can't Upload code , What is wrong?
I was testing and debugging a code I wrote for a robot with 3 stepper motors on (Arduino Uno + CNCShield V3 + a4988 stepper drivers). I want to disable drivers at will. so I bypassed EN pin on 2 of ...
2
votes
2
answers
775
views
ESP12E Soft WDT reset stack trace leads to libraries
Im using ESP12E DevKit v2 (esp8266 wifi module) board for controlling relays and displaying DHT22 temp,humidity on web server.
It runs smoothly when the web client is closed but when i leave the ...
2
votes
0
answers
845
views
Cant get rid of Soft WDT reset using ESP8266
Im using ESP12E DevKit v2 (esp8266 wifi module) board for controlling relays and displaying DHT22 temp,humidity on web server. It runs smoothly but after while i always get a watchdog timer reset. (If ...
1
vote
2
answers
165
views
Store value in EEPROM to perform different actions on reset?
I want the same button to wake up (reset) and put it to sleep but this is hard if the button is tied directly to the rst pin. My thought was to read and store a value in EEPROM so tell the chip what ...
1
vote
2
answers
3k
views
AVR software reset without watchdog
I wrote a generic avr program wrapper which already use the watchdog timer to restart - and after the watchdog reset - recover the the bad situation.
After this recover process i have to restart the ...
0
votes
1
answer
2k
views
Nodemcu 1.0 and boot mode (1,6) after soft reset
I have a problem with a nodemcu 1.0 (lolin) board. Sometime a soft reset is performed from the watchdog and the board freezes in boot mode (1,6) (I have to manually reset the board to restart it).
I ...
1
vote
1
answer
107
views
Arduino Resetting in Automotive Application
I have a complicated problem with my Arduino circuit being reset/crashing, I will try to describe the best I can.
The Setup:
Basically I have a Arduino 328P circuit that is monitoring some ...