Pages: [1]   Go Down
Author Topic: 1 External Reset Button for 2 Arduino Megas Connected via I2C  (Read 775 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm attempting to make a one external reset button that will reset two Arduino Megas (master/slave setup) that are connected via I2C.

I'm using an illuminated arcade button.





It has three pins: com, normal open, normal closed.

I'm going to connect the com pin to ground and the normal open pin to the reset pin of the Master Arduino.

Will this setup reset both boards or will it only reset the Master board? Do I need to connect the reset pin of the Slave Arduino to the normal open pin on the switch? My goal is to reset BOTH board in the setup when you press the button.
« Last Edit: May 05, 2012, 11:31:12 pm by insultcomicdog » Logged

0
Offline Offline
Faraday Member
**
Karma: 16
Posts: 2855
ruggedcircuits.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You need to connect the normally-open pin of the switch to both Arduinos to reset them both.

--
The Rugged Audio Shield: Line In, Mic In, Headphone Out, microSD socket, potentiometer, play/record WAV files
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 32
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the help RuggedCircuits.
Logged

Wisconsin
Offline Offline
Edison Member
*
Karma: 4
Posts: 1001
I LOVE THIS STUFF!!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

@Rugged Circuits

I checked out the shield.  It seemed like there were alot of components and I understand that audio codecs need them but i couldn't really find one on that board.  Wasnt that chip a microcontroller? 

Is there a chance tat you will be coming out with a new version with that shield soon that has less clutter?
Logged

Accelerate to 88 miles per hour.

0
Offline Offline
Faraday Member
**
Karma: 16
Posts: 2855
ruggedcircuits.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The audio processing is done on the microcontroller, since it has both A/D's and D/A's.

We like clutter on boards...all components should have friends nearby so they don't get lonely.

--
The Rugged Circuits Yellowjacket: 802.11 WiFi module with ATmega328P microcontroller, only 1.6" x 1.2", bootloader
Logged

Offline Offline
Sr. Member
****
Karma: 1
Posts: 322
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would diode isolate the two boards.  Pulling the reset pin to 0.6v should reset the processers.
Logged

Pages: [1]   Go Up
Jump to: