Notifications
Clear all

Arduino reset button

15 Posts
6 Users
5 Likes
2,558 Views
(@auto-ai-robotics)
Member
Joined: 5 years ago
Posts: 31
Topic starter  

Will grounding the reset pin for a large amount of time damage a Arduino in any way? 

Thanks


   
Quote
(@pugwash)
Sorcerers' Apprentice
Joined: 5 years ago
Posts: 923
 

Probably not, but I wouldn't advise it!

A long time is relative, if all the reset pin is looking for is a falling signal.


   
ReplyQuote
(@auto-ai-robotics)
Member
Joined: 5 years ago
Posts: 31
Topic starter  

@pugwash

 I was thinking 10-20 minutes for a trip-wire activated project.

Thanks


   
ReplyQuote
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1051
 

Keeping the reset pin grounded for an extended period of time shouldn't "hurt" the Arduino, but of course, it will be non-functional while it's in this condition.

Why not use one of the hardware interrupt pins for the trip-wire instead?

 

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
Pugwash reacted
ReplyQuote
(@pugwash)
Sorcerers' Apprentice
Joined: 5 years ago
Posts: 923
 

@auto-ai-robotics

It doesn't really make a lot of sense holding the reset pin low for twenty minutes.

I think I would trigger the reset pin, then put a timer in the loop(), and if you need it, a software reset of the Arduino when the required amount of time has been reached.


   
ReplyQuote
(@pugwash)
Sorcerers' Apprentice
Joined: 5 years ago
Posts: 923
 

I agree with Bill, interrupts would be even better!

? ? ? 


   
ReplyQuote
(@auto-ai-robotics)
Member
Joined: 5 years ago
Posts: 31
Topic starter  

It's for a prank  so I only want the Arduino to run once when the Reset pin is "de-grounded"

Thanks everybody


   
ReplyQuote
ETinkerer
(@etinkerer)
Member
Joined: 5 years ago
Posts: 44
 

@auto-ai-robotics

OK, you can't ask this and leave us hanging. Whats the prank? And we'll need a video when its sprung. ? 

Pat

The most exciting phrase to hear in science, the one that heralds new discoveries, is not “Eureka!” (I found it!) but “That's funny …”
Author: Isaac Asimov


   
ReplyQuote
(@auto-ai-robotics)
Member
Joined: 5 years ago
Posts: 31
Topic starter  

@etinkerer

Playing the anthem of the USSR when someone enters a room. ? 

Won't be able to do a video though.  ? 


   
ReplyQuote
triform
(@triform)
Member
Joined: 5 years ago
Posts: 324
 

@auto-ai-robotics

Damn you. I'll have that tune in my head all day!


   
ReplyQuote
(@auto-ai-robotics)
Member
Joined: 5 years ago
Posts: 31
Topic starter  

Not my video, but I think it was the same sketch that I am using.


   
ReplyQuote
triform
(@triform)
Member
Joined: 5 years ago
Posts: 324
 

@auto-ai-robotics

One of my favorite anthems. Just the music. 🙂 I had to learn the song for a history assignment back in high school. I forgot the words but remember the turn. Every time I hear a Russian accent, I play it in my mind. A child of the cold war.

 


   
ReplyQuote
(@pugwash)
Sorcerers' Apprentice
Joined: 5 years ago
Posts: 923
 

Well if that is the case, forget resets and interrupts. One HC-SR501 PIR should do the trick, and that should be as irritating as one of those singing fish you could buy about twenty years ago!

Oh, and I forgot!

I've got a wife like that, she is a communist, thinks everything I own is hers as well!


   
ReplyQuote
(@auto-ai-robotics)
Member
Joined: 5 years ago
Posts: 31
Topic starter  

@pugwash

Good point, I didn't think of that.


   
ReplyQuote
Spyder
(@spyder)
Member
Joined: 5 years ago
Posts: 846
 

Sorry. I had to


   
ReplyQuote