November 08, 2012

Two ways to reset your Arduino in a sketch

 In certain projects you may want to reset the entire Arduino board - for example if an action doesn't occur after a period of time, as a type of watchdog timer, or for some really GOTO-esque coding. Enthusiast Gabriella Levine has documented two methods of doing just this - the first is by using the RESET pin and a digital output pin. Once the RESET pin is driven low by software using digitalWrite on the output pin, the board resets. The second way is purely in the sketch without any extra hardware or circuitry at all. 


Perhaps this may not be useful immediately, but an interesting piece of knowledge to file away for later. Click here to find out more. And for more, we're on twitter and Google+, so follow us for news and product updates as well.

If this type of project interests you and you're new to the Arduino world, check out our new Experimenter's Kit for Arduino:


The package includes a wide variety of parts, sensors and modules including: a servo motor, lights, buttons, switches, sound, sensors, breadboard, wires and more. Furthermore a Freetronics Eleven Arduino-compatible board is included to make this an extensive hobby experimenter, inventor and starter kit. However we don't leave you alone to figure it all out, included is a great project and instruction booklet, plus access to a supporting web page and software examples. In other words - this is everything you need to get started for a fun range of electronics and Arduino related projects! 

So to get started or for more information and to order, check out the product page.




Leave a comment

Comments have to be approved before showing up.