I'm trying to use a soundcard to send a trigger signal to an Arduino. However, the software I'm using limits the output of the soundcard to between -1 and 1V, which is insufficient to trigger the digital pin on the Arduino.
Basically, I want to try and amplify this 1V signal to a 3.3-5V signal in the simplest way possible, maybe by using a transistor to route the Arduinos 5V supply to the digital pin.
This is somewhat time sensitive, and the only components I have available at the moment are some NPN transistors (2N2222) and a broad selection of resistors. Can I build a transistor amplifier to get the 5V I need? I'm new to this, so I am also not sure how/where to put resistors in this circuit. Any help would be greatly appreciated!
edit: Just to clarify, I'm using the soundcard to present a sound on one channel, and this trigger signal, in the form of a short pulse, to accurately estimate the onset of the sound from the arduino/for other experimental synchronization purposes