[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] 5v pulse required for CHDK on Lisa/M2
From: |
Christophe De Wagter |
Subject: |
Re: [Paparazzi-devel] 5v pulse required for CHDK on Lisa/M2 |
Date: |
Fri, 2 Nov 2012 13:51:18 +0100 |
The opticoupler looks nice. the end stage is exactly the transistor described in previous mail and the optocoupler is very fast for a reasonable amount of current (<=10mA).
DC cam module can do both by define the DC_PUSH and DC_RELEASE to either LED_ON or LED_OFF. (Note that LED_ON is a low voltage since LED's are hanging between the IO pin and the 3.3V.)
But: if you use just the MosFet or direct optocoupler approach you will WANT to keep the default: 0V when triggering -> Transistor Open -> pullup 5V on camera, 3.3V IO -> transistor closed -> 0V on camera
With the optocoupler board from Sparkfun, it has an extra transistor which inverts things again so it must be the opposite. (or use the signal at R3 and R4)
3.3V -> Light in optocoupler -> internal optocoupler-output-transistor closed -> pull down Gate of transistor2 -> transistor2 open -> pullup of output -> high
0V -> no light in optocoupler -> internal optocoupler-output-transistor open -> pull-up of gate of transistor2 -> transistor2 closed -> output is low impedance to ground