We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [reset]

Use this tag for discussing resetting the processor.

Filter by
Sorted by
Tagged with
0
votes
0answers
31 views

How to unbrick an ATtiny45?

I'm using an Arduino Uno as ISP Programmer to program a standalone ATTiny45 on a breadboard. Usually it works well, but I just uploaded a code like this: void setup() { pinMode(0, OUTPUT); # pin ...
0
votes
1answer
31 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
1answer
28 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 ...
0
votes
0answers
26 views

Resetting the MEGA 2560 board [duplicate]

I'm a high school student working on a robot arm project that uses an arduino board. I had uploaded my previous program to my board, but I've since changed my code and want to reset the board, but I ...
0
votes
1answer
35 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
1answer
56 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
2answers
39 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
1answer
11 views

Pro Micro Neo Pixel Reset handling

Hi i have implemented an Arduino Sketch following a Make tutorial. The result is the following Code(using Platformio): https://github.com/DonPavlov/ArduinoVolumeKnob/blob/master/src/main.cpp and the ...
0
votes
2answers
42 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 ...
1
vote
0answers
86 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 ...
0
votes
0answers
46 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
1answer
196 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
1answer
55 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 ...
0
votes
2answers
204 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 ...
1
vote
0answers
206 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
2answers
76 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 ...
0
votes
2answers
439 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
1answer
1k 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
1answer
51 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 ...
5
votes
2answers
520 views

Power on reset with arduino uno can never happen. Can this be fixed?

When an Arduino Uno is powered on, the USB chip's DTR output pin may (is, in fact) low for a while. This means that the capacitor C5 is connected from the 328p reset pin to ground. Thus, when power ...
2
votes
1answer
248 views

Triggering a soft reset (Arduino Leonardo)

I want to trigger a soft reset on my Arduino Leonardo, and after some searching settled on using the watchdog timer, as it seemed to be the easiest and cleanest way to do it. However, I don't think ...
0
votes
2answers
857 views

D1 mini does not resume operation as expected after deep sleep

I'm trying to get the D1 mini to return operation after ESP.deepsleep(). The code below compiles and gives the expected output for the first run. Five seconds after the announcement that that the ...
0
votes
1answer
422 views

Arduino Pro Micro bricked?

I have a Pro Micro board at which tried to upload a sketch with sparkfun's Pro Micro 3.3v processor selected. After the upload completed successfully the board did not run again and is not even ...
1
vote
1answer
2k views

ESP8266 - Sending a software Reset Command

I have an ESP8266 running an Arduino code to control a dual relay device ( Up, Down, Off ), both from a physical switch and MQTT commands. After mounting the device in place I have no access in case ...
0
votes
3answers
76 views

Is it possible to insert your own routine into the Reset procedure

I'm working with ATmega328 NANO boards, and I would like to know if it is possible to INSERT my own routine, to be included in the things done during reset, BEFORE any pre-C initialization is done, ...
2
votes
1answer
50 views

Using external reset to trigger radio receipt

I am designing a low-power RF application using an ATTiny (Adafruit Trinket). When the system receives a radio signal, it needs to read some sensors, and transmit with that data. Because I am short ...
0
votes
0answers
69 views

Motor unexpectedly moving at reset

I'm playing with the standard L298N motor board and Arduino MKR 1000. However something strange happens: when I upload a new firmware and when I turn on the Arduino power supply (every time Arduino ...
1
vote
3answers
1k views

Using attachInterrupt() to make a reset button for my code?

I have used attachInterrupt() to reset my program to the beginning. It actually interrupts while running the 3 states as shown below inside of the if statement but when I press the actual button it ...
2
votes
1answer
169 views

Arduino(s) not resetting on Serial connection lost / re-established - why?

it seems that I accidentally found a way to make my two Arduino nano clones run without resetting on serial connection close/reconnect. On one hand, this behavior is much closer to the desired ...
0
votes
0answers
144 views

Loop being restarted before it finishes?

I have a Loop process that does various I/O and delay operations and also logs to the serial port so that we can review the activity. We what I think is the loop being interrupted. Normally the ...
0
votes
2answers
389 views

ATmega 2560 with Arduino bootloader running issue

I have designed a board based on an ATmega2560 chip and I burned the bootloader by following this tutorial. Now I am able to load Blinky and other programs using an FTDI cable. But the issue I am ...
1
vote
1answer
2k views

Arduino Due not executing code after power on

My Arduino Due does not execute its code when powered on after being powered off for ten seconds or longer. I have to press the reset button for the code to execute. I've read some older threads ...
2
votes
1answer
160 views

How to prevent optocoupler to activate when resetting the arduino? [closed]

From various example on how to use optocouplers ( eg 4N25) I gathered that they work in inverted way meaning that for the optocoupler to output a signal, the input LED must be OFF. This is very easy ...
0
votes
2answers
236 views

3.3 V Pro Micro clones flashing LEDs after 1200 bit/s touch

I have several Pro Micro clones. This morning I uploaded a sketch into one of them (that was previously unprogrammed, so it stayed in bootloader mode) and when I wanted to upload the sketch a second ...
-3
votes
2answers
2k views

Reset Arduino Uno R3

I have an Arduino Uno R3 board and I compiled a test code. But now I'm trying to delete it. There are many tutorials with the same way, that is rewrite BLANK CODE. But it's not the genuine way. I want ...
2
votes
1answer
97 views

Why does the Leonardo take 8 seconds to restart?

My problem is, that my system takes 8 seconds to start the programm after I push the Reset button on my Leonardo. During that period the L-LED is pulsating. What could be the problem?
0
votes
1answer
366 views

Reconnect to I2C with a different address (ATTiny85)

My project requires to reconnect to an I2C bus as a slave. I can't reset my ATTiny physically because I2C + my project + a pin to trigger the reset isn't possible due to the limited amount of pins ...
0
votes
1answer
845 views

How to keep a pin LOW for a small amount of time after pushing a button and while device is booting?

Context I keep the board in deepsleep mode and want to wake it with different buttons. I need to know which button has been pushed on boot. The board is immediately put back in deepsleep mode ...
1
vote
1answer
149 views

How to reset an arduino while being able to know which button has been pressed?

Context I keep the board in sleep mode and want to wake it with different buttons. I need to know which button has been pushed on boot. In the following schematic, SW-R is actually used to reset the ...
3
votes
2answers
141 views

Why is there a limitation in using Serial.println on ESP8266?

I'm trying to upload this code on ESP8266, and when I do, it just resets continuously. This also happens when you have memory bugs, but obviously, this code has no memory bugs! Here is the code: #...
1
vote
1answer
1k views

How to keep a 24 hour maximum and minimum temperature

I am keeping a simple weather station to monitor humidity and temperature in my greenhouse. I have a ds18b20 and dht probes. everything works great and I even used a little trick to hold my maximum ...
-1
votes
1answer
396 views

Using Thinger.io Wifi together with HX711 library soft resets ESP8266 (NodeMCU)

I'm trying to get my NodeMCU v1.0 board to read from a load cell connected to a HX711 amplifier and send the data through Wifi to Thinger.io. I managed to make the readings from HX711, works perfectly....
0
votes
2answers
1k views

Pressing reset button restarts program only seconds latter

I am wondering why after pressing the reset button on my Arduino, the latest program loaded runs but only after about 5seconds. The same thing happen when I run my arduino from the computer using the ...
6
votes
1answer
186 views

Why do MEGA2560 digital pins go high on serial disconnect?

I'm trying to set up a system using an that delivers a specific number of digital pulses to a device using one of the digital pins. The number of pulses delivered is specified over a the Mega's USB ...
0
votes
0answers
434 views

Arduino Uno R3 keeps on resetting within void setup() itself

This problem is very recent as I have run the program (standard SHT10 sensor code) successfully many times. But now, all of a sudden, my program keeps repeating void setup() statements and does not ...
2
votes
1answer
3k views

Disable Reset when Com Port Connected/Disconnected

I've noticed that when I open and close the com port my Arduino is connected to, the device resets. This makes the program run the setup profile again and it loses the previous variable states. Is ...
3
votes
1answer
504 views

Is there a Serial write buffer limit and does the Arduino reset if it is hit?

I have an Arduino Mega 2560 that is resetting every 32 seconds if the serial monitor is not attached. Just before it resets, there is a flash of TX, then it goes. If ther serial monitor is attached it ...
1
vote
2answers
234 views

MFRC522 ReadNUID example reboots unless I include a null if statement

I'm fairly new to Arduino (and C), but not to embedded electronics and programming. I'm using an MFRC522 module (the common one) with a Nano, and getting some strange results. They are on a very ...
2
votes
1answer
918 views

Auto Reset during programming Arduino

I know this that when you try to program a pro mini without a DTR pin it will give you a error as the atmega needs to be reset during programming. So I had a doubt why does the microcontroller needs ...
0
votes
2answers
45 views

How do I sense that the serial monitor is started?

When starting the serial monitor in IDE I want to save important data to EEPROM before the Arduino Uno restarts. I do not have physical access to the Arduino so a "press button" solution does not work ...