When I build spectrometers I often use a pulser to test and preset the volume and shape adjustments. I built one several years ago and it only has one peak and I would have preferred something with multiple peaks. After a lot of messing around with zener diodes, transistors and dividers, the solution ended up being a completely unmodified Arduino with a few lines of code.
Simply connect a BNC cable from the signal input on the GS-USB-PRO to ground and pin 6 on the Arduino.
Note, if you want to connect the pulser to the SHV connector you will need a high voltage 1 nF coupling capacitor inline.
Unlike PMT's the pulser produces a positive pulse and the GS inverts it, so the Threshold needs to be negative.
Code and image below..
Steven
Code: Select all
// Arduino Pulse Generator
// Gammaspectacular.com
// program generates a 1 kHz pulse on pin 6 with increasing duty cycle
#define dwon(port, pin) (port |= _BV(pin))
#define dwoff(port, pin) (port &= ~(_BV(pin)))
int p6 = 6;
int t = 1000;
int i = 0;
void setup() {
pinMode(p6, OUTPUT);
}
void loop() {
while (i <= 50) {
if (i > 45) i = 2;
dwon(PORTD, 6);
delayMicroseconds(i);
dwoff(PORTD, 6);
delayMicroseconds(t);
i = i+5 ;
}
}