ARD-RESET-ARDUINO(1)
π ard-reset-arduino β like, the reset button but make it CLI π
okay bestie so this is ard-reset-arduino, a little section-1 manual page (that's the "user commands" shelf in the library, iykyk) from the Arduino CLI Reset era. it does exactly one job and it does it flawlessly. we're obsessed. π«Ά
β¨ NAME β¨
ard-reset-arduino β reset your Arduino board. that's it. that's the whole name. no notes. π
π¦ SYNOPSIS π¦
ard-reset-arduino [OPTION]... [PORT]
so it's options, then a port. or no options! or no port! the brackets are giving optional, and honestly? slay. β¨
πΈ DESCRIPTION πΈ
so here's the tea, bestie: resetting an Arduino is not one single move. there are two whole ways to do it, and this tool picks one:
- you either pulse the DTR line, or
- you open the USB port at 1200 baud and close it again.
that's it. those are the two vibes. one is a lil electrical boop, the other is the "heyyy π 1200 baud... jk bye π" maneuver. both are valid. both are iconic. π
π OPTIONS π
--verboseβ watch what's going on on STDERR. it's the little narrator for your reset. πβ¨--periodβ specify the DTR pulse width, in seconds. how long do we hold the boop? your call, you're the main character. π--caterinaβ reset a Leonardo, Micro, Robot, LilyPadUSB or any similar 32u4-based device. these cuties run the Caterina bootloader, so they need the special treatment. no cap. π±
π§ EXAMPLES π§
reset a board on a plain old ACM port, no frills, just vibes:
ard-reset-arduino /dev/ttyACM0
now with the play-by-play commentary AND a 0.1 second pulse width, because we're extra:
ard-reset-arduino --verbose --period=0.1 /dev/cu.usb*
and finally the Caterina special, for all you 32u4 girlies:
ard-reset-arduino --verbose --caterina /dev/ttyUSB0
periodt. π
π BUGS π
not a single known bug in this application. literally flawless. zero. none. nada. β
but if something does go weird on you, please report problems to the author. patches are welcome too β we love a collaborator. π«Ά
π AUTHOR π
Simon John, git@the-jedi.co.uk β the icon, the legend, the whole moment. π
π LICENSE π
Copyright (c) 2014, Simon John. All rights reserved.
This file is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
so like, go forth and remix it, but under LGPL rules, and with no promises whatsoever that it'll work. standard software disclaimer behavior, bestie. π
okay that's the whole page!! and just so you know where it came from: this is ard-reset-arduino 1.5.2, dated January 2017, and it lives under the manual name ARD-RESET-ARDUINO(1). mwah. bye bestie, go reset something. π
πβ¨
π¦ where this page comes from
- debian bookworm: arduino-mk 1.5.2-2.1 Β· LGPL-2.1-or-later
- debian trixie: arduino-mk 1.5.2-2.1 Β· LGPL-2.1-or-later
- ubuntu jammy: arduino-mk 1.5.2-2.1 Β· LGPL-2.1-or-later
- ubuntu noble: arduino-mk 1.5.2-2.1 Β· LGPL-2.1-or-later
- ubuntu resolute: arduino-mk 1.5.2-2.1build1 Β· LGPL-2.1-or-later
- ubuntu stonking: arduino-mk 1.5.2-2.1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms