Go Down

Topic: Software Reset Arduino from a webpage (Read 278 times) previous topic - next topic

blastboot

Is it possible to do a software reset to the arduino from a webpage using ethernetshield?? How?

Thanks in advance!

PaulS

Quote
Is it possible to do a software reset to the arduino from a webpage using ethernetshield??

Why do you want to? Rather, why do you think you need to? Many things happen when the Arduino is reset. Some involve software. Some involve hardware. There is no way to make the hardware things happen from software. Some of the software things can be made to happen.

However, 99.9% of the time, a software reset is the wrong answer.

zoomkat

You might be able to install an NPN transistor between the reset pin, a digital pin, and ground, such that setting the digital pin high will cause the arduino to reset.
Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   8)

HugoPT

#3
Jul 07, 2013, 07:40 pm Last Edit: Jul 07, 2013, 08:48 pm by HugoPT Reason: 1
Quote
You might be able to install an NPN transistor between the reset pin, a digital pin, and ground, such that setting the digital pin high will cause the arduino to reset.

This is not recommend by AVR documentation and should be avoided.This is because using this method it's not granted the reset will ocur because it could be much faster than the avr clean all internal registers and RAM to a know state.
From atmel documentation:
Quote
You should not try to:
- Use another pin of the AVR to pull the external RESET line. The pins of the AVR are tristated halfway through the minimum reset time, this releases the RESET line and hence nothing happens.
- Jump to program location 0. Jumping to program location 0 does not clear all the registers and hence you do not have a "clean" reset.
Debian,Mint,Ubuntu
Arduino Mega 2560
Arduino Nano
Arduino Duemilanove
MAC OS Montain Lion
Raspberry PI Model B

Go Up