Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Use this tag for discussing resetting the processor.

0
votes
3answers
41 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
24 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
25 views

Arduino stk500_recv():

My Arduino was connected to a stepper motor and it doesn’t connect to any power supply or usb cable ,i turned the motor and my Arduino lights was started to blink , but now i cant upload sketch to my ...
0
votes
0answers
36 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
76 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 ...
0
votes
0answers
28 views

Arduino does not work after Updating the Atmega8U2 and 16U2 on an Uno R3 using DFU!

After updating the Atmega8U2 and 16U2 on an Uno R3 using DFU, keyboard simulation worked fine, despite the fact that, anyway I was not able to directly use "Keyboard.h" library. So, the problem is, ...
2
votes
1answer
147 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
43 views

Arduino not getting reset

I need some help. Is there any way to master reset Arduino? I once uploaded a code few days back, and now (next time) I can not upload a second code.'Arduino Nano' is running that same code which I ...
0
votes
0answers
88 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
160 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
630 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
61 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
1answer
84 views

3.3V Pro Micro clones flashing LEDs after 1200 bps 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 ...
-4
votes
2answers
757 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
67 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
156 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
166 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
80 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
106 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
584 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
311 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
1answer
433 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 ...
7
votes
1answer
130 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 ...
1
vote
0answers
235 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 ...
1
vote
1answer
1k 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 ...
4
votes
1answer
315 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
143 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
394 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
44 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 ...
3
votes
1answer
472 views

What are the causes of Arduino lockup?

We know watchdog timer if enabled RESETs when Arduino is locked up somewhere inside the code. As the title suggests has anyone experienced this unless they put deliberately a while(1) loop inside the ...
1
vote
0answers
124 views

Arduino Due, program not there after power off

When i program my arduino Due after a RESET, my program is still there. However, when i power off my Due and then turn it back on, no program is there! There is no persistence in the program and i ...
5
votes
3answers
1k views

Two function Reset button - long/short press

I am trying to make a circuit using an ATmega328, that has a reset button that behaves like many consumer devices: A short press just restarts the micro-controller A long press (5 seconds?) causes ...
1
vote
1answer
135 views

Run different code on different type of reset in arduino nano

I would like to program the arduino such that if I reset it by disconnecting and then reconnecting the usb.. A particular led glows BUT If I press the manual reset button on my nano... I want a ...
1
vote
4answers
3k views

How do I repurpose Arduino's reset button

Is there a way to repurpose the reset button for the code, like an on-board button? I don't need it to reset, but it would be useful to make it run through a list of RGB LED cycles.
1
vote
1answer
643 views

ard-reset-arduino resetting Leonardo/Micro via USB works on OSX, fails on Ubuntu

I'm trying to program a Leonardo (actually a Micro ATmega32U4) via the command line using USB. Schematically, I'm doing ard-reset-arduino followed by a sleep 1 and an avrdude command. This works ...
0
votes
1answer
897 views

Getting a reset error on a WEMOS D1

As a learning effort, I am trying some sample code on my WEMOS D1, which is basically an Arduino compatible board with a built-in ESP8266 (Wi-Fi module). This is the output of my Serial Monitor: ...
0
votes
0answers
682 views

Arduino TIAN - how reset to factory settings?

I recently bought Arduino TIAN which has some version of Linino on it. There is an initial description on how to proceed on the Arduino.ORG site. I followed it. As a result, I cannot access the ...
3
votes
1answer
606 views

Arduino Pro Mini RESET button suddenly stopped working

I am powering my Pro Mini(3.3V version) using an external battery (~6.5V 700mA) . I used to connect it to the RAW and GND pins on my pro mini and everything ran fine. Today when I powered up my ...
1
vote
1answer
291 views

Float to integer conversion for control program crashes arduino

I have a program which estimates battery capacity, range as well as runs different control loops on an arduino MEGA2560 to control an eBike. I was using floating points which gave me quite a slow ...
1
vote
0answers
81 views

Arduino code not starting at beginning after poweroff

I created a few Arduino-XBee temperature sensor nodes that send data to another XBee node.js server. I'm running into a few issues trying to write a function to initiate a handshake and receive an ...
2
votes
2answers
3k views

How to Factory reset ESP8266? [closed]

I want to use ESP8266 to send emails. I tried twice flashing the Firmware to a particular firmware as suggested in a tutorial. Now both my ESP are unresponsive to AT commands. Let me know the way to ...
2
votes
4answers
1k views

Is there any way I can stop the Arduino Mega 2560 from resetting all variables after losing and reconnecting power?

I am using an Arduino Mega 2560 board. I have tried connecting a 115 Ω resistor from 5V to Reset, and 10 µf capacitor form reset to GND (to disable autoreset), and the variables still seem ...
1
vote
1answer
3k views

WDT & Software RESET in ESP8266 + Arduino IDE

I am working on ESP8266 in Arduino IDE. I want to know how to Software RESET the ESP8266. Any sketch/example would be useful. Moreover, how to initialise WDT in ESP8266. Kindly help!
0
votes
1answer
2k views

How do I reset an ESP8266 with an FTDI and no reset button?

How do I reset an ESP8266 with an FTDI and no reset button? I assume that it has something to do with the reset pin on the ESP8266, but I cannot find a step-by-step usage of the pin online.
1
vote
0answers
171 views

Is my HC-05 broken?

I have an HC-05 wired with an Uno, and am using a sketch to control the HC-05 AT mode and send AT commands, per a variant of this instructable: DIY Arduino Bluetooth Programming Shield The error I ...
0
votes
0answers
457 views

Unable to reset arduino with RESET pin

I am using a custom built arduino UNO for some personal projects. I am using a custom optiboot bootloader given by Nick in this post. This was done to prevent the three LED flashes on digital pin 13. ...
1
vote
0answers
252 views

Arduinino & Max7219

Im using a MAX7219 and 6 (six) seven segment displays I used my own board and two purchased on ebay - no difference in operation. MOSI, and CLK are correct and verified with my scope (Tektronics) CS (...
0
votes
1answer
686 views

Reset as I/O pin

I'm looking to minimise the parts count and the power consumption as much as possible and I was wondering if is it possible to store a variable or execute a method when the 'reset' button is pressed? ...
1
vote
2answers
733 views

Setup J-K Flip-flop for logging on Arduino RESET

There are two events I plan to log; using no switches or requiring manual input of some kind. One of the events is whenever the Arduino Serial Monitor is opened; the other, is when external event ...
3
votes
2answers
1k views

Watchdog approach

I'm developing up a project that is designed to run 24/7 (an energy monitor) logging via wifi. Due to a variety of considerations I've ended up with a design that links an Arduino Nano with an ...