# Verified Stripboard Layouts!

**URL:** <https://lookmumnocomputer.discourse.group/t/verified-stripboard-layouts/81>\
**Category:** DIY STUFF\
**Created:** [January 22, 2020, 6:51pm UTC](https://lookmumnocomputer.discourse.group/t/verified-stripboard-layouts/81 "2020-01-22T18:51:43Z")\
**Posts on this page:** 1\
**Showing post:** 749

<div class="post-metadata">

**Author:** ![Jos](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/jos/32/151_2.png) [@Jos](https://lookmumnocomputer.discourse.group/u/Jos)\
**Post date:** [May 29, 2025, 8:31pm UTC](https://lookmumnocomputer.discourse.group/t/verified-stripboard-layouts/81/749 "2025-05-29T20:31:57Z")

</div>

I wanted to add the possibility of a hardware reset so that I can start the Prioritron 3 (described by @Micraster in a known state. So I looked at the pins used and found that I could use pin D4 and the PCINT mechanism for this.

For this to work I added this library to my platformio.ini (VSC project) file

```auto
	neu-rah/PCINT r-site.net@^4.0.8

```

And these few lines to the original code:

```auto
// define a pin for the external reset signal
#define RESET_PIN 4 // D4 = PCINT20

// include the library header file
#include <pcint.h>

// Define a software interrupt service routine.
// This will reset the sequencers to their 1st step
// and initiate the 1st step.
void reset_interrupt_service_routine(void) {
  step = startStep;
  noteDelay.start(tempo);
  if (drumBool) {
    playDrums();
  } else {
    playNote();
  }
  pulseCheck = 1;
  digitalWrite(CLOCK_OUT, HIGH);
  timeSinceLastClock = millis();
}

```

Near the end of the **setup()**-function these 2 lines need to be added:

```auto
pinMode(RESET_PIN, INPUT);
PCattachInterrupt<RESET_PIN>(reset_interrupt_service_routine, RISING);

```

The original code almost completely uses the available storage on the nano, so adding this code and the library made it an even more tight fit. At a rising signal on D4 the device will now reset either its note sequencer or drum sequencer and initiate the 1st step.

As the Prioritron does not have a spare input jack, I connected D4 via a resistor to pin 8 and 16 of a 16-pin flatcable connector (the 2nd resistor is a pull down resistor). In my rack I’ve designated pin 8 and 16 to be used as a ‘bus’ for a general purpose reset signal (see [Reset-O-Matic](https://lookmumnocomputer.discourse.group/t/sculpt-o-sound-presents-reset-o-matic/7860)), so this works nicely for me.

 ![20250515_163317_scaled](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/c/6/c678d834dec3ed01183279056775078ac7081a94.jpeg)

---

_[View the full topic](https://lookmumnocomputer.discourse.group/t/verified-stripboard-layouts/81)._
