Is it possible to make the arduino analogue channel read -1v when no voltage is applied ?
I want to build a signal generator but the device i want to trigger needs a zero point crossing so when the volts drop to 0v it is not enough to trigger a pulse
Do i need to use a transistor and wire it to 5v and -5v
Is it possible to make the arduino analogue channel read -1v when no voltage is applied ?
No.
The input will only measure positive voltages.
Do i need to use a transistor and wire it to 5v and -5v
Well an op amp or two would be better because then you can control the offset voltage, but you must always ensure that the voltage you feed into the input is no lower than zero.
If you input trigger is relatively high impedance and it only needs a voltage no more that 1/2 volt below zero it can be done with resistors.
Warning, I've not tried this method but theoretically it should work.
Approach:
Using a 5K to 10k resistor, pull the output pin voltage to -5V ! Wow you say, is this guy crazy! (maybe).
What will happen is the output when off will be limited to a negative 1/2 volt by the internal diodes in the processor. When you energize the output it will go to ~ 5V.
As for the output being PWM and not analog as @WAWA mentioned that needs to be addressed based on what your trigger is really expecting.
Question. If you are trying to "trigger" your signal generator do you really need an analog output? Could you not just use a digital output. The same -5V trick will still work.